PDA

View Full Version : Error In transfer


shadowgfx
12-18-2009, 10:28 PM
I transferred my vb forum added the sql all ok
and when i browse to it look what i get

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

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

You have been banned for the following reason:
No reason was specified.

Date the ban will be lifted:

and i'm not logged in

one more thing how i can backup all folders from SSH

Lynne
12-19-2009, 01:38 AM
Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

shadowgfx
12-19-2009, 10:14 AM
i did that lynne and same thing again

Lynne
12-19-2009, 03:33 PM
Can you log into the Admin CP at all? Have you rebuild the forum info after the transfer?

shadowgfx
12-19-2009, 06:44 PM
i can't access acp

Lynne
12-19-2009, 06:48 PM
You can't access the admincp by going directly to it at yoursite.com/admincp/index.php? And you are trying to do this after the plugins are disabled per my instructions in post 2?

What version php are you running on the new server?

shadowgfx
12-20-2009, 01:05 AM
i login but i get error

Can't Add cookie header already sent

php is 5.2.9

Lynne
12-20-2009, 02:20 AM
If you are getting that error, then it sounds like you still have modifications. You either still have the plugins turned on, or you have modified the files directly. If you still have that line in your config.php files to disable the plugins, then try downloading a fresh set of files for your forum from vb.com and upload all the default files to your forum.

gauravtechie
12-26-2009, 12:57 PM
Getting the same error ! here too.

If i am not wrong [path] should contain the correct value of the path.

Suggestions ?

--------------- Added 1261840405 at 1261840405 ---------------

One small question , If i install a new forum onto my site , I will loose the old data. How to import old data from the database sql i have.

Lynne
12-26-2009, 04:02 PM
Getting the same error ! here too.

If i am not wrong [path] should contain the correct value of the path.

Suggestions ?

--------------- Added 26 Dec 2009 at 07:13 ---------------

One small question , If i install a new forum onto my site , I will loose the old data. How to import old data from the database sql i have.
I have no idea what [path] you are talking about. You really should start your own thread with your own problem description.

gauravtechie
12-26-2009, 04:47 PM
The issue is similar to what the person already faced in thread, So IMO no need to create a new thread.

What i meant by [path] is , The warning error shows
Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]/includes/functions.php on line 4243

Now isn't the [path] here /home/username/public_html kind of error, Correct me if i am wrong.

Awaiting reply

Lynne
12-26-2009, 04:57 PM
Try disabling your modifications.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

Jheroen
02-21-2010, 06:41 AM
i have the same problem, just exported the database and files, imported them succesfully to the new location on the same server.

one error after another, this should be done easier :down:

no solution :confused:

Marco van Herwaarden
02-21-2010, 10:13 AM
And what are the errors you get?