PDA

View Full Version : Problems with completing installation after a site move


labocha
Sun 19th Nov '06, 11:12pm
I have just moved my site from Godaddy to Hostgator. On the old site I have had a vBulletin 3.6.2 with the latest patch applied and the vBPortal 3.6.1. Here is the situation:

(1) On my old forum I have made backups of my Sql forum database, language and style.
(2)I have found new host
(3) I have uploaded VBulletin 3.6.3, run the instll.php script and it worked. I could see the forum working.
(4) I have then uploaded my modified language, previously exported, and it seemed to work too.
(5) I have uploaded my modified VBulletin style This again worked.
(6) Using a host provided MySQL import utility, I have imported my sql database. I got no error messages and I could see the tables have been updated. I could now see some of the vBPortal-specific tables.
(7) When I try running my site now I get the following error:

Warning: Unknown(./../global.php): failed to open stream: No such file or directory in /global.php(356) : eval()'d code on line 1

Fatal error: (null)() [function.require]: Failed opening required './../global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/labocha/public_html/forum/global.php(356) : eval()'d code on line 1

I still have noit installed VBPOrtal on the new server. My question is :

- Any ideas what may be causing the above error and how to fix it?

labocha
Sun 19th Nov '06, 11:33pm
Through search in forums I just found a suggetsion to modify the config.php file by adding the following line:

define('DISABLE_HOOKS', true);

I have done theat and it seem tohave fixed the problem. The question is: what are the consequences ? Have I just disabled somenthing I will need for example to run the vBPortal ?

SNN
Sun 19th Nov '06, 11:43pm
That disables your modifications/hacks on your board. If you remove it (which you may do so now that it's fixxed) it will reenable the hacks and modifications.

labocha
Mon 20th Nov '06, 12:20am
Thx dude ... at first, my vBportal did not work 100% but removing the line worked like a dream .. :)