vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Server move: nothing works. (https://vborg.vbsupport.ru/showthread.php?t=208221)

Peter Ostry 03-13-2009 04:16 PM

Server move: nothing works.
 
No response from vBulletin.com but we are really in trouble here ...
Excuse me to post it here either.

===========================================

I get this on top of the start page and only this (on a blank page) when I try to log in into admincp:

------------------------------------------------------------
Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]/includes/functions.php on line 4107

Warning: Invalid argument supplied for foreach() in [path]/includes/functions.php on line 4107
------------------------------------------------------------

vBulletin 3.7.5 PL1. We want to launch a new site today, moved the whole webroot and the MySQL database to another server. The files were moved via the shell and using a tar archive, the database was moved by mysql (not phpMyAdmin). I adapted the config.php and we don't use any special database thingies, no memcache, datastore, nothing that is mentioned in the various posts I found about this issue.

I see an incomplete forum start page but cannot login into the admin.cp

If it helps, there is also a MODx installation on this server that doesn't work either. It looks like a path/include problem. The document root of the two servers is different. I don't see a difference in php ini.

Can I fix this somewhere in a file or directly in the database?
Needless to say, its very urgent, thanks in advance.

Lynne 03-13-2009 04:18 PM

Try disabling your modifications/plugins in your config file and see if then you can login to your site.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


Peter Ostry 03-13-2009 05:06 PM

No change with disabled hooks.

On the start page I see the forum template but without the forums. I found the the old http address in the database and changed it to the new one but it didn't help either. The launch is spoiled and it's getting hotter here ...

I have no idea what could be the cause for this path or include error. Apache, PHP, vBulletin, a config file? Is there something in the MySQL database I could check? Permission problem probably, should I try to chmod 777 everything? Or can we grep the whole site for a certain expression/path/setting in some file?

(MODx works almost in the meantime btw, this was another problem.)

veenuisthebest 03-13-2009 05:18 PM

Upload tools.php in admincp/ and run the options like datastore clear, cache clear etc .

Peter Ostry 03-13-2009 05:43 PM

Quote:

Originally Posted by veenuisthebest (Post 1767324)
Upload tools.php in admincp/ and run the options like datastore clear, cache clear etc .

Whooops!
That did it, a thousand thanks!

Could you explain in short what happened?

veenuisthebest 03-13-2009 05:48 PM

I am glad it worked. I was sure tools.php is going to work as I had been in the EXACT SAME situation 2 days back when I was experimenting with a new server. tools.php had been a life saviour for me.

Not sure, but I guess the database was storing stuff from your previous server, that got freshen up on clearing it from tools.php ;)

Peter Ostry 03-13-2009 07:49 PM

Quote:

Originally Posted by veenuisthebest (Post 1767324)
Upload tools.php in admincp/ and run the options like datastore clear, cache clear etc .

Finally, as we do the final cleanup, I am relaxed. But I think this hint from veenuisthebest should make it into the docs for server migration. Currently the docs give the impression that tools.php is a delicate, even dangerous tool, only to be installed after advice of a support technician.

In fact, if we had had this knowledge today, I would have migrated the website alone in less than one hour. Without, we were two people working desperately 6 hours with all kinds of server configurations and database fiddling. The other guy missed 2 appointments and we missed the deadline. Such a stunt is not necessary.

Kyle55155 06-10-2010 11:51 PM

Quote:

Originally Posted by Lynne (Post 1767294)
Try disabling your modifications/plugins in your config file and see if then you can login to your site.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


similar issue here.

I disabled my plugins per your instructions and now i can get in. Of course minus all my plugins. How to I fix this?

Lynne 06-11-2010 03:09 AM

You'll need to go through your products/plugins one-by-one to figure out which one is causing the issue.


All times are GMT. The time now is 07:20 AM.

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.01106 seconds
  • Memory Usage 1,738KB
  • 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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