Announcement

Collapse
No announcement yet.

Error in MYSQL | Includes on line

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Error in MYSQL | Includes on line

    I am moving servers, both servers have the same version of php, mysql, phpmyadmin.

    I exported my DB through PHPMYADMIN and through cpanel and through admincp database backup.

    all three import fine into my new server but when I view the board I get this error at the top:


    Code:
    Warning: array_keys() [function.array-keys]: The first argument should be an array in /includes/functions.php on line 3699
    
    Warning: Invalid argument supplied for foreach() in /includes/functions.php on line 3699

    All the posts , board names and threads are all gone. Can anyone help?

  • #2
    Did you have a complete backup?


    The only consistently reliable method of backing up and restoring a database is with shell access via telnet or ssh. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeout errors and an incomplete backup file.
    Please see the instructions here:

    Backup:
    http://www.vbulletin.com/docs/html/m...nce_ssh_backup

    Restore:
    http://www.vbulletin.com/docs/html/m...ce_ssh_restore

    If you don't have telnet or SSH access, some people have reported success with these scripts:

    MySQLDumper:
    http://www.mysqldumper.de/en/index.php

    MySQLHotxcopy:
    http://www.vbulletin.com/forum/showt...t=mysqlhotcopy

    Bigdump:
    http://www.ozerov.de/bigdump.php

    I would also recommend that you re-upload all the original vB and non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

    Comment


    • #3
      Thats funny as i just encountered the same problem with my site and all my info is still there when i go through the php admin panel. Anyone help on what else might be going on thanks in advance.
      Here is a link

      http://www.ftajeff.com/info/

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...
      X