Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2007
    Posts
    15
    Plugin Contributions
    0

    Default Problem uploading images

    Hey, i know this question has been asked a million times before, but i have looked around and cant find any help for me specific question.

    I am trying to upload images to the main directory however when trying to it tells me that it is unable to upload the images.

    Below is a screen shot of my server's files. You can see where the permissions is i am unable to change the var directory as it is not underlined.


    I am using Plesk for my file server .

    I am pretty new to Zen Cart so i'm learning as i go. Is it possible to change the directory where the temp file is saved, because its saying the it cannot save the temp file, due to restrictions.

    Am i doing something wrong

  2. #2
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Problem uploading images

    In your Zen Cart admin, there is a "Version" tab in the upper right corner. Click on it.

    Now look for the settings for:
    - file_uploads
    - upload_max_filesize
    - upload_tmp_dir
    - user_dir

    What are they?

    What is your hosting company telling you about the problems doing uploading via PHP?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Nov 2007
    Posts
    15
    Plugin Contributions
    0

    Default Re: Problem uploading images

    Thanks for your reply

    I have not asked the hosting company about my problems, i though i would rule out my own mistakes first.

    In version the File uploads is marked as 'On'
    The Max File size is '2M'
    Upload_tmp_dir = 'no value'
    user_dir = 'no value'

  4. #4
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Problem uploading images

    You might be able to specify an upload_tmp_dir setting via a custom php.ini file; that way you could set a folder to be writable, and it would use that for doing uploads. Typically the server's "tmp" folder would be used for that purpose.

    But, sometimes the hosting company prohibits the use of php.ini overrides.


    You've never said what exactly your upload failure error messages were ...
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Problem with images!!!
    By canad1an in forum All Other Contributions/Addons
    Replies: 43
    Last Post: 19 Oct 2009, 04:29 AM
  2. Uploading Images...HELP!!!
    By OneBadSuperbird in forum General Questions
    Replies: 5
    Last Post: 20 Apr 2007, 02:37 PM
  3. Category Images Problem - Bizarre
    By billmad in forum Basic Configuration
    Replies: 7
    Last Post: 18 Feb 2007, 04:13 PM
  4. Bulk uploading images
    By SilverKop in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Sep 2006, 05:40 PM
  5. Problem displaying multiple images
    By gg66 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 2 Jul 2006, 02:25 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
  •