Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-13-2009, 04:16 PM
Peter Ostry's Avatar
Peter Ostry Peter Ostry is offline
 
Join Date: Jul 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 03-13-2009, 04:18 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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); 
Reply With Quote
  #3  
Old 03-13-2009, 05:06 PM
Peter Ostry's Avatar
Peter Ostry Peter Ostry is offline
 
Join Date: Jul 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.)
Reply With Quote
  #4  
Old 03-13-2009, 05:18 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upload tools.php in admincp/ and run the options like datastore clear, cache clear etc .
Reply With Quote
  #5  
Old 03-13-2009, 05:43 PM
Peter Ostry's Avatar
Peter Ostry Peter Ostry is offline
 
Join Date: Jul 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by veenuisthebest View Post
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?
Reply With Quote
  #6  
Old 03-13-2009, 05:48 PM
veenuisthebest's Avatar
veenuisthebest veenuisthebest is offline
 
Join Date: Mar 2008
Location: India
Posts: 1,416
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #7  
Old 03-13-2009, 07:49 PM
Peter Ostry's Avatar
Peter Ostry Peter Ostry is offline
 
Join Date: Jul 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by veenuisthebest View Post
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.
Reply With Quote
  #8  
Old 06-10-2010, 11:51 PM
Kyle55155 Kyle55155 is offline
 
Join Date: Mar 2010
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
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?
Reply With Quote
  #9  
Old 06-11-2010, 03:09 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:55 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.03890 seconds
  • Memory Usage 2,240KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete