Zen Cart Logo
Forums / All Other Contributions/Addons / cancelling a "fix cache key" action

cancelling a "fix cache key" action

Locked

Views: 915

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Jun 2008, 11:19 AM
#1
fwed avatar

fwed

New Zenner

Join Date:
May 2007
Posts:
12
Plugin Contributions:
0

cancelling a "fix cache key" action

is it possible to cancel a "fix cache key" action, since it didn't synchronized cache directory and database as expected :

Read DIR_FS_SQL_CACHE from configure.php: /var/www/.../cacheDOCUMENT_ROOT
Found SESSION_WRITE_DIRECTORY in database: /var/www/.../cacheDOCUMENT_ROOT

the /var/www/.../cacheDOCUMENT_ROOT should be /.../cache

in my configure.php file, I have written :

   define('DIR_FS_SQL_CACHE', $_SERVER['DOCUMENT_ROOT'] . "/shop/cache"); 
```as suggested by my hosting provider (they have upgraded servers lately)

and not 

define('DIR_FS_SQL_CACHE', '/var/www/.../shop/cache');


Thanks for any help !

Fwed
20 Jun 2008, 12:02 PM
#2
fwed avatar

fwed

New Zenner

Join Date:
May 2007
Posts:
12
Plugin Contributions:
0

Re: cancelling a "fix cache key" action

just FYI, I have found in the hosting provider phpinfo that :
_SERVER["DOCUMENT_ROOT"] = /

so I have modified my configure.php to :

define('DIR_FS_SQL_CACHE', '/shop/');  
```(should it be : *define('DIR_FS_SQL_CACHE', **'shop/**'); * ?? )

but still doesn't work ...
20 Jun 2008, 8:38 PM
#3
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

Re: cancelling a "fix cache key" action

Something odd about what your Hoster said. Using _SERVER["DOCUMENT_ROOT"] can be helpful but not likely in this case.

Can you say what Control Panel is used for your Hosting account?
When you FTP into your Hosting account and go as high as you can in the dir. structure, do you see a dir. called 'public_html' and/or a dir. called 'www'?

You could also compare these 3 settings in a PHP info output:

_SERVER["DOCUMENT_ROOT"]
_SERVER["SCRIPT_FILENAME"]
_SERVER["PATH_TRANSLATED"]

All 3 should start the same for at least 3 directories.

Mind you, all of the above could be out the Window if your Hosting account is on a Windows Server.