PDA

View Full Version : The first argument should be an array in [path]/includes/functions.php on line 4098



Snyaper
Tue 23rd Dec '08, 4:14am
Hello ;

pls look at picture i have this problem when i transferin hosting

http://img71.imageshack.us/img71/4001/helpst3.jpg

Jake Bunce
Tue 23rd Dec '08, 3:48pm
I can't match that line number to anything meaningful in my includes/functions.php file. Try disabling your plugins:

http://www.vbulletin.com/docs/html/main/disable_plugins

Also try uploading the original vBulletin files.

It may also be a problem with one of the datastore records. Is your datastore cache stored in the file system (is this line uncommented in the includes/config.php file)?



// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// vB_Datastore_Filecache - for using a cache file
// $config['Datastore']['class'] = 'vB_Datastore_Filecache';
// vB_Datastore_Memcached - for using a Memcache server
// It is also necessary to specify the hostname or IP address and the port the server is listening on
/*
$config['Datastore']['class'] = 'vB_Datastore_Memcached';
$i = 0;
// First Server
$i++;
$config['Misc']['memcacheserver'][$i] = '127.0.0.1';
$config['Misc']['memcacheport'][$i] = 11211;
$config['Misc']['memcachepersistent'][$i] = true;
$config['Misc']['memcacheweight'][$i] = 1;
$config['Misc']['memcachetimeout'][$i] = 1;
$config['Misc']['memcacheretry_interval'][$i] = 15;
*/


If you are storing it in the file system then make sure you copied over the includes/datastore directory from the old server. And make sure that directory is writable on the new server.