PDA

View Full Version : Problem moving forum


ProjectDIBS
12-23-2008, 08:08 PM
Hey all,

I am in the process of attempting to move my forums from one service provider to another and am running into an error.

Steps already done:

1. I have already moved my entire directory structure over to the new server

2. I have moved the database over to the new server and there are identical rows in the transferred database, database looks OK

3. I have changed the config.php file to include my admin ID on the new provider and that username is in the database.

4. I have followed all the steps listed here:
http://www.vbulletin.com/docs/html/moving_servers

5. I am able to get my AdminCP to load on a webserver and I put in my username and password and I get the following error:

Warning: require(/home/reefstew/public_html/forums/includes/vbgallery/style_fetch.php) [function.require]: failed to open stream: No such file or directory in /global.php(242) : eval()'d code on line 2

Fatal error: require() [function.require]: Failed opening required '/home/reefstew/public_html/forums/includes/vbgallery/style_fetch.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/reefstew/public_html/forums/global.php(242) : eval()'d code on line 2

What did I do wrong?

Brian

Lynne
12-23-2008, 08:59 PM
It looks like a problem with vBGallery. Try disabling your 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

define('DISABLE_HOOKS', true);

ProjectDIBS
12-23-2008, 09:26 PM
Thanks!

That worked great, I'm able to log on now. I was planning on removing vBGallery after the move anyway, so if I remove that product will that solve the problem?

After logging on I disabled the product, removed the disable hooks code and the problem came back.

Is there any problem with keeping that code in there?

Brian

--------------- Added 1230076101 at 1230076101 ---------------

I also tried to access my forums (as my users would)

and get the following error when I try to go to my /forums/ directory

Fatal error: Call to undefined function print_portal_output() in /home/reefstew/public_html/forums/includes/functions.php on line 4864

line 4864 is:

print_portal_output($home, $vartext);

Lynne
12-23-2008, 11:59 PM
You probably have extra leftover files from vbgallery left in one of your folders - check includes and includes/xml.

The second problem is also caused by a modification. Default vbulletin has no function called print_portal_output.