Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
  #1  
Old 06-28-2014, 10:55 PM
A Dead Puppie A Dead Puppie is offline
 
Join Date: Oct 2009
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Bricked my forum trying to change directories

My forum used to be on the root and I wanted to move it to it's own "forums" folder so I can have a custom home, I updated the info in the config file and now i'm getting this error:

Warning: require([path]/dbtech/vboptimise/hooks/init_startup.php) [function.require]: failed to open stream: No such file or directory in [path]/includes/init.php(336) : eval()'d code on line 119

Fatal error: require() [function.require]: Failed opening required '/home/machinim/public_html/forums/dbtech/vboptimise/hooks/init_startup.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/machinim/public_html/forums/includes/init.php(336) : eval()'d code on line 119
2

I'm guessing I should've disabled all mods first? :/
Reply With Quote
  #2  
Old 06-28-2014, 10:59 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Modify the includes/config.php file and add the following right after the <?php tag:
PHP Code:
define('DISABLE_HOOKS'true); 


Then see if your site comes back up.
Reply With Quote
  #3  
Old 06-28-2014, 11:03 PM
A Dead Puppie A Dead Puppie is offline
 
Join Date: Oct 2009
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Those errors are gone, now there is only one.:

PHP Code:
Fatal errorCall to undefined function print_portal_output() in /home/machinim/public_html/forums/index.php on line 46 
EDIT - I'm using vBAdvanced and I checked the index file and I updated the home directory and it's still calling the error
Reply With Quote
  #4  
Old 06-28-2014, 11:06 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe the is a problem with vbadvanced. You will need to ask over there for help with the issue.

Specifically why disabling hooks don't stop the error.
Reply With Quote
  #5  
Old 06-28-2014, 11:13 PM
A Dead Puppie A Dead Puppie is offline
 
Join Date: Oct 2009
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I can get into the Admin panel and I'm updating all of the links and such and I'm getting this error when I try to update them

Code:
vBulletin Options

Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 1032

Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 1032

Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 1032

Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 1032

Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 1032

Warning: trim() expects parameter 1 to be string, array given in [path]/includes/adminfunctions_options.php on line 1032

Fatal error: Unsupported operand types in /home/machinim/public_html/forums/includes/adminfunctions_options.php on line 963
Reply With Quote
  #6  
Old 06-28-2014, 11:26 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perhaps you should restore you backup, and start again fresh, that would be the best option.
Reply With Quote
  #7  
Old 06-28-2014, 11:30 PM
A Dead Puppie A Dead Puppie is offline
 
Join Date: Oct 2009
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I mean, I fixed it sorta! XD
You can look at it here
Now I just need to update the locations of my theme...Correct?
Reply With Quote
  #8  
Old 06-28-2014, 11:31 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Most likely, hopefully that will do it.
Reply With Quote
  #9  
Old 06-28-2014, 11:48 PM
A Dead Puppie A Dead Puppie is offline
 
Join Date: Oct 2009
Posts: 91
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In any case, what would be the proper way to go about doing this?
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 12:47 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.06216 seconds
  • Memory Usage 2,235KB
  • Queries Executed 13 (?)
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_code
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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