Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-04-2009, 04:39 PM
uprentiss uprentiss is offline
 
Join Date: Mar 2009
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default multiple errors with init.php and functions.php

last night, i upgraded the vb ad management system from 4.02 to 5.02

shortly after, i was getting this message when i tried to access my site

Fatal error: Call to a member function on a non-object in /homepages/42/d253160043/htdocs/forums/includes/functions.php(5721) : eval()'d code on line 15

this morning i was getting 2 different errors which i did not save, but something was strange as the ftp password appeared to have been changed and i was missing multiple files from my includes folder

i replaced the includes folder and edited the config.php file appropriately, and now i am getting these errors

Warning: Unknown([path]/kbank/init.php): failed to open stream: No such file or directory in [path]/includes/init.php(298) : eval()'d code on line 96

Warning: (null)() [function.include]: Failed opening '[path]/kbank/init.php' for inclusion (include_path='.:/usr/lib/php') in [path]/includes/init.php(298) : eval()'d code on line 96

Warning: Unknown([path]/kbank/hook_fetch_userinfo_query.php): failed to open stream: No such file or directory in [path]/includes/functions.php(1365) : eval()'d code on line 8

Warning: (null)() [function.include]: Failed opening '[path]/kbank/hook_fetch_userinfo_query.php' for inclusion (include_path='.:/usr/lib/php') in [path]/includes/functions.php(1365) : eval()'d code on line 8

Warning: Unknown([path]/kbank/hook_fetch_musername.php): failed to open stream: No such file or directory in [path]/includes/functions.php(1139) : eval()'d code on line 2

Warning: (null)() [function.include]: Failed opening '[path]/kbank/hook_fetch_musername.php' for inclusion (include_path='.:/usr/lib/php') in [path]/includes/functions.php(1139) : eval()'d code on line 2

Warning: Unknown([path]/kbank/hook_fetch_userinfo.php): failed to open stream: No such file or directory in [path]/includes/functions.php(1443) : eval()'d code on line 2

Warning: (null)() [function.include]: Failed opening '[path]/kbank/hook_fetch_userinfo.php' for inclusion (include_path='.:/usr/lib/php') in [path]/includes/functions.php(1443) : eval()'d code on line 2

Unable to add cookies, header already sent.
File: /homepages/42/d253160043/htdocs/forums/includes/class_core.php
Line: 3254


any help would be appreciated
Reply With Quote
  #2  
Old 09-04-2009, 05:36 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try disabling your modifications/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); 
Reply With Quote
  #3  
Old 09-04-2009, 05:41 PM
uprentiss uprentiss is offline
 
Join Date: Mar 2009
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmm okay now i can access the forum

what do i do now?

thanks a lot btw

--------------- Added [DATE]1252090241[/DATE] at [TIME]1252090241[/TIME] ---------------

my forum seems to have reverted back to April

i backed up my database last night to a .sql file
Reply With Quote
  #4  
Old 09-04-2009, 06:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How does a site just revert back to April? That doesn't just happen. Have you asked your host if they did something?
Reply With Quote
  #5  
Old 09-04-2009, 06:12 PM
uprentiss uprentiss is offline
 
Join Date: Mar 2009
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no, ill do that

and even the templates i used arent there, just the ones from april

can the .sql backup i downloaded fix this problem?

--------------- Added [DATE]1252093550[/DATE] at [TIME]1252093550[/TIME] ---------------

im on the phone right now, they put me on hold to check if any changes were made on their end

uhhh im about to ask em how to upload a .sql backup through phpmyadmin

will that do any further damage?
Reply With Quote
  #6  
Old 09-04-2009, 06:54 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, if you didn't do your backup correctly and then you upload it to the exact same database, then you could have problems. You should probably create a new database to put it in and then switch the info in your config.php file.
Reply With Quote
  #7  
Old 09-04-2009, 07:34 PM
uprentiss uprentiss is offline
 
Join Date: Mar 2009
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well the file is much too big for phpmyadmin (its 13mb), i think the lady said the maximum size was 2mb for phpmyadmin

my package doesn't support SSH

so i dont know how i could upload my database backup anyways..

--------------- Added [DATE]1252105751[/DATE] at [TIME]1252105751[/TIME] ---------------

i can archive it into a .gz format and shrink it to about 3.24 mb but thats it

theres gotta be a way to upload this
Reply With Quote
  #8  
Old 09-04-2009, 10:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some people have reported success with these scripts:
MySQLDumper
MySQLHotxcopy
Bigdump

You may want to talk to your host about your options. If they are the ones who did something to put you back to an April database, then they should fix this for you.
Reply With Quote
  #9  
Old 09-04-2009, 10:27 PM
uprentiss uprentiss is offline
 
Join Date: Mar 2009
Posts: 94
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

they havent done anything to it apparently so i guess it's not them

i'll take a look at those scripts, thanks
Reply With Quote
Reply


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 11:00 AM.


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.04481 seconds
  • Memory Usage 2,240KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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