Only one error shows up all the time:
Incorrect image files permissions
Message status:
warning
Date:
09/24/2015 02:59:24 PM
Number of repetitions:
5
Following files do not have write permissions. AbanteCart thumbnail images will not function properly.
----------------------------
How to fix it?
Checked all picture folders, and made them 777 www-data or root for user and group.
Nothing helps.. error always shows up.
OS: FreeBSD
Quote from: naturessa on September 24, 2015, 08:17:54 AM
Checked all picture folders, and made them 777
Please write what folders. Also check subdirectories. Just set 777 for all of them.
Subdirectories also made 777, still same error.
Now, I see one more error, when I tried to clear cash.
Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back.
In same time in folder:
File manager -
/var/www/username/data/www/sitename.com/system/cache/settings
were already automatically created files:
settings.1443202410
settings.extension.0.1443202478
settings.extension.admin.1443202410
So, I don't think the problem with permissions, as all of the 777 for folders and subfolders.
Tried also to disable .htaccess and made them back, nothing helps.
When clearning ALL cache - Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back.
and on each page refresh -
Following files do not have write permissions. AbanteCart thumbnail images will not function properly.
Is any other reasons when this errors can show up, except the file and folder permissions?
I had older version before, didn't had such a problem.
Following files do not have write permissions. AbanteCart thumbnail images will not function properly.
"Following files" sounds like it will show which once exactly have a problem with permission, but it doesn't show where the problem.
/admin/view/default/image/ (and all subfolders)
/image/ (and all 17th subfolders inside)
/resorses/image/ (and all 17th subfolders)
/storefront/view/default/image/ (and all subfolders)
/static_pages/view/image/
did I missed some?
Quote from: naturessa on September 24, 2015, 01:45:10 PM
Following files do not have write permissions. AbanteCart thumbnail images will not function properly.
"Following files" sounds like it will show which once exactly have a problem with permission, but it doesn't show where the problem.
oh.. you found bug in our new feature.
please replace file public_html/core/helper/system_check.php
by attached and run again.
If system warnings are bothering you during development or setup, system check can be disabled in settings section for system.
Better be fixed though.
Thanks for update, Dima.
It shows now the files permition which cosed problem.
/var/www/username/data/www/sitename.com/image/thumbnails/index.html
It was 755. seems like must be 777
Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back.
I've set chmod 777 for files
/system/cache/index.html
/system/logs/index.html
But it didn't help...
What does it mean? "enable setting back" How, I can do it.
The error shows, when I clean all cash data, folders and sub-folders are 777..
Made cache enable in settings, didnt help. Shows critical error, when clearing all cash.
Found out, which cache return error when I try to clean it.
Error return just by one of them:
Configuration System and store configurations
When I try to enable cache enable to switch to "on" shows: Saved successfully, but if I update the page, shows old value "off", like it was not saved.
So it's not saving the option cache enable "on" in settings.
Where this configuration is kept? Which file? May be I should check permission for it.
Thank you.
I think your problems are related to messed up permissions on your directories.
To simplify, first set all files/directories in AbanteCart to read and execute.
After that set below directories and all files/dirs under to read/write/execute (777)
system/cache
system/logs
system/cache
image
image/thumbnails
download
extensions (only if you plane to install extensions)
resources
admin/system/backup
So, no help at all?
no one knows, why just cache enabled "ON" doesn't want to be saved? For all other settings, changes are saving correctly...
eCommerce Core, thank you, but what you write is obvious, It's first thing I've done 4 days ago, and this was checked hundreds times already by me, I need real solution. I've read the installation instruction by myself.
Quote from: eCommerce Core on September 26, 2015, 10:54:48 AM
After that set below directories and all files/dirs under to read/write/execute (777)
system/cache
system/logs
system/cache
image
image/thumbnails
download
extensions (only if you plane to install extensions)
resources
admin/system/backup
1. why would you write:
image
image/thumbnails
"all files/dirs under to read/write/execute"
if all files/dirs under "image" would be 777, means image/thumbnails already 777...
2. Following installation guide, it should be just directories 777,
then why /image/thumbnails/index.html all the sudden required to be 777?
this file there just to hide the directory from a user access.
so, two solutions:
disable system check in your settings.
or
replace file core/helper/system_check.php by attached
Quote from: abolabo on September 29, 2015, 07:42:38 AM
so, two solutions:
disable system check in your settings.
or
replace file core/helper/system_check.php by attached
Should everyone upgrading to 1.2.4 replace delivered 1.2.4 system_check.php with the file above?
(I haven't updated yet, but getting ready to...)
Quote from: webdevmerc on September 29, 2015, 07:19:19 PM
Should everyone upgrading to 1.2.4 replace delivered 1.2.4 system_check.php with the file above?
(I haven't updated yet, but getting ready to...)
system check is not critical functionality. You can disable it in settings.
Does anyone knows, why just [cache enabled] "ON" doesn't want to be saved? For all other settings, changes are saving correctly...
I can not change it to "ON", after page refresh show "OFF".
I think this is a reason for error:
"Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back."
which shows when I clean cache for "Configuration" - System and store configurations
P.S.: I've updated the helper file, thx.
Quote from: naturessa on October 03, 2015, 10:52:55 AM
I think this is a reason for error:
"Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back."
which shows when I clean cache for "Configuration" - System and store configurations
Set 0777 for system/cache/ directory and subdirectories
Quote from: naturessa on October 03, 2015, 10:52:55 AM
Does anyone knows, why just [cache enabled] "ON" doesn't want to be saved? For all other settings, changes are saving correctly...
I can not change it to "ON", after page refresh show "OFF".
I think this is a reason for error:
"Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back."
web-server user of OS (note: !! not your cpanel user. i mean apache-user) does not have write permissions. set 777 for cache folder and it's subdirectories
May be I cant explain perfectly, not sure why you can't get what I mean.
I already wrote this folders are 777 and all subfolders.
folder cache/settings/ has files inside and they are update automatically everyday.
Quote from: Basara on October 05, 2015, 03:48:32 AM
"Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back."
which shows when I clean cache for "Configuration" - System and store configurations
Set 0777 for system/cache/ directory and subdirectories
The QUESTION IS THE SAME:
Does anyone knows, why just [cache enabled] "ON" doesn't want to be saved? For all other settings, changes are saving correctly...
folders are 777 and subfolders too.
in admin panel
system/settings/system
Cache enabled (Can't make "ON") saved successfully as "ON", but after page refresh doesn't show as saved.
all other settings are saved correctly.
please delete manually (from CPanel file-manager of ftp) all files and directories from system/cache folder and try again
...and let us know.
Nothing changed...
Still can not enable cache option... in settings
no error shows, as usual: looks like saved successfully, but after page refresh shows not saved again.
what change is that no "index.html" file anymore (as I deleted everything in cache as you asked), folder "settings" was recreated with three files inside.
When clearing configuration cache shows as usual:
Message status:
critical
Date:
10/07/2015 01:31:07 PM
Number of repetitions:
2
Error: Unable to access or write to cache directory /var/www/username/data/www/sitename.com/system/cache/ Cache feature was disabled. Check permissions on directory and enable setting back.
error appear because cache directory is not writable for php.
There is no any other causes.
Can you give me ftp access to your site?
I've sent details in PM
Thank you.
Quote from: naturessa on September 24, 2015, 08:17:54 AM
made them 777 www-data or root for user and group.
Nothing helps..
folder "cache" and "system" 777 www-data, as I already tried before, doesn't help.
Nothing stops PHP to create folder "settings" and three files inside.
I am having the same issue and although permission changes have been made in cPanel FileManager, nothing stops the errors.
Also, turning on the CACHE setting in the system admin area does not save. I turn it on and hit save only to display the setting is still off.
Any help here? Thanks.
Quote from: tmat_fl on November 06, 2015, 04:07:36 PM
I am having the same issue and although permission changes have been made in cPanel FileManager, nothing stops the errors.
Also, turning on the CACHE setting in the system admin area does not save. I turn it on and hit save only to display the setting is still off.
Any help here? Thanks.
you can replace your core/lib/cache.php file by new (from dev. version 1.2.5) right now (https://github.com/abantecart/abantecart-src/blob/1.2.5/public_html/core/lib/cache.php)
or wait for 1.2.5 version release and upgrade core.
We plan to release this week,