vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Bricked my forum trying to change directories (https://vborg.vbsupport.ru/showthread.php?t=312539)

A Dead Puppie 06-28-2014 10:55 PM

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? :/

ozzy47 06-28-2014 10:59 PM

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.

A Dead Puppie 06-28-2014 11:03 PM

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

ozzy47 06-28-2014 11:06 PM

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.

A Dead Puppie 06-28-2014 11:13 PM

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


ozzy47 06-28-2014 11:26 PM

Perhaps you should restore you backup, and start again fresh, that would be the best option.

A Dead Puppie 06-28-2014 11:30 PM

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?

ozzy47 06-28-2014 11:31 PM

Most likely, hopefully that will do it.

A Dead Puppie 06-28-2014 11:48 PM

In any case, what would be the proper way to go about doing this?


All times are GMT. The time now is 09:00 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.01149 seconds
  • Memory Usage 1,732KB
  • 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_code_printable
  • (2)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