osCmax v2.5 User Manual
Results 1 to 2 of 2

easypopulate : HTTP wrapper, writeable connections

This is a discussion on easypopulate : HTTP wrapper, writeable connections within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi When i try to import a file into my version of oscmax, i get the error below. I can ...

      
  1. #1
    New Member
    Join Date
    Nov 2003
    Posts
    6
    Rep Power
    0


    Default easypopulate : HTTP wrapper, writeable connections

    Hi

    When i try to import a file into my version of oscmax, i get the error below. I can see that it is coming from the move_uploaded_file() call, but what i do not understand is the part of the message referring to writable streams. I assume that the server must be configured in some way (?) but i do not know what i must change, can anyone shed some light on this matter for me please?

    Code:
    Warning: move_uploaded_file(http://www.domain.com/store/temp/stash.txt): failed to open stream: HTTP wrapper does not support writeable connections. in /html/store/admin/easypopulate_functions.php on line 32
    
    Warning: move_uploaded_file(): Unable to move '/tmp/phpENFRfA' to 'http://www.domain.com/store/temp/stash.txt' in /html/store/admin/easypopulate_functions.php on line 32
    thanks A

  2. #2
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default

    Is PHP.INI safe_mode on?

    When safe mode is enabled, PHP checks whether the files or directories you are about to operate on have the same UID (owner) as the script that is being executed.

    Check your PHP.INI open_basedir as this may also make this fail. Make sure /tmp and your site is listed! (may also have been set in httpd.conf - on a per site basis)
    ie:

    open_basedir = ../tmp/; /html/public


    Good luck
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

Similar Threads

  1. http://www.adoptafurby.com Thanks!!!
    By r_fulton13 in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 01-19-2006, 03:51 AM
  2. Connections to MySQL not closing
    By jbanda in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 11-10-2005, 08:11 AM
  3. Error: Catalog images directory is not writeable:
    By shellarts in forum osCommerce 2.2 Installation Help
    Replies: 2
    Last Post: 06-07-2005, 06:32 PM
  4. define mainpage - its says file not writeable
    By jloyzaga in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 10-08-2003, 12:29 PM
  5. Destination not writeable Error
    By bridgepointgraphics in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 06-12-2003, 11:43 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
  •