vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   multiple errors with init.php and functions.php (https://vborg.vbsupport.ru/showthread.php?t=222465)

uprentiss 09-04-2009 04:39 PM

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

Lynne 09-04-2009 05:36 PM

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); 


uprentiss 09-04-2009 05:41 PM

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

Lynne 09-04-2009 06:03 PM

How does a site just revert back to April? That doesn't just happen. Have you asked your host if they did something?

uprentiss 09-04-2009 06:12 PM

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?

Lynne 09-04-2009 06:54 PM

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.

uprentiss 09-04-2009 07:34 PM

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

Lynne 09-04-2009 10:21 PM

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.

uprentiss 09-04-2009 10:27 PM

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

i'll take a look at those scripts, thanks


All times are GMT. The time now is 08:41 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.01048 seconds
  • Memory Usage 1,739KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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