Antara Pasar Anyar dan BNR

4 Comments

Langsung jepret ajah, antara Pasar Anyar dan Bogor Nirwana Residence berakhir dengan hujan di Gang Kelor :p ~ Maret 2010.

Silahkan yang mau komen-komen 😀

Fatal Error Joomla Default Editor

Leave a comment

I just meet a problem in my Joomla-made Website, when I want to install Phocagallery component there was an error

Fatal error: Call to undefined method stdClass::onDisplay() in /[host root folder]/libraries/joomla/html/editor.php on line 261

If we see the error directory, it doen’s come from Phocagallery component but it pure Joomla bug. I’m looking for the solution and I got this one:

1. Go to error directory above, chmod-ing file editor.php to 664 then open the file

2. Go to line 261, you will see

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

Replace the code:

if (method_exists($plugin, ‘onDisplay’)) { $result[] = $plugin->onDisplay($editor); }

3. Save and reupload the file using your FTP client.

4. Done, solved.

Reference: http://forum.joomla.org