View Full Version : Help!! PHP Fatal Error!
DJDynasty239
02-18-2009, 11:46 PM
[18-Feb-2009 18:56:54] PHP Fatal error: Cannot redeclare ncode_imageresizer_replace() (previously declared in /home/wdgfu603/public_html/forums/global.php(360) : eval()'d code:42) in /home/wdgfu603/public_html/forums/global.php(360) : eval()'d code on line 161
[18-Feb-2009 18:57:29] PHP Fatal error: Cannot redeclare ncode_imageresizer_replace() (previously declared in /home/wdgfu603/public_html/forums/global.php(360) : eval()'d code:42) in /home/wdgfu603/public_html/forums/global.php(360) : eval()'d code on line 161
[18-Feb-2009 18:59:23] PHP Fatal error: Cannot redeclare ncode_imageresizer_replace() (previously declared in /home/wdgfu603/public_html/forums/global.php(360) : eval()'d code:42) in /home/wdgfu603/public_html/forums/global.php(360) : eval()'d code on line 161
This is the error I am getting, I have been working on fixing this for some time right now and I can't seem to find a solution. Can someone give me some assistance?
Lynne
02-18-2009, 11:50 PM
This is a problem with a modification you have - an image resizer. You should post in the modification thread for help. But really, the error is right there - you have defined the function ncode_imageresizer_replace() more than once - perhaps you are using it in two different modifications. You will have to get rid of the function declaration in one of the mods or rename it in one of the mods.
DJDynasty239
02-18-2009, 11:52 PM
I don't know where to uninstall it? I've tried removing the php files from the server..That is pretty much all I can do, because I can't even access my AdminCP
Also when I do a search in global.php it doesn't find anything with imageresizer_replace.php in it :(
Lynne
02-19-2009, 02:06 AM
Try disabling your plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php
define('DISABLE_HOOKS', true);
Then see if you can get into the admin cp to disable the mod. Also, read the uninstall instructions from the modification or go backwards through the install instructions in order to uninstall it.
vbplusme
02-19-2009, 02:13 AM
I don't know where to uninstall it? I've tried removing the php files from the server..That is pretty much all I can do, because I can't even access my AdminCP
Also when I do a search in global.php it doesn't find anything with imageresizer_replace.php in it :(
Take a DEEP BREATH and STOP the Panic Mode AND STOP deleting stuff you don't understand!
Follow the instructions provided so you can get into your admincp to do some CONSTRUCTIVE troubleshooting to see which hack has created the problem.
DJDynasty239
02-19-2009, 11:08 AM
Take a DEEP BREATH and STOP the Panic Mode AND STOP deleting stuff you don't understand!
Follow the instructions provided so you can get into your admincp to do some CONSTRUCTIVE troubleshooting to see which hack has created the problem.
That was mighty helpful...thanks...
If you bothered reading you would see that the instructions provided with the mod aren't doing any good because apparently imageresizer (which again is stated in my first post that you obviously didn't read) has already been declared in the code somewhere and I CANNOT find WHERE it is LOCATED because in GLOBAL.PHP there is NOTHING there. so THANKS for the help PAL.
vbplusme
02-19-2009, 11:35 AM
Wrong instructions! Disable hooks so you can get into your admincp to try to fix the problem or uninstall the hack. HTH, I am not being a jerk believe me I know what you are going through but you have to take it slow and do things in a specific order to get from a to z.
To the contrary, I read it completely.
If you bothered reading you would see that the instructions provided with the mod aren't doing any good because apparently imageresizer (which again is stated in my first post that you obviously didn't read) has already been declared in the code somewhere and I CANNOT find WHERE it is LOCATED because in GLOBAL.PHP there is NOTHING there. so THANKS for the help PAL.
Reply With Quote
If you can not get into admincp, you be scr....ed, so that's the first order of priority.
DJDynasty239
02-19-2009, 10:18 PM
Wrong instructions! Disable hooks so you can get into your admincp to try to fix the problem or uninstall the hack. HTH, I am not being a jerk believe me I know what you are going through but you have to take it slow and do things in a specific order to get from a to z.
To the contrary, I read it completely.
If you can not get into admincp, you be scr....ed, so that's the first order of priority.
Sorry for the outburst, just angry with myself for this happening.
I do not know how to disable hook, I have a very basic knowledge when it comes to coding...I can do graphics like you wouldn't believe though! lol
Edit : I figured it out...worked like a charm...Thanks for the sarcasim in the first post and the help in the second :P
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.