Page 1 of 3 123 LastLast
Results 1 to 10 of 23

easy populate - error

This is a discussion on easy populate - error within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; just downloaded the file and did a test upload and got this message - Any Ideas? Warning: move_uploaded_file(/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog//temp/EP2003Sep18-2210.txt): failed to ...

      
  1. #1
    Active Member
    Join Date
    Aug 2003
    Posts
    119
    Rep Power
    0


    Default easy populate - error

    just downloaded the file and did a test upload and got this message - Any Ideas?
    Warning: move_uploaded_file(/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog//temp/EP2003Sep18-2210.txt): failed to open stream: Permission denied in /home/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/admin/easypopulate_functions.php on line 32

    Warning: move_uploaded_file(): Unable to move '/var/tmp/phpXqHJkR' to '/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog//temp/EP2003Sep18-2210.txt' in /home/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/admin/easypopulate_functions.php on line 32


    File uploaded.
    Temporary filename: /var/tmp/phpXqHJkR
    User filename: EP2003Sep18-2210.txt
    Size: 100219

    Warning: file(/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog//temp/EP2003Sep18-2210.txt): failed to open stream: No such file or directory in /home/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/admin/easypopulate.php on line 720

    Warning: Invalid argument supplied for foreach() in /home/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/admin/easypopulate.php on line 738

  2. #2
    Anonymous
    Guest


    Default

    you have one two many slashes before //temp, you will have to edit your admin/easypopulate.php file. if your fail to solve it with editing this file just check your admin/includes/configure.php file has the correct values.

  3. #3
    Active Member
    Join Date
    Aug 2003
    Posts
    119
    Rep Power
    0


    Default

    Quote Originally Posted by Anonymous
    you have one two many slashes before //temp, you will have to edit your admin/easypopulate.php file. if your fail to solve it with editing this file just check your admin/includes/configure.php file has the correct values.
    // **** Temp directory ****
    // if you changed your directory structure from stock and do not have /catalog/temp/, then you'll need to change this accordingly.
    //
    $tempdir = "/temp/";
    $tempdir2 = "temp/";

    Is this where you think the //temp is wrong?

    The config looks ok.

  4. #4
    Active Member
    Join Date
    Aug 2003
    Posts
    119
    Rep Power
    0


    Default

    Removed the "/" before temp for $tempdir, now I get

    Warning: move_uploaded_file(/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/temp/EP2003Sep18-2109.txt): failed to open stream: Permission denied in /home/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/admin/easypopulate_functions.php on line 32

    Warning: move_uploaded_file(): Unable to move '/var/tmp/phpMC1FFr' to '/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/temp/EP2003Sep18-2109.txt' in /home/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/admin/easypopulate_functions.php on line 32


    File uploaded.
    Temporary filename: /var/tmp/phpMC1FFr
    User filename: EP2003Sep18-2109.txt
    Size: 69286

    Warning: file(/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/temp/EP2003Sep18-2109.txt): failed to open stream: No such file or directory in /home/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/admin/easypopulate.php on line 720

    Warning: Invalid argument supplied for foreach() in /home/hsphere/local/home/arkmusic/arkmusic.com.au/arkms2/catalog/admin/easypopulate.php on line 738

  5. #5
    Anonymous
    Guest


    Default

    I have stock MS2 no image mods. I installed EP commented out the extra images in ep.php Now I get this error

    1064 - You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'UPDATE products SET products_price="5" ,products_im

    UPDATE products SET products_price="5" ,products_image="" ,products_weight="0" ,products_tax_class_id="" ,products_date_available= "9/19/2003 9:45" ,products_date_added= "0000-00-00 00:00:00" ,products_last_modified=CURRENT_TIMESTAMP ,products_quantity="0" ,manufacturers_id=NULL , products_status=0 WHERE (products_id = "54")UPDATE products SET products_price="5" ,products_image="" ,products_weight="0" ,products_tax_class_id="" ,products_date_available= "9/19/2003 9:45" ,products_date_added= "0000-00-00 00:00:00" ,products_last_modified=CURRENT_TIMESTAMP ,products_quantity="0" ,manufacturers_id=NULL , products_status=0 WHERE (products_id = "54")


    here is that section of code...any help would be very appreciated as I have been working on this for about 6 hours

    $query = 'UPDATE products
    SET
    products_price="'.$v_products_price.
    '" ,products_image="'.$v_products_image;

    // unmcomment these lines if you are running the image mods

    $query .= //. $v_products_mimage . '", "'
    //. $v_products_bimage . '", "'
    //. $v_products_subimage1 . '", "'
    //. $v_products_bsubimage1 . '", "'
    //. $v_products_subimage2 . '", "'
    //. $v_products_bsubimage2 . '", "'
    //. $v_products_subimage3 . '", "'
    //. $v_products_bsubimage3 . '", "'


    $query .= '" ,products_weight="'.$v_products_weight.
    '" ,products_tax_class_id="'.$v_tax_class_id.
    '" ,products_date_available= ' . $v_date_avail .
    ' ,products_date_added= ' . $v_date_added .
    ' ,products_last_modified=CURRENT_TIMESTAMP
    ,products_quantity="'.$v_products_quantity.
    '" ,manufacturers_id='.$v_manufacturer_id.
    ' , products_status='.$v_db_status . '
    WHERE
    (products_id = "'. $v_products_id . '")';

    $result = tep_db_query($query);
    }

  6. #6
    Anonymous
    Guest


    Default

    I solved the problem...

  7. #7
    osCMax Developer

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


    Default

    Guest, It would be nice if you shared your solution... don't be selfish now...
    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

  8. #8
    Active Member
    Join Date
    Aug 2003
    Posts
    119
    Rep Power
    0


    Default

    Could anyone explain my problem (excluding the obvious iq issue and the social habits etc).
    What I did was downloaded the "complete" EP from a stock ms2 install and then tried to upload it again.
    Is it something stupid like "you've already got these in there you fool" issue? I cannot see that in the errors, looks like real issues.

    Could someone decipher what those messages mean?

    Joe

  9. #9
    Anonymous
    Guest


    Default

    I wish I could tell you....I have several different sites using different versions, I just kept switching until it worked. I have no idea what I did, all I know is it worked....

  10. #10
    osCMax Developer

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


    Default

    Notes dammit! Keep Notes!

    Oh well, I am glad you randomly fixed it!
    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

Page 1 of 3 123 LastLast

Similar Threads

  1. not so 'easy populate', upload error
    By danhosts in forum osCmax v2 Installation issues
    Replies: 5
    Last Post: 09-29-2006, 01:28 PM
  2. Easy Populate Error Message
    By markymrk22 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 07-07-2005, 12:42 PM
  3. Easy Populate v2.74 - Dwonload/Upload 1054 error
    By deekins in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 11-13-2004, 04:37 PM
  4. easy populate fatal error
    By americamba in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 01-18-2004, 12:43 PM
  5. Easy Populate https error
    By john- in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 12-27-2003, 06:13 PM

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
  •