Bug Cache Status Offline

Status
Not open for further replies.

Force

Customer
I installed the new version 1.1.7 see screenshot below
 

Attachments

  • 1.jpeg
    1.jpeg
    42.5 KB · Views: 13
It appears to just be a simple check to see if a Datastore Caching method has been setup through config.php.

In dbseo\actions\admin\info.php:

Code:
	// Set cache type
	$cacheType = (isset($vbulletin->config['Datastore']['class']) AND $vbulletin->config['Datastore']['class'] AND strtolower($vbulletin->config['Datastore']['class']) != 'vb_datastore_filecache') ? substr($vbulletin->config['Datastore']['class'], 13) : $vbphrase['n_a']; 

...

print_cells_row(array(
		$vbphrase['dbtech_dbseo_cache_status'],
		$cacheType != $vbphrase['n_a'] ? $vbphrase['dbtech_dbseo_system_online'] : $vbphrase['dbtech_dbseo_system_offline'],

		$vbphrase['dbtech_dbseo_cache_type'],
		$cacheType
	), 0, 0, -5, 'top', 1, 1);
 
It was working in the 1.1.5 version, so will wait for a dev and thanks for the info bzcomputers
He is absolutely correct, if your config.php file does not have any cache set (or is using Filecache), the display you are seeing is accurate.

There was nothing working in v1.1.5 because this display did not exist until v1.1.7 :)
 
He is absolutely correct, if your config.php file does not have any cache set (or is using Filecache), the display you are seeing is accurate.

There was nothing working in v1.1.5 because this display did not exist until v1.1.7 :)
So is there anything to put into the config to get it working
This is what i have in my config
Code:
// ****** 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';
and changing this will it mess anything else up
 
Last edited:
If you do not have APC or XCache installed on your server, do not make any changes.
 
How can I check if they are installed

With Xcache if you didn't install it yourself there is a good chance it isn't installed or if it's installed it's an old version.

To check if it's installed goto your vB Admin Control Panel - Maintenance - View PHP Info:

Down near the bottom (sections are in alphabetical order) you'll find an Xcache section if it is installed.

xcache.jpg

I am not familiar with APC and do not have it installed, but I would assume it would also show up on the PHP Info page. Just do search for "APC" on the page. Mine turns up zero results for "APC" on the PHP Info page.
 
In that case, you can try adding vB_Datastore_APC to your config.php file and see if your forum still works as intended :)
 
Code:
// ****** 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_APC';
Like this you mean
 
No, you need to remove the // in front of the line, like so:
PHP:
$config['Datastore']['class'] = 'vB_Datastore_APC';
 
No, you need to remove the // in front of the line, like so:
PHP:
$config['Datastore']['class'] = 'vB_Datastore_APC';
Brings up an error as its not installed so does the last two. Will get in touch with the host. What one would be best to install?
 
Hello Filip! I have XCache installed on the server, then I removed the "//" from

// $config ['Datastore'] ['class'] = 'vB_Datastore_XCache';

But it gives me this error:

Parse error: syntax error, unexpected T_STRING in /home/xxxx/public_html/includes/config.php on line 153

What can I do? Thank you!
 
Remove the spaces, like so:
PHP:
$config['Datastore']['class'] = 'vB_Datastore_XCache';
 
Done! But now I have this error:

Fatal error: Xcache not installed in /home/xxxxx/public_html/dbtech/dbseo/includes/class_datastore.php on line 371
 
Either your install did not go well, or the .ini information was never placed in php.ini so xcache is not getting initiallized.

Download the latest version of xcache from here: http://xcache.lighttpd.net/pub/Releases/3.1.0/xcache-3.1.0.tar.gz

Unzip the file and extract out the "htdocs" directory. Rename the directory "xcache" and upload it to your server (preferable outside of the public_html directory if you are going to leave it on server permanently).

These files will allow you to see if xcache is functioning and also allow you to diagnose the installation.

Go to where ever you uploaded the directory: xxxx/xcache/

This will take you to the main "Cacher" page which will show the xCache Module Information (the .ini settings) if they were added to your php.ini file. Another tab will be "Diagnosis" this will allow you to see that the .ini settings that were added are correct for your installation.
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,169
Customer rating
5.00 star(s) 1 ratings
Back
Top