PDA

View Full Version : Bricked my forum trying to change directories


A Dead Puppie
06-28-2014, 10:55 PM
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:
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.:

Fatal error: Call 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

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 (http://www.machinimaevolved.net/forums/)
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?