Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Posts
    36
    Plugin Contributions
    0

    Default File Upload thru store giving error

    I've tested uploading through a specific product and it's work fine. Yet other customers seem to be getting this error intermittently:

    [23-Feb-2008 19:25:37] PHP Warning: move_uploaded_file(/tmp/php1VKCC2) [<a href='function.move-uploaded-file'>function.move-uploaded-file</a>]: failed to open stream: No such file or directory in /home/*****/shop/includes/classes/upload.php on line 136

    We just moved to a fully dedicated server and this has begun.

    /pub directory has 777 permissions.

    Any ideas? TIA!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: File Upload thru store giving error

    This likely means that your PHP processes may not have the required rights to the /tmp folder.

    Specifically, the upload.php class is attempting to move the file uploaded by your browser from its temporary location in the /tmp folder to the intended destination in one of your store folders ... but can't. Namely, it's unable to find the file in the /tmp folder via the name it's expecting to see.

    You may have to work with your hosting company to set up the right permissions etc.
    .

    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
    Feb 2007
    Posts
    36
    Plugin Contributions
    0

    Default Re: File Upload thru store giving error

    Thanks. Usine the FILE upload attribute for a product, isn't the PHP process writing the record there? THis happened on an order with 3 products like this and the first product added to the cart and supplied a file failed but the other 2 products with files uploaded worked.

 

 

Similar Threads

  1. v151 Error: File upload not saved
    By leon2lil in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 Jul 2015, 01:00 AM
  2. File Upload Error
    By kenneth_w in forum Installing on a Windows Server
    Replies: 3
    Last Post: 8 Sep 2012, 06:47 PM
  3. v139d Error: File upload not saved
    By RDClipart in forum General Questions
    Replies: 1
    Last Post: 12 Feb 2012, 03:12 PM
  4. Missing files in upload thru Simple Scripts New install
    By kachinas in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 17 Jan 2009, 06:53 PM
  5. Error: File upload not saved.
    By webefendi in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 16 Nov 2006, 10:23 PM

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