The Joomla! Forum ™



Forum rules


Global Rules
Additional Rules for this forum <------- Please read before posting



Post new topic Reply to topic  [ 180 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: Tue Oct 19, 2010 10:35 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Oct 19, 2010 10:30 am
Posts: 2
Hi yvolk
I really love your plugin and I used to use it pratically everywhere, but today I found out a conflict with this new component I was testing: lyftenbloggie.
If I enable your great plugin that component gives me this error:
Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /web/htdocs/www.xxxxxxxx.com/home/libraries/pear/PEAR.php:773) in /php_5.2.14/lib/php/PEAR.php on line 777

How can I solve it?
Or maybe there's a way to enable the plugin just in certain menu voices?
Thank you :)


Top
 Profile  
 
PostPosted: Tue Oct 19, 2010 11:26 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
bettyb_87 wrote:
Hi yvolk
I really love your plugin and I used to use it pratically everywhere, but today I found out a conflict with this new component I was testing: lyftenbloggie.
If I enable your great plugin that component gives me this error:
Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /web/htdocs/www.xxxxxxxx.com/home/libraries/pear/PEAR.php:773) in /php_5.2.14/lib/php/PEAR.php on line 777

How can I solve it?
Or maybe there's a way to enable the plugin just in certain menu voices?
Thank you :)

Hi bettyb_87,
we faced the same problem earlier and it looks like that "new component" needs to be fixed, see the message and above it: http://forum.joomla.org/viewtopic.php?f=46&t=225198&p=1697957&hilit=Pear#p1697957

If you're not a Developer, my advice is to forward this message to the developer of that "new component" ;)

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Tue Oct 19, 2010 3:07 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Oct 19, 2010 10:30 am
Posts: 2
You won't believe I've done it by myself :eek:
thanks a lot for the help! :D


Top
 Profile  
 
PostPosted: Tue Nov 16, 2010 1:15 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Nov 18, 2009 11:56 am
Posts: 4
Hello,

i installed the plugin and have - as well - the virtuemart problem.

Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /homepages/30/d297025695/htdocs/ceramista/libraries/pear/PEAR.php:773) in /homepages/30/d297025695/htdocs/ceramista/administrator/components/com_virtuemart/PEAR.php on line 714

sorry for my question maybe you mentioned it before but i cant found it anywhere. Do you have a solution for the virtuemart problem which i could implement that let virtuemart AND yvBBCodes works?

thanks a lot for you help!!

greets from Spain
univer


Top
 Profile  
 
PostPosted: Tue Nov 16, 2010 2:07 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
@univer - See my message and the link three messages above for the way to fix this :)
I don't have more detailed instructions about fixing the bug in virtuemart.

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Tue Nov 16, 2010 2:51 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Nov 18, 2009 11:56 am
Posts: 4
hello yvolk,

thanks for you quick answer!!
i followed the link that you mention (i knew it before :-)) but cant see any solution for the virtuemart problem only for another component. i tried to find out the libraries within virtuemart but im not able to find it, as well nothing similar that could help me replace as you wrote in you suggestion.
i looked in the PEAR.php of virtuemart, on the line the error i get on joomla.
sorry for my -maybe- stupid question but i do not want to creat an error in VM.

where have i search to fix the problem - i mean which folder or file?
and do i have to replace in the same way you suggest on the link?

thanks again and sorry for my lack of knowledge ;-)

sunny greetings to moscow
univer


Top
 Profile  
 
PostPosted: Wed Nov 17, 2010 1:34 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jul 04, 2010 12:01 pm
Posts: 10
Hi,
I need to make the menu items in my main navigation menu two tier from one menu item due to the menu being bilingual english/welsh. So I need the english on top and the welsh underneath.

I modified the code in your module in the following file:

www/plugins/system/yvbbcode/BBCodeParser/Filter/Basic.php

I added this at the end

var $_definedTags = array( 'b' => array( 'htmlopen' => 'strong',
'htmlclose' => 'strong',
'allowed' => 'all',
'attributes'=> array()),
'i' => array( 'htmlopen' => 'em',
'htmlclose' => 'em',
'allowed' => 'all',
'attributes'=> array()),
'u' => array( 'htmlopen' => 'span style="text-decoration:underline;"',
'htmlclose' => 'span',
'allowed' => 'all',
'attributes'=> array()),
's' => array( 'htmlopen' => 'del',
'htmlclose' => 'del',
'allowed' => 'all',
'attributes'=> array()),
'sub' => array( 'htmlopen' => 'sub',
'htmlclose' => 'sub',
'allowed' => 'all',
'attributes'=> array()),
'sup' => array( 'htmlopen' => 'sup',
'htmlclose' => 'sup',
'allowed' => 'all',
'attributes'=> array()),

/***************Added code*********************/
'br' =>array('htmlopen' => 'br',
'htmlclose' => '',
'allowed' => 'all',
'attributes'=> array())
/***************Added code*********************/

);

