Results 1 to 3 of 3
  1. #1
    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

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



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

    Code:
    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
    Last edited by MarkRS; 14 Sep 2006 at 11:40 PM.

  2. #2
    Join Date
    Aug 2005
    Location
    San Juan, Puerto Rico
    Posts
    1,525
    Plugin Contributions
    9

    Default 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.
    IDEAS Girl
    IDEAS Creative Group
    = Your image... our business!
    My contributions: SophyBlue / Sophy Blue-Grey / Mistik / The Bookshelf / Dynamic Sideboxes

  3. #3
    Join Date
    Jul 2006
    Location
    Wiltshire, England
    Posts
    69
    Plugin Contributions
    0

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



    All's well that ends well

    Regards
    Mark

 

 

Similar Threads

  1. file permission error
    By dynaeon in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 2 Oct 2010, 06:01 AM
  2. File permission
    By SlimMoses in forum General Questions
    Replies: 3
    Last Post: 12 Oct 2009, 10:23 AM
  3. Fatal error after upgrade to 1.3.5 renaming phpbb file
    By mikey1719 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 10
    Last Post: 8 Sep 2006, 01:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR