Page 1 of 1

can't edit any articles New Installation

Posted: Thu Apr 24, 2008 2:59 am
by jhadow
I'm having the exact same error, but don't understand what you mean about it being related to the "DISCUSSBOT."

This is happening on a fresh install. The only things I added were the mod_gcalendar stuff which are running successfully on another site that is less than 2 weeks old.

I've also tried using my FTP to reinstall the referenced folders from the fresh install to make sure I didn't have any corrupt files. Since this is a fresh install, I'm tempted to wide the root and reinstall; however, I'm worried that the problem will show up again.

Re: can't edit any articles :( -SOLVED

Posted: Tue Apr 29, 2008 9:07 pm
by theboblet2
Any word on how you solved it?

Thanks

Re: can't edit any articles :( -SOLVED

Posted: Tue Apr 29, 2008 10:30 pm
by jhadow
I never did solve this problem directly. I ended up having to delete everything and completely re-FTP and install Joomla again.

Considering that worked, I'm assuming there was either some root level FTP corruption or an install DB creation error.

Re: can't edit any articles :( -SOLVED

Posted: Fri May 02, 2008 8:58 am
by theboblet2
Thanks - I reinstalled and all's well now.

Re: can't edit any articles :libraries/joomla/html/editor.php on

Posted: Wed Jun 11, 2008 6:08 pm
by EFARMSTRONG
There is all over this board post with this issue, Re installing joomla is not a option after you have 99% of the site almost ready to roll out of production.

Fatal error: Call to undefined method stdClass::onDisplay() in /libraries/joomla/html/editor.php on line 263

This issue must have a solution in some sort of form other that re-installing and doing 40 hours of work again!!!

So Anyone with a "real world" solution????/

Re: can't edit any articles New Installation

Posted: Thu Jun 12, 2008 6:02 pm
by humvee
[Mod Note split from original topic http://forum.joomla.org/viewtopic.php?f ... &sk=t&sd=a as error occurring in different situation. Moved from Migration ]

Re: can't edit any articles New Installation

Posted: Tue May 26, 2009 12:52 am
by cjmicro
I disabled doclink, as was shown in another post, and no more problem. Whew,
Cheryl

Re: can't edit any articles New Installation

Posted: Wed Jun 17, 2009 11:27 am
by mufias
me too. disabling doclink solve it but why joomla heros?

Re: can't edit any articles New Installation

Posted: Wed Jul 15, 2009 8:18 am
by Yusuf Anyanzwa
Go to root directory, libraries\joomla\html\editor.php

In line 261 replace

Code:
// Try to authenticate
$result[] = $plugin->onDisplay($editor);


with


Code:
// Try to authenticate
if (method_exists($plugin, 'onDisplay')) {
$result[] = $plugin->onDisplay($editor);
}

Re: can't edit any articles New Installation

Posted: Wed Feb 10, 2010 1:52 am
by kaety
I had exactly the same problem, on a migrated site (new server) it turned out I had the autosave plugin installed. Once I turned off the button for that everything was fine.

Thanks!!

Re: can't edit any articles New Installation

Posted: Tue Mar 09, 2010 1:09 am
by Peniel1127
I also run to this problem, as I copy the database from local to the remote db.

As remove the linkr component but the copy db still has the information.

When reinstall the linkr module the problem disappear.

It seems that require files not exists. Perhaps is uninstall some needed file.

Re: can't edit any articles New Installation

Posted: Wed Aug 25, 2010 4:17 pm
by syhussaini
Hello All,

After a small ride inside Joomla (Any version) I've observed that this error is most probable when you have any system plugins still enabled that are no longer in the installation directory of your Joomla.
This may happen when you clean install and or upgrade (low chance while upgrade) Joomla.

So if you encounter this trouble, first check the plugins that are not in use and disable them and give it a try one more time before getting your hands into the code mode.

I hope this helps a bit.

Re: can't edit any articles New Installation

Posted: Thu Jan 06, 2011 12:50 pm
by cath27
That was the problem. Once I installed the pluggins on the server everything worked fine again!

Re: can't edit any articles New Installation

Posted: Thu Jan 06, 2011 1:15 pm
by syhussaini
Thats good to hear. :D

Re: can't edit any articles New Installation

Posted: Thu Apr 07, 2011 12:47 am
by Unreal04
Here is how to fix that problem
log in to Admin page and go to
Extensions>Plug in Manager
Find the
Editor Button - JAComment ON
and disable it.
problem solved.

Re: can't edit any articles New Installation

Posted: Thu Jun 23, 2011 5:25 pm
by superman007
Unreal04 wrote:Here is how to fix that problem
log in to Admin page and go to
Extensions>Plug in Manager
Find the
Editor Button - JAComment ON
and disable it.
problem solved.

Mate you have saved my website! lol looked so hard for an answer to my problem. Thanks.

Re: can't edit any articles New Installation

Posted: Mon Sep 05, 2011 12:51 am
by manzanofab
Hi has anyone have a different solution I already try the follwoing with no results:
if (method_exists($plugin, 'onDisplay')) {
$result[] = $plugin->onDisplay($editor);
}
(this one works, but if i am oging to insert html or a link the pop up windows open empty
i already try disabling all the pluggins but still doesnt work

Please some help!!!

Re: can't edit any articles New Installation

Posted: Mon Jan 18, 2016 11:16 pm
by wassaj
Found the problem. Just for posterity:

Change line 268 of /libraries/joomla/html/editor.php from:

Code: Select all

$resultTest = $plugin->onDisplay($editor);
To:

Code: Select all

// $resultTest = $plugin->onDisplay($editor);

if (method_exists($plugin, 'onDisplay')) {
     $result[] = $plugin->onDisplay($editor);
     if ($resultTest) $result[] =  $resultTest;
}
else{
     $resultTest = false;
     echo '<h4>Bad Plugin: '.$plugin->name.'</h4>';
}
This will get rid of the error, and also show you what plugin is not properly installed so you can reinstall it (in my case it was "Modules Anywhere").

.