Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2006
    Posts
    1
    Plugin Contributions
    0

    Error: File upload not saved. Help

    I can not upload Products Image

    Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/www/data/www.?????.??/catalog/images/medium/icon.gif) is not within the allowed path(s): (/www/06/siivelt.pri.ee:/www/data/?????.??/tmp) in /www/06/???????.??/catalog/admin/includes/classes/upload.php on line 112

  2. #2
    Join Date
    Oct 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Error: File upload not saved. Help

    It looks like the same error here!

    Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/var/tmp/phpZ5kIn8) is not within the allowed path(s): (/usr/home/****:/usr/lib/php:/usr/local/lib/php:/tmp) in /usr/home/*****/public_html/gallerij/admin/includes/classes/upload.php on line 112


    Does more people have this?
    What can we do about it

  3. #3
    Join Date
    Oct 2006
    Posts
    21
    Plugin Contributions
    0

    Default Re: Error: File upload not saved. Help

    Do you have your folder permissions set to allow uploads to that folder?

  4. #4
    Join Date
    Oct 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Error: File upload not saved. Help

    Yes, the map Images is writteble

  5. #5
    Join Date
    Jan 2004
    Posts
    60,683
    Blog Entries
    4
    Plugin Contributions
    149

    Default Re: Error: File upload not saved. Help

    Quote Originally Posted by altijd-online View Post
    Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/var/tmp/phpZ5kIn8) is not within the allowed path(s): (/usr/home/****:/usr/lib/php:/usr/local/lib/php:/tmp)
    The file you uploaded was sent from your browser to the webserver into this folder+filename, based on the configuration of your webserver's PHP settings:
    /var/tmp/phpZ5kIn8

    However, it appears that your webserver's PHP configuration also prevents you from having PHP move the file from its temporary upload location into your webroot area where your main site files are located:
    /usr/home/****


    Unless you are the sysadmin of the server, there is nothing "you" can do yourself about this.

    You will have to have your hosting company correct their PHP configuration by either:
    - change the PHP upload_tmp_dir path to the /tmp folder
    or
    - change the open_basedir restrictions to allow access to the /var/tmp folder
    .

    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.



  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,151
    Plugin Contributions
    0

    Default Re: Error: File upload not saved. Help

    open_basedir restriction
    - this setting is related to Ownership, of a file or dir.

    Problems are usually caused by trying to upload somewhere where you do not have Ownership and therefore, do not have access rights. Using 'open_basedir restriction' is a common security measure used by Hosters and does not cause problems when 'path' used is correct.

    If you can upload the file using an FTP program but not through the script, you should double-check the 'path' settings in your config files. If you cannot upload using an FTP program then directory Ownership is the problem. Best solution in these type situations is to contact your Hoster. If you cannot figure out the solution, they can.

  7. #7
    Join Date
    Oct 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: Error: File upload not saved. Help

    Thanxs for the posts!
    I will contact the hoster and make it his problem....

    thanxs again

    Roel

 

 

Similar Threads

  1. Error: File upload not saved.
    By businesstoweb in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 5 Dec 2006, 06:34 PM
  2. Upload module
    By fweb in forum General Questions
    Replies: 6
    Last Post: 18 Aug 2006, 01:29 PM
  3. Upload module 2
    By fweb in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 28 Jul 2006, 10:23 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
  •