Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 02-18-2009, 11:46 PM
DJDynasty239 DJDynasty239 is offline
 
Join Date: Jul 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 02-18-2009, 11:50 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 02-18-2009, 11:52 PM
DJDynasty239 DJDynasty239 is offline
 
Join Date: Jul 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 02-19-2009, 02:06 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #5  
Old 02-19-2009, 02:13 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DJDynasty239 View Post
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.
Reply With Quote
  #6  
Old 02-19-2009, 11:08 AM
DJDynasty239 DJDynasty239 is offline
 
Join Date: Jul 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbplusme View Post
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.
Reply With Quote
  #7  
Old 02-19-2009, 11:35 AM
vbplusme vbplusme is offline
 
Join Date: Sep 2008
Location: CyberSpace
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 02-19-2009, 10:18 PM
DJDynasty239 DJDynasty239 is offline
 
Join Date: Jul 2008
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by vbplusme View Post
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:55 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03967 seconds
  • Memory Usage 2,228KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete