Author Topic: Just installed 1.2.4 Thumbnail images error.  (Read 25748 times)

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Just installed 1.2.4 Thumbnail images error.
« on: September 24, 2015, 08:17:54 AM »

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

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2171
  • Karma: +345/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #1 on: September 24, 2015, 09:19:03 AM »

Checked all picture folders, and made them 777

Please write what folders. Also check subdirectories. Just set 777 for all of them.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #2 on: September 24, 2015, 01:42:57 PM »
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.

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #3 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.

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #4 on: September 24, 2015, 01:54:45 PM »
/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?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2171
  • Karma: +345/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #5 on: September 24, 2015, 05:02:43 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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4367
  • Karma: +302/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #6 on: September 24, 2015, 09:27:08 PM »
If system warnings are bothering you during development or setup, system check can be disabled in settings section for system.
Better be fixed though.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #7 on: September 25, 2015, 08:28:39 AM »
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

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #8 on: September 25, 2015, 08:42:05 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.

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..

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #9 on: September 25, 2015, 08:44:51 AM »
Made cache enable in settings, didnt help. Shows critical error, when clearing all cash.

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #10 on: September 25, 2015, 08:49:25 AM »
Found out, which cache return error when I try to clean it.
 Error return just by one of them:

Configuration    System and store configurations

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #11 on: September 25, 2015, 09:03:38 AM »
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.

Offline eCommerce Core

  • Administrator
  • Hero Member
  • *****
  • Posts: 1602
  • Karma: +93/-1
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #12 on: September 26, 2015, 10:54:48 AM »
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





“If you’re in the luckiest one per cent of humanity, you owe it to the rest of humanity to think about the other 99 per cent.”
― Warren Buffett

Offline naturessa

  • Newbie
  • *
  • Posts: 20
  • Karma: +2/-0
    • View Profile
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #13 on: September 28, 2015, 01:52:19 AM »
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.


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.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2171
  • Karma: +345/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Just installed 1.2.4 Thumbnail images error.
« Reply #14 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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod