imaginamation Posted July 27, 2004 Posted July 27, 2004 I am getting errors everytime I try to install Easy Populate, I have instaled it before on other sites and it works fine, but for some reason I cant get it to work. Here is the error I get when I try to upload a file: Warning: move_uploaded_file(/home/photowo/public_htmltemp/EP2004Jul27-0012.txt): failed to open stream: No such file or directory in /home/photowo/public_html/catalog/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/tmp/phpuAdvMe' to '/home/photowo/public_htmltemp/EP2004Jul27-0012.txt' in /home/photowo/public_html/catalog/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /tmp/phpuAdvMe User filename: EP2004Jul27-0012.txt Size: 91601 Warning: file(/home/photowo/public_htmltemp/EP2004Jul27-0012.txt): failed to open stream: No such file or directory in /home/photowo/public_html/catalog/admin/easypopulate.php on line 651 Warning: Invalid argument supplied for foreach() in /home/photowo/public_html/catalog/admin/easypopulate.php on line 674 I have all my permissions set right, and have my temp file made with the right permissions, but no matter what I do, I get this error. Thanks for anyone who can help. Cory
Guest Posted July 27, 2004 Posted July 27, 2004 take a look at this line: Warning: move_uploaded_file(/home/photowo/public_htmltemp/EP2004Jul27-0012.txt): evidently you have a document root setting incorrect, something wrong in configure.php, etc . . . also the support thread for easypopulate is here: http://www.oscommerce.com/forums/index.php?showtopic=64945 so post at the end of the thread the line 674 is most likely syntax or you have the master products version, that is answered in the thread, have to read thru to find it tho
Guest Posted July 27, 2004 Posted July 27, 2004 check the values of $tempdir and $tempdir2 in admin/easyppopulate.php. they must be set as: $tempdir = "/temp/";$tempdir2 = "temp/";
Guest Posted July 27, 2004 Posted July 27, 2004 Check if you have DIR_FS_DOCUMENT_ROOT properly configured in admin/includes/configure.php with a trailing slash in end: define('DIR_FS_DOCUMENT_ROOT', '/home/photowo/public_html/'); // where the pages are located on the server You must create a "temp" dir. in your main directory and set the permission as 777.
Guest Posted August 10, 2004 Posted August 10, 2004 Hello, I had a similar problem when uploading, I got something to your message: File uploaded. Temporary filename: /tmp/phpuAdvMe User filename: EP2004Jul27-0012.txt Size: 91601 Nothing was uploaded and no errors. I did a search on this forum and came to your post. For some odd reason, I saw the post about "$tempdir" and "$tempdir2", and set it both to "/temp/", and that solved the problem! Thank you for the post! I am a happy man! man... I love this forum... :lol:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.