vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Asking for another install after server change (https://vborg.vbsupport.ru/showthread.php?t=205061)

kronnos 02-11-2009 07:56 PM

Asking for another install after server change
 
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 [DATE]1234395208[/DATE] at [TIME]1234395208[/TIME] ---------------

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

Quote:

Originally Posted by kronnos (Post 1741579)
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 [DATE]1234435507[/DATE] at [TIME]1234435507[/TIME] ---------------

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!


All times are GMT. The time now is 02:25 PM.

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.01113 seconds
  • Memory Usage 1,742KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)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