PDA

View Full Version : Fatal Errors



Solar
Wed 24th Jun '09, 6:53pm
Hi,

These past couple of days I keep getting errors like:

Fatal error: Call to undefined function log_admin_action() in
I understand how to fix them, i just need to re-upload the file, but why all of the sudden is it doing this? I keep getting them in different areas. for example, first it was the admin section, now it was just the homepage.

I thought maybe it's because I haven't upgraded to 3.8, but I have another website using phpld on the same hosting account and getting similiar errors.

Time to switch hosting?

Steve Machol
Wed 24th Jun '09, 6:54pm
The only other explanations would be add-ons or your hosting account is compromised.

Solar
Wed 24th Jun '09, 7:07pm
thanks steve...i do have one add-on...its where it tells the members how many unread posts in their welcome box.

also, i don't know if this has anything to do with it, but in my hostgator control panel I went into php quickconfig and turned "magic_quotes_sybase" from off to on, and "register_globals" from on to off. i had to for the phpld..maybe this is the problem?

Steve Machol
Wed 24th Jun '09, 8:39pm
Register_globals shouldn't affect this but why did you make those changes?

To troubleshoot this, first reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server. Also be sure to upload the admincp files to whichever directory you have set in your config.php file. Then run 'Suspect File Versions' in Diagnostics to make sure you have all the original files for your version and that none show 'File does not contain expected contents':

Admin CP -> Maintenance -> Diagnostics -> Suspect File Versions

[Note: In some cases you may also need to remove any of the listed .xml files in the includes/xml directory.]

Next, disable all plugins.

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Then if you still have this problem, create a new style and choose no parent style. This will force it to use the default templates. Finally empty your browser cache, close all browser windows then try again. Make sure you change to the new style and view your forums with it.

Do you have the same problem?