Results 1 to 4 of 4
  1. #1
    Join Date
    Jul 2007
    Posts
    69
    Plugin Contributions
    0

    Default Change directory and now image uploads don't work

    Hey Zenners,

    I just renamed my /ZenCart directory to /store, and after changing the two configure.php files (the one in includes and the one in admin/includes), everything works like a charm....EXCEPT when I went to add a new product and include an image, I got these errors:

    Warning: move_uploaded_file(D:/inetpub/yesmagazine/store/images/backissues/44cover.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in D:\Inetpub\yesmagazine\store\yesadmin\includes\classes\upload.php on line 112

    Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'C:\WINDOWS\TEMP\php32FA.tmp' to 'D:/inetpub/yesmagazine/store/images/backissues/44cover.jpg' in D:\Inetpub\yesmagazine\store\yesadmin\includes\classes\upload.php on line 112


    Image upload worked just fine before I renamed the directory. Any thoughts on where I should look for the problem?

    Thanks,
    Kevin

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Change directory and now image uploads don't work

    Check permissions on the directory you are uploading to
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2007
    Posts
    69
    Plugin Contributions
    0

    Default Re: Change directory and now image uploads don't work

    /images drw-rw-rw

    Does that look right to you?

    Kevin

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Change directory and now image uploads don't work

    Try 777 or drwxrwxrwx
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v154 changed directory name, now site doesn't work
    By WebWeaver2000 in forum Basic Configuration
    Replies: 5
    Last Post: 5 Nov 2015, 10:19 PM
  2. v139h Went live and now links don't work
    By Pike Promo in forum General Questions
    Replies: 3
    Last Post: 13 May 2012, 11:38 PM
  3. Domain change-now things don't work
    By Spiritus in forum General Questions
    Replies: 2
    Last Post: 7 Mar 2011, 02:27 PM
  4. Added SSL. now all product download links don't work
    By TraderDan in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 29 Jul 2009, 03:57 PM
  5. File uploads don't work
    By paulh in forum Managing Customers and Orders
    Replies: 1
    Last Post: 27 Jun 2006, 05:19 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