vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Help!! PHP Fatal Error! (https://vborg.vbsupport.ru/showthread.php?t=205852)

DJDynasty239 02-18-2009 11:46 PM

Help!! PHP Fatal Error!
 
[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

PHP Code:

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

Quote:

Originally Posted by DJDynasty239 (Post 1748582)
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

Quote:

Originally Posted by vbplusme (Post 1748662)
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.

Quote:

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

Quote:

Originally Posted by vbplusme (Post 1748913)
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


All times are GMT. The time now is 09:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01021 seconds
  • Memory Usage 1,744KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete