Results 1 to 2 of 2

I get a warning every time I want to load an Image on the product catalog

This is a discussion on I get a warning every time I want to load an Image on the product catalog within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I get this: Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/home/catalog/images/top2.jpg) is not within the allowed path(s): (/dh/web/phpmyadmin:/tmp:/dh/solidclient:/usr/local/lib/php:/home/westcommicro:/home/.astra/westcommicro) in /home/.astra/com/catalog/admin/includes/classes/upload.php ...

      
  1. #1
    New Member
    Join Date
    Oct 2006
    Posts
    7
    Rep Power
    0


    Default I get a warning every time I want to load an Image on the product catalog

    I get this:

    Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(/home/catalog/images/top2.jpg) is not within the allowed path(s): (/dh/web/phpmyadmin:/tmp:/dh/solidclient:/usr/local/lib/php:/home/westcommicro:/home/.astra/westcommicro) in /home/.astra/com/catalog/admin/includes/classes/upload.php on line 94

    This message appears every time I want to upload an image to a product.

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,501
    Rep Power
    567


    Default Re: I get a warning every time I want to load an Image on the product catalog

    Your problem is that you are trying to use a directory outside of your directory tree.

    Your are trying to upload to /home/catalog/images/top2.jpg, but that is not allowed. You need to upload to /home/.astra/com/catalog/images/top2.jpg

    This usually means that there is a problem with your configure.php paths. Make sure they are correct and match your server.
    Michael Sasek
    osCMax Developer


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

Similar Threads

  1. Image Catalog v1.32
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 08-30-2007, 09:50 AM
  2. Which PayPal IPN to load?
    By DerekJ in forum osCmax v1.7 Discussion
    Replies: 5
    Last Post: 04-04-2005, 03:32 AM
  3. printable catalog link and image removal problem...
    By tam283 in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 03-28-2005, 03:44 PM
  4. Product add date wrong... but server time is right
    By dougnyc in forum osCMax v1.7 Installation
    Replies: 0
    Last Post: 12-18-2003, 09:14 PM
  5. One Page Will Not Load
    By annea03 in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 09-23-2003, 11: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
  •