Log in

View Full Version : Asking for another install after server change


kronnos
02-11-2009, 07:56 PM
Hi,

I moved to another server and instead of copying all the site files from old server, I just copied new VB files (same version) on to the new server and just moved over the database. I did that so i don't carry over the garbage I dont even remember uploading.

BTW, the site name, temporarily changed.

I have changed the config file as needed but it still gives me a blank page when going to index.php. Is there somewhere in the database I would need to change something like site name or anything else so I do not have to install from scratch.

Thank You

--------------- Added 1234395208 at 1234395208 ---------------

BTW, install method does not work anyway because when i tried, all it said at step 2 was that the database is already there.

snakes1100
02-11-2009, 11:53 PM
globally disable your plugins via config.php

define('DISABLE_HOOKS', true);

vbplusme
02-12-2009, 01:27 AM
Are you able to log into the admincp?

kronnos
02-12-2009, 06:53 AM
I have no pluging as I uploaded a fresh copy of VB.

I am able to log into the admin cp but it gives me a blank page after that aswell..

??

vbplusme
02-12-2009, 07:44 AM
Most likely your vBulletin is holding a bad cookie from the previous installation. You will need to run the tools. php script to clear them and get your system back. If you don't know, tools.php is run from the admincp folder and requires that you have the install folder for it to run.

HTH

Dismounted
02-12-2009, 07:48 AM
<a href="http://www.vbulletin.com/docs/html/blank_pages" target="_blank">Blank or 'White' Pages</a>

kronnos
02-12-2009, 07:57 AM
Its completely white, even when i go to see page source, there is nothing there.

Dismounted
02-12-2009, 08:09 AM
Did you read the page I linked to?

kronnos
02-12-2009, 08:26 AM
Yeh,

So far I tried to add the following in config file but still no change, will see what else i can do.

ini_set("display_errors", true);

ini_set('memory_limit', -1);

BTW, could this be because of a style. I mean the forum on the other server used a custom style but I did not upload any of the style files from old server. Shouldt it just show default style in this case?

Marco van Herwaarden
02-12-2009, 08:26 AM
I have no pluging as I uploaded a fresh copy of VB.
Plugins (and other modification related things) are stored in the database. You can not just remove the files (or not move them to the new server) and only move the database. This will for sure break your installation.

kronnos
02-12-2009, 08:38 AM
Ok i added define('DISABLE_HOOKS', true); to config.php and now site loads. Ofcourse the style is without any images since I did not copy the style folder and the chatbox and other pluggings do not work.

What do I do next? Should I install the plugins and then remove the code I added to config, then add the plugins I do need?

Also, i will be upgrading this version(3.6.7) to 3.8.1. So the old plugins will not work anyway but there is something I still would want to keep. For example: I have iTrader which I will install the newers version for 3.8.1 but I still want to keep the database from old iTrader. Uninstalling it will delete the database, should should I just add the new itrader on top without uninstalling first?

--------------- Added 1234435507 at 1234435507 ---------------

BTW, what could be causing the problem of me loging in and then having to do it agaian and again. It doesn't save my login info.

Marco van Herwaarden
02-12-2009, 09:02 AM
To solve your login issue, reset the cookie path & domain in your vB options.

Modifications should always be uninstalled in order to run cleanup of the database.

kronnos
02-12-2009, 09:08 AM
I cant even log into my admin cp because after I log in , the page loads, and then bang, another login screen.

If I do uninstall the plugin , I would completely lose all the iTrader ratings all the members have earned, so will need to find another way.

Marco van Herwaarden
02-12-2009, 09:14 AM
Please upload tools.php from the 'do_not_upload' folder of your vBulletin distribution to your admincp directory. Now point your browser to admincp/tools.php.

Reset the cookie Domain and Path to the default values.

Once your problem is fixed please remove tools.php again from the server.

If this does not solve your problems, please clear your browser cookies and cache, restart your browser and try again.

If you do not want to loose your itrader values, then you seem to want to continue to use it and thus you should not remove it (and in fact copy the files from old server for this modification also).

vbplusme
02-12-2009, 09:24 AM
:D Jeez, that sounds familiar...LOL

kronnos
02-12-2009, 09:40 AM
Just though I could install the addon again fresh and the one that would work with 3.8.1 but just keep the database. Next time I would have to keep my own dataabse of every single file I upload or change I make to original VB to make it easy to revert:)

BTW, cookie problem fixed, thank You!