View Full Version : Upgrade questions, re: datastore
treasureman
Mon 29th Jan '07, 4:14pm
Just upgraded from 3.5.4 to 3.6.4. It went fine, all is working.
I have these questions re: the datastore cache.
1. My config.php file from 3.5.4 (which the upgrade still uses) has this line:
$config['Datastore']['class'] = 'vB_Datastore_Filecache';
This line is commented out in the 3.6.4 config.php.new file
So should this line be commented out or left as is?
2. And which file is the cache file, I can not locate it in the /includes/datastore folder.
3. In other words how do I know the datastore cache is working?
4. Also the 3.6.4 config.php.new has an option for using vB_Datastore_Memcached . Which is best? I have 1.5GB of memory on a dedicated server.
Colin F
Mon 29th Jan '07, 4:22pm
1. If you used the filebased cache, then you can uncomment that line.
2. It should be in /includes/datastore/datastore_cache.php
3. If it weren't you'd be recieving errors :)
4. Memcached needs to be specifically installed. If you don't know if you have it or not, you're better of using the filebased datastore.
treasureman
Mon 29th Jan '07, 4:37pm
2. It should be in /includes/datastore/datastore_cache.php
The file is there but there is no cached data. I reset permissions for the file to 777 and reloaded the forum a few times, some posts, etc. but the file still has no cached data, just the original 547 byes.
How would I make the cache work?
Again this line is NOT commented in my config.php in the includes folder:
$config['Datastore']['class'] = 'vB_Datastore_Filecache';
Colin F
Mon 29th Jan '07, 4:42pm
Try adding a new forum and deleting it again for example.
treasureman
Mon 29th Jan '07, 4:48pm
Try adding a new forum and deleting it again for example.
Whoa, it started working, I just refreshed the file and it went from 547 bytes to over 143,000. Thanks, must have been the permissions, althought I thought datastore was working properly before my upgrade from 3.5.4
One more, not related to datastore, but a new addition in the config.php.new file for 3.6.4:
// Image Processing Options
// Images that exceed either dimension below will not be resized by vBulletin. If you need to resize larger images, alter these settings.
$config['Misc']['maxwidth'] = 2592;
$config['Misc']['maxheight'] = 1944;
Should I copy that to my config.php file?
I am wondering why the upgrade didn't put the new options in my config.php file?
Colin F
Mon 29th Jan '07, 5:23pm
That's not needed. config.php file changes are very rarely necessary, which is why that's not mentioned as a changed file.
treasureman
Mon 29th Jan '07, 5:26pm
Okay thanks!
Since I converted to Vbulletin about a year ago my forum has grown by leaps and bounds.
The great product and great support you provide has helped make that possible.
Thank you!
vBulletin® v3.8.0 Release Candidate 1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.