It is working in the Joomla administrator backend. When I go into menu manager the menu item is two tiered, but it is not two tiered on the webpage.

Here is a link to the webpage

http://www.cardiffhigh.cardiff.sch.uk/

Hope you can help, I've got a feeling it could be something to do with the settings, but I'm not sure.

Thanks!


Top
 Profile  
 
PostPosted: Tue Nov 23, 2010 12:52 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Wed Nov 18, 2009 11:56 am
Posts: 4
ok, i think i got it (at least for the moment ;-))

Resume:
as mentioned above i needed to install the yvBBCode ´cause of my need to have a 2-line horizontal menue due to the word-lenght of the itemes i have. it worked!

but the virtuemart categories menue didn´t.

the only thing i did i followed the instructions in the VM forum -> here https://forum.virtuemart.net/index.php?PHPSESSID=c69381adcdb6607ee362c413d6022fd9&topic=41867.msg165915#msg165915

i deleted the whole content of the PEAR.php file, saved it empty and uploaded it again to the root.
you can find the PEAR.php in your instalation root under
administrator/components/com_virtuemart/PEAR.php.

for me it works (hopefully this is the solution). maybe for you it does work as well...give it a try

greets!


Top
 Profile  
 
PostPosted: Wed Dec 01, 2010 3:34 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
Hi fu1982!
I think this effect of square brackets dissapearance from the front-end menu is some Joomla! security feature. I mean maybe some Joomla! code "clears" ("escapes") menu item's text before putting to the HTML page.
Please see this thread that I this is related to your post: Link authors to CB Profile - Not working since upgrade

fu1982 wrote:
Hi,
I need to make the menu items in my main navigation menu two tier from one menu item due to the menu being bilingual english/welsh. So I need the english on top and the welsh underneath.

I modified the code in your module in the following file:

www/plugins/system/yvbbcode/BBCodeParser/Filter/Basic.php

I added this at the end

var $_definedTags = array( 'b' => array( 'htmlopen' => 'strong',
'htmlclose' => 'strong',
'allowed' => 'all',
'attributes'=> array()),
'i' => array( 'htmlopen' => 'em',
'htmlclose' => 'em',
'allowed' => 'all',
'attributes'=> array()),
'u' => array( 'htmlopen' => 'span style="text-decoration:underline;"',
'htmlclose' => 'span',
'allowed' => 'all',
'attributes'=> array()),
's' => array( 'htmlopen' => 'del',
'htmlclose' => 'del',
'allowed' => 'all',
'attributes'=> array()),
'sub' => array( 'htmlopen' => 'sub',
'htmlclose' => 'sub',
'allowed' => 'all',
'attributes'=> array()),
'sup' => array( 'htmlopen' => 'sup',
'htmlclose' => 'sup',
'allowed' => 'all',
'attributes'=> array()),

/***************Added code*********************/
'br' =>array('htmlopen' => 'br',
'htmlclose' => '',
'allowed' => 'all',
'attributes'=> array())
/***************Added code*********************/

);

It is working in the Joomla administrator backend. When I go into menu manager the menu item is two tiered, but it is not two tiered on the webpage.

Here is a link to the webpage

http://www.cardiffhigh.cardiff.sch.uk/

Hope you can help, I've got a feeling it could be something to do with the settings, but I'm not sure.

Thanks!

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Wed Dec 01, 2010 4:27 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jul 04, 2010 12:01 pm
Posts: 10
Hi Yvolk,
I done some more testing on my website.

The plugin works with my modules, but not in the menus!

If you take a look at my website:

http://www.cardiffhigh.cardiff.sch.uk/dpws/chs/

You can see that the titles of the Latest News and Announcements break to a new line, but still with the Menu Items, it doesn't render the tags!

So I took a look at the html code it was rendering.

This is from the module, which is fine:

<div class="moduletableannouncements">
<h3>Announcements <br />Cyhoeddiadau</h3>


