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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    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!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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 in uploading images in v1.5.1
    By elvisstuff in forum General Questions
    Replies: 8
    Last Post: 11 Oct 2012, 10:03 PM
  2. v138a Problem with Uploading Images
    By Robert_P in forum Customization from the Admin
    Replies: 1
    Last Post: 26 Apr 2012, 03:28 PM
  3. Problem uploading images on new server.
    By buyashed in forum General Questions
    Replies: 4
    Last Post: 15 Feb 2010, 03:03 PM
  4. Uploading Images
    By tradescantia in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Sep 2009, 04:23 PM
  5. Problem uploading images
    By FHCeramics in forum Templates, Stylesheets, Page Layout
    Replies: 23
    Last Post: 28 Nov 2006, 02:22 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