Site maintenance: Tuesday 17 Nov, from 10:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Upgrading from 1.3.x to 1.3.9 / File permission error on upgrade?

File permission error on upgrade?

Locked

Started by markrs on 14 Sep 2006, 10:36 PM · Views: 1,569

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Sep 2006, 10:36 PM
#1
markrs avatar

markrs

New Zenner

Join Date:
Jul 2006
Location:
Wiltshire, England
Posts:
69
Plugin Contributions:
0

File permission error on upgrade?

My upgrade seems to have mostly worked, except I've got problems with images.

In the admin section I'm getting multiple lines like

Warning: is_dir(): Stat failed for /home/vowlmco/public_html/ZenCart/images/1_small_00.jpg (errno=13 - Permission denied) in /home/vowlmco/public_html/ZenCart/admin/attributes_controller.php on line 1801

it would appear one for each picture in the images directory.
Presumably I've got directory or file permissions wrong, but what should they be? I've set directory & files to 766, 777, and still I get the same thing.

:yuck:

In case it's not traceable like that, line 1801 (yes, the files seem to have come through double spaced :( ) appears to be

if (is_dir(DIR_FS_CATALOG_IMAGES . $file) && strtoupper($file) != 'CVS' && $file != "." && $file != "..") {

although I'm slightly guessing since this isn't the line that notepad takes me to when I ask for 1801...
It gives me a blank line :(

15 Sep 2006, 3:10 AM
#2
IDEASLady avatar

IDEASLady

Totally Zenned

Join Date:
Aug 2005
Location:
Trujillo Alto, Puerto Rico
Posts:
1,456
Plugin Contributions:
4

Re: File permission error on upgrade?

No, you don't have to do anything to the code, just make those folders (all) including /images/ 777.

IDEASLady
IDEAS Creative Studio

Your image... our business!

15 Sep 2006, 7:52 AM
#3
markrs avatar

markrs

New Zenner

Join Date:
Jul 2006
Location:
Wiltshire, England
Posts:
69
Plugin Contributions:
0

Re: File permission error on upgrade?

Thank you.

I thought I'd tried that but it would appear not, since I've now done it and it works.

:lookaroun

All's well that ends well :blink:

Regards
Mark