But the menu HTML renders like this (I'll only paste a part of it):

<div class="moduletablemain_nav">
<ul id="mainlevelmain_nav"><li class="mainlevel_currentmain_nav"><a href="/dpws/chs/index.php?option=com_content&amp;view=frontpage&amp;Itemid=1" class="mainlevel_currentmain_nav" id="active_menumain_nav" accesskey="br">Home brHafan</a><ul ><li class="sublevelmain_nav"><a href="/dpws/chs/index.php?option=com_content&amp;view=frontpage&amp;Itemid=522" class="sublevelmain_nav">Parents /Rhieni</a></li></ul>


If you look at the Home /Hafan text, it doesnt include the br tag, but there is something attached to it called accesskey="br".

Im not sure if this is just a coincidence or it has something to do with my problem.

What do you think?

Many Thanks!!


Top
 Profile  
 
PostPosted: Wed Dec 01, 2010 6:15 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
I think you have to figure out which code does this replacement. Try to test on clean Joomla...

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Thu Dec 02, 2010 1:36 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jul 04, 2010 12:01 pm
Posts: 10
PROBLEM SOLVED!!!!!

After further testing of the problem I was having I found that the bbcode wouldn't work in my sites main menu, but would work everywhere else. This is the module mod_exmenu-j15 which is an extended menu module.

I had a look in the settings and there is a setting for Parse Access Key, so from what I found out earlier it had something to do with that, so I changed the setting from Strip Markup (duh!) to None, and now it works fine.

So I'm now going to spend the night doing what I have been wanting to do for weeks, result!!!

Thanks for your help!


Top
 Profile  
 
PostPosted: Fri Dec 10, 2010 8:02 am 
Joomla! Fledgling
Joomla! Fledgling

Joined: Thu Jul 22, 2010 6:32 am
Posts: 4
Location: South Africa
Hi Shiva111, did you manage to resolve this.
I have the same problem and have contacted Azrul who inform me that it is the BBCode plugin which causes the problem. I am using Joomla Bamboo's version but it's pretty much the same.
Really need a fix for this.

shiva111 wrote:
so are you sure its safe to use? One more thing i had to report, after enabling this plugin Jom comment stops working, as it does not shows any error but when trying to add any comment it does not do so. but when i disable yvbbcode it starts working again. May be you can help me to fix this. Otherwise you made a brilliant thing to use bbcodes on joomla. thanks a lot for making such wonderful plugin.

yvolk wrote:
Hi shiva111,
as I understand your report, someone made the request to the "/plugins/system/yvbbcode/default.css" file on your server with parameters that where detected (by some 'ModSecurity' process...) to be an attack.
And that's all :)

This may mean that someone wants to hack your site,
but this doesn't mean that there is any vulnerability (hole) in your site (in yvBBCode extension or anywhere else...)

shiva111 wrote:
Dear developer pls help me, i don't have any problem in uses, but last night there is an atempt of sql injection on my site using this plugin, here are the details, pls upgrade or do some thing to make it secure:
"(?:\\b(?:(?:n(?:et(?:\\b\\W+?\\blocalgroup|\\.exe)|(?:map|c)\\.exe)|t(?:racer(?:oute|t)|elnet\\.exe|clsh8?|ftp)|(?:w(?:guest|sh)|rcmd|ftp)\\.exe|echo\\b\\W*?\\by+)\\b|c(?:md(?:(?:32)?\\.exe\\b|\\b\\W*?\\/c)|d(?:\\b\\W*?[\\\\/]|\\W*?\\.\\.)|hmod.{0,40}?\\+.{0,3}x))|[\\;\\|\\`]\\W*?
..." at REQUEST_HEADERS:User-Agent. [file
"/usr/local/apache/conf/modsec2.user.conf"] [line "146"] [id "959006"]
[msg "System Command Injection"] [data "; id"] [severity "CRITICAL"] [tag
"WEB_ATTACK/COMMAND_INJECTION"] [hostname "latestdown.com"] [uri
"/plugins/system/yvbbcode/default.css"] [unique_id
"SsSc366OS6oAAGs0e0gAAAAB"]
> [Thu Oct 01 17:43:19 2009] [error] [client 125.161.54.173] ModSecurity:
Access denied with code 501 (phase 2). Pattern match

_________________
Simon Tayler
http://www.hykano.com


Top
 Profile  
 
PostPosted: Sat Feb 12, 2011 4:01 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
Hi,
yvBBCode for Joomla! 1.6 released (v.2.00.001).
1.Modified by Bart Jochems (info@batjo.nl) and yvolk to run on Joomla! 1.6
2.Parameters that mention 'SectionIDs of Articles' were renamed to 'CategoryIDs...' because there are no 'Sections' in Joomla! 1.6
3. Source code is published in the JoomlaCode SVN Repository.

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Sat Feb 12, 2011 5:28 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 12, 2011 5:25 pm
Posts: 5
Hi,

great tool, I was wating for it, thanks!

But why do I have a "1" on top of every article?

Thanks,
Christof


Top
 Profile  
 
PostPosted: Sat Feb 12, 2011 7:10 pm 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
bengel66 wrote:
...But why do I have a "1" on top of every article?

Hi Christof, do these "1" disappear if the plugin is being disabled?
I don't see anything unusial at my test site :-)

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Sat Feb 12, 2011 9:27 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 12, 2011 5:25 pm
Posts: 5
Yes, it disappears by deactivating the plugin. Seems like some debug-code?
see here, plugin activated: http://rtv-leichtathletik.de


Top
 Profile  
 
PostPosted: Sat Feb 12, 2011 9:36 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 12, 2011 5:25 pm
Posts: 5
It does not appear clicking an article on the frontpage, but all articles reached from a menu have this "1"


Top
 Profile  
 
PostPosted: Sun Feb 13, 2011 8:43 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
bengel66 wrote:
Yes, it disappears by deactivating the plugin. Seems like some debug-code?
see here, plugin activated: http://rtv-leichtathletik.de

I don't remember such non-descriptive debug message :) .
Please try to compare HTML markup (not visual representation!) of the same HTML page^
1. with yvBBCode on and off
2. turn yvBBCode on but set "Enable BBCode replacements for the whole page (even here)" to No
and "Enable BBCodes for the text of Articles" to On ...

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Sun Feb 13, 2011 9:14 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 12, 2011 5:25 pm
Posts: 5
to point 2. - no effect as I can see

to point 1 - switching the 1 in code on and off...

I don't use any yvBBCode in the articles, only the breaks in the menu on left side


Top
 Profile  
 
PostPosted: Sun Feb 13, 2011 9:44 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
bengel66 wrote:
to point 2. - no effect as I can see

to point 1 - switching the 1 in code on and off...

I don't use any yvBBCode in the articles, only the breaks in the menu on left side

So it looks like the "1"s appear from the fact that yvBBCode plugin's code is being initialized.
So the problem lies somewhere in the 'plugins\system\yvbbcode\yvbbcode.php' file.
I can not reproduce the problem, so it's up to you to debug this.

TIP: the "onContentAfterTitle" function is being called by Joomla! core for each article. (That function has local "$debug" variable for it's debugging...)

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Sun Feb 13, 2011 10:09 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Feb 12, 2011 5:25 pm
Posts: 5
Ok, I return a false in that function, and it works for me... ;)

Thanks,
Christof


Top
 Profile  
 
PostPosted: Thu Feb 17, 2011 6:36 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Nov 03, 2009 11:04 am
Posts: 14
Hi there,

I've installed the yvBBcode to use this fine tool in combination with my Ajax Shoutbox. But the tags always appear after the word I wish to display with e.g. bold letters. I double click the word and then click on e.g. the Bold-button. What I get is this:

"Text [b][/b] "

This is what shows in my typing box and when I click on "Send", the text appears in the shoutbox but not in bold letters. It's the same problem with all the buttons.

I've tried varying the settings for yvBBcode but nothing helps, not even the default settings. Do you have any idea what I can do to get yvBBcode working properly?

PS: I've searched for the answer in the forum but it seems to escape me.

J. ;)


Top
 Profile  
 
PostPosted: Sun Feb 20, 2011 12:44 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Jul 30, 2009 9:26 am
Posts: 8
Location: Noiseau
Hi !

I have installed the language pack but why don't activate it ? :eek:

Tks for your job ;)


Top
 Profile  
 
PostPosted: Fri Feb 25, 2011 8:30 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
forfattervaerk wrote:
Hi there,

I've installed the yvBBcode to use this fine tool in combination with my Ajax Shoutbox. But the tags always appear after the word I wish to display with e.g. bold letters. I double click the word and then click on e.g. the Bold-button. What I get is this:

"Text "

This is what shows in my typing box and when I click on "Send", the text appears in the shoutbox but not in bold letters. It's the same problem with all the buttons.

I've tried varying the settings for yvBBcode but nothing helps, not even the default settings. Do you have any idea what I can do to get yvBBcode working properly?

PS: I've searched for the answer in the forum but it seems to escape me.

J. ;)

Hi forfattervaerk,
Javascript that inserts BBCodes into the text field is _very_ simple. It doesn't take "selection" into account:
Code:
function yvBBCodeReplaceText(ControlID, tag) {
  ControlID.value = ControlID.value + ' [' + tag + '][/' + tag + ']';
}

Maybe you can try to improve it?!

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Fri Feb 25, 2011 8:33 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
lordbdp wrote:
Hi !

I have installed the language pack but why don't activate it ? :eek:

Tks for your job ;)

Because the only purpose of this "language pack plugin" is to upload Language files to your Joomla! site. Everything else is done by Joomla! / yvBBCode themselves...

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
PostPosted: Sat Feb 26, 2011 10:14 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Tue Nov 03, 2009 11:04 am
Posts: 14
yvolk wrote:
Hi forfattervaerk,
Javascript that inserts BBCodes into the text field is _very_ simple. It doesn't take "selection" into account:
Code:
function yvBBCodeReplaceText(ControlID, tag) {
  ControlID.value = ControlID.value + ' [' + tag + '][/' + tag + ']';
}

Maybe you can try to improve it?!


I would if I could but unfortunately I don't have these skills ;)

But thanks anyway for this piece of code. Maybe someone else knows what to do :)

J.


Top
 Profile  
 
PostPosted: Tue Mar 15, 2011 2:43 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Aug 23, 2005 12:07 pm
Posts: 115
yvolk wrote:
forfattervaerk wrote:
Hi there,

I've installed the yvBBcode to use this fine tool in combination with my Ajax Shoutbox. But the tags always appear after the word I wish to display with e.g. bold letters. I double click the word and then click on e.g. the Bold-button. What I get is this:

"Text "

This is what shows in my typing box and when I click on "Send", the text appears in the shoutbox but not in bold letters. It's the same problem with all the buttons.

I've tried varying the settings for yvBBcode but nothing helps, not even the default settings. Do you have any idea what I can do to get yvBBcode working properly?

PS: I've searched for the answer in the forum but it seems to escape me.

J. ;)

Hi forfattervaerk,
Javascript that inserts BBCodes into the text field is _very_ simple. It doesn't take "selection" into account:
Code:
function yvBBCodeReplaceText(ControlID, tag) {
  ControlID.value = ControlID.value + ' [' + tag + '][/' + tag + ']';
}

Maybe you can try to improve it?!


I think this code does what you want. It works for Joomla 1.6. Not sure for Joomla 1.5 as I only tested on Mootool 1.3

Code:
function yvBBCodeReplaceText(ControlID, tag) {
   sel = ControlID.getSelectedText();
   pos = ControlID.getSelectionEnd();
   ControlID.insertAroundCursor({before: '['+tag+']', after: '[/'+tag+']'});
   if(sel != '') {
      ControlID.setCaretPosition(pos + tag.length*2+5);
   }
}


Top
 Profile  
 
PostPosted: Tue Mar 15, 2011 4:36 pm 
I've been banned!

Joined: Tue Mar 15, 2011 4:29 pm
Posts: 1
bettyb_87 wrote:
Hi yvolk
I really love your plugin and I used to use it pratically everywhere, but today I found out a conflict with this new component I was testing: lyftenbloggie.
If I enable your great plugin that component gives me this error:
Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /web/htdocs/www.xxxxxxxx.com/home/libraries/pear/PEAR.php:773) in /php_5.2.14/lib/php/PEAR.php on line 777

How can I solve it?
Or maybe there's a way to enable the plugin just in certain menu voices?
Thank you :)

The same problem...

_________________
Все о проектировании ресторанов


Top
 Profile  
 
PostPosted: Wed Mar 16, 2011 7:33 am 
User avatar
Joomla! Guru
Joomla! Guru

Joined: Thu Jun 01, 2006 1:52 pm
Posts: 974
Location: Moscow, Russia
projekt wrote:
bettyb_87 wrote:
Hi yvolk
I really love your plugin and I used to use it pratically everywhere, but today I found out a conflict with this new component I was testing: lyftenbloggie.
If I enable your great plugin that component gives me this error:
Fatal error: Cannot redeclare _pear_call_destructors() (previously declared in /web/htdocs/www.xxxxxxxx.com/home/libraries/pear/PEAR.php:773) in /php_5.2.14/lib/php/PEAR.php on line 777

How can I solve it?
Or maybe there's a way to enable the plugin just in certain menu voices?
Thank you :)

The same problem...

Hi, the simplest way to resolve the conflict with "redeclaration" is to get rid of one declaration :)
Please try to comment out (delete) the line (around line 19) in the 'plugins/system/yvbbcode.php' file:
Code:
jimport('pear.PEAR');

BTW, since v.2.0 yvBBCode (for Joomla! 1.6+) doesn't depend on PEAR package any more, thanks to Bart Jochems (info@batjo.nl). So we will not have THIS conflict in the future.

_________________
Text of all my messages is available under the terms of the GNU Free Documentation License: http://www.gnu.org/copyleft/fdl.html


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 180 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next



Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group