Fatal error: Call to undefined method stdClass::onDisplay()

Discussion regarding Joomla! 1.5 security issues.
Joomla! Vulnerable Extensions: http://feeds.joomla.org/JoomlaSecurityV ... Extensions

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
Mox52
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue Mar 11, 2008 2:51 am
Location: Ribeirão Preto, SP, Brazil
Contact:

Fatal error: Call to undefined method stdClass::onDisplay()

Post by Mox52 » Tue Sep 15, 2009 11:25 pm

Every time when need to load the editor:

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

Link to the project: http://dfm.ffclrp.usp.br/ldc

Help?

Ps: The server that we use is from university... We just got a iframe infection and now is working again... Maybe is better begin from the beginning, backup the db, reinstall joomla, reinstall coms, mods and plugins... Right?

Thx

User avatar
davetanguay
Joomla! Hero
Joomla! Hero
Posts: 2511
Joined: Fri Sep 22, 2006 6:21 pm
Location: Orlando, FL
Contact:

Re: Fatal error: Call to undefined method stdClass::onDisplay()

Post by davetanguay » Wed Sep 16, 2009 3:55 am

What version of Joomla are you running?

As long as the install is clean you should upgrade the site to the most stable version immediately so it doesn't get hacked again. Also upgrade any old third party Joomla extensions that the site may be using.

Backup the site before you do anything.
CPanel Web Hosting Services http://interactiveonline.com/shared-web-hosting
Follow us on Twitter @interactiveo

Mox52
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue Mar 11, 2008 2:51 am
Location: Ribeirão Preto, SP, Brazil
Contact:

Re: Fatal error: Call to undefined method stdClass::onDisplay()

Post by Mox52 » Wed Sep 16, 2009 1:45 pm

Thats the problem, Im using 1.5.14...

The server admin said:

2 things could cause the problems:
/template/ja_purity/index.php and
/mods/analytics_tracking

This template im using for a year. Since 1.5.11 or 1.5.12..
The mod i never really use...

Backup in hands.. Database is ok!

Maybe in the iframe desinfection they erased something wrong...

User avatar
davetanguay
Joomla! Hero
Joomla! Hero
Posts: 2511
Joined: Fri Sep 22, 2006 6:21 pm
Location: Orlando, FL
Contact:

Re: Fatal error: Call to undefined method stdClass::onDisplay()

Post by davetanguay » Wed Sep 16, 2009 5:23 pm

Was the site infected with the iframe injection before the upgrade? You cannot just upgrade an infected site.

If the infection occurred after you upgraded to 1.5.14 then you probably have an old third party Joomla extension that was hacked and needs to be removed or upgraded.

If the site is infected, restore from backup and then perform the upgrades.

Also make sure all files are set to 644 permissions and folder to 755 (if you are running suphp).
CPanel Web Hosting Services http://interactiveonline.com/shared-web-hosting
Follow us on Twitter @interactiveo

Mox52
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Tue Mar 11, 2008 2:51 am
Location: Ribeirão Preto, SP, Brazil
Contact:

Re: Fatal error: Call to undefined method stdClass::onDisplay()

Post by Mox52 » Wed Sep 16, 2009 5:30 pm

Thats under control (permissions)...

The site/server was already infected, 2 or 3 times... All the codes are removed each infection...

The way is restart... Working on... Downloading updated extensions...

Thx anyway Dave!

tongtian
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Tue Jan 05, 2010 3:38 am

Re: Fatal error: Call to undefined method stdClass::onDisplay()

Post by tongtian » Tue Jan 05, 2010 4:29 am

I also got this problem after I un-totally successful installing 'Jcomment' component. I solve this by uninstalling component 'JComment'. After I changed some folder permission (this is the reason caused unsuccessfully installing), 'Jcomment' was successfully installed and works. Then all is OK.


Locked

Return to “Security in Joomla! 1.5”