Log in

View Full Version : Moved to a VPS, can't save ACP settings.


bnji
03-24-2012, 08:45 PM
Hi.
My forum has recently moved to a VPS and I am having exactly the same problem as this (posted on vb.com):
I've recently moved servers from a shared to a VPS. My host looked after the transfer. Everything functions as it should, or so I thought. Within the admin control panel the settings appear to function, the radio buttons move when selected, hit the save button and the redirected says "settings save" or something to that effect. Problem the saved settings have zero affect. For example, I turned my forum off, and it's still on. I thought I would disable plug-ins globally to see if that was the issue, can't shut them down, as a test I tried to make a change to one of my forum titles, it saves it within the ACP but no effect on the forum homepage. Now I can make changes within the template system but that is pretty much it. Any ideas? Here is what I've done so far...repair/optimize tables, Problematic Webserver Modules show no errors. All file permissions are 644.

The thread that was posted in has no replies, so I was wondering if anyone knows how to fix this?

Thanks.

Lynne
03-24-2012, 09:23 PM
What do you have set regarding the datastore in your config.php file?

bnji
03-24-2012, 09:35 PM
What do you have set regarding the datastore in your config.php file?

// ****** DATASTORE CACHE CONFIGURATION *****
// Here you can configure different methods for caching datastore items.
// vB_Datastore_Filecache - to use includes/datastore/datastore_cache.php
// vB_Datastore_APC - to use APC
// vB_Datastore_XCache - to use XCache
// vB_Datastore_Memcached - to use a Memcache server, more configuration below
$config['Datastore']['class'] = 'vB_Datastore_Filecache';

// ******** DATASTORE PREFIX ******
// If you are using a PHP Caching system (APC, XCache, eAccelerator) with more
// than one set of forums installed on your host, you *may* need to use a prefix
// so that they do not try to use the same variable within the cache.
// This works in a similar manner to the database table prefix.
// $config['Datastore']['prefix'] = '';

// 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;
*/

Not sure if the Datastore Prefix bit is supposed to be commented out :S

Adam H
03-24-2012, 11:29 PM
Disable hooks from the config file and see if the problem is still there.

bnji
03-25-2012, 01:12 AM
Had someone look this over and it was related to the datastore settings.

Lynne
03-25-2012, 01:48 AM
Comment out that line regarding the datastore in the config.php file. Then make sure that file is chmod to 777 before uncommenting that line.