Hi Guys,
I have been trying to upgrade from version 2.2.1 to 2.2.2 and I am getting the following errors Warning
“Upgrade log file is not writable Warning” “Failed to update the list of installed upgrades”
Also I am getting this error on the top of the page “Warning: file_put_contents() [function.file-put-contents]: Filename cannot be empty in /home/xxxxxxx/public_html/cart/core/class.logger.php on line 52.”
Any ideas how to fix it or what error is occurring
Thanks
What are the permissions on your var folder and it's subfolders?
I have 755 on the VAR file and subfiles
Hello crossfire,
We are sorry to hear that you experience such a problem.
The problem requires the investigation on your server. Please contact us via Customer Help Desk and provide us with a temporary access to your server.
—
Anastasiya Kozlova
CS-Cart Support Team
Does anyone have a solution to this problem before I forkout more credits to get it fixed that should be working on the first place.
[quote]I have 755 on the VAR file and subfiles[/quote]
Try setting your Permissions within your config.local.php file as follows and you should be just fine:
// Default permissions for newly created files and directories
define('DEFAULT_FILE_PERMISSIONS', 0644);
define('DEFAULT_DIR_PERMISSIONS', 0755);