ihmt Posted June 3, 2005 Share Posted June 3, 2005 I'm sure the problem I'm having is already solved, but I honestly can't find the solution in "Contribution Support". Might I humbly suggest (to whoever is responsable for the osCommerce forums) the creation of dedicated forums for specific contributions i.e. "Easy Populate support forum" ? I've read in a couple of places that there is a specific thread for Easy Populate support, but I can't find it. On the other hand I've found loads of threads dealing with this subject. I've spent hours searching and sifting forum threads - but no luck. --------------------------------------------------------------------------------------------- Now for my problem! A couple of days ago, I installed osCommerce and Easy Populate 2.76 (both freshly downloaded). They both installed smoothly first time round. I tried downloading with EP and it went fine, creating the default TAB-separated file, which I accessed with Excel, without modifying anything at all. Then I tried to upload the file again, and I got the following error: Warning: move_uploaded_file(/var/www/html/tienda/catalog//tienda/catalog/temp/EP2005jun04-0909.txt): failed to open stream: No such file or directory in /var/www/html/tienda/catalog/admin/easypopulate_functions.php on line 32 Warning: move_uploaded_file(): Unable to move '/tmp/phpzTPInm' to '/var/www/html/tienda/catalog//tienda/catalog/temp/EP2005jun04-0909.txt' in /var/www/html/tienda/catalog/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /tmp/phpzTPInm User filename: EP2005jun04-0909.txt Size: 47404 Warning: file(/var/www/html/tienda/catalog//tienda/catalog/tempEP2005jun04-0909.txt): failed to open stream: No such file or directory in /var/www/html/tienda/catalog/admin/easypopulate.php on line 666 Warning: Invalid argument supplied for foreach() in /var/www/html/tienda/catalog/admin/easypopulate.php on line 689 I've repeated the process several times, but the result is always the same. I've revised the configuration in easypopulate.php to see if there were any tipos or missed out items, but everything seems to be OK. The "temp" folder also has the rwx attributes assigned and I can't see anything else amiss. As osCommerce was installed to .../html/tienda, this was also taken into consideration when configuring easypopulate.php, e.g. "$tempdir" is set to tienda/catalog/temp/ One thing I've noticed is that 2 of the error lines include "...catalog//tienda..." (notice the double slash). I even tried eliminating the ending slash on the "$tempdir" setting, but no difference. I've even read the full installation manual - twice!!! Any clues anyone? Quote I thought you were going to do it. You thought I was going to do it. We all thought somebody else was going to do it. At the end of the day, nobody did it. That's teamwork. Link to comment Share on other sites More sharing options...
Dada1 Posted June 3, 2005 Share Posted June 3, 2005 Have you set your $DOCUMENT_ROOT? Quote Link to comment Share on other sites More sharing options...
ihmt Posted June 4, 2005 Author Share Posted June 4, 2005 Have you set your $DOCUMENT_ROOT? <{POST_SNAPBACK}> I have got it working correctly now. I changed the $tempdir from tienda/catalog/temp/ to /temp/ When you mentioned $DOCUMENT_ROOT, were you referring to $tempdir or something else? I want to make sure my configuration does not give me any further problems. Quote I thought you were going to do it. You thought I was going to do it. We all thought somebody else was going to do it. At the end of the day, nobody did it. That's teamwork. Link to comment Share on other sites More sharing options...
Guest Posted June 4, 2005 Share Posted June 4, 2005 means your document root setting is wrong, set it in your admin/includes/configure.php file Quote Link to comment Share on other sites More sharing options...
ihmt Posted June 9, 2005 Author Share Posted June 9, 2005 means your document root setting is wrong, set it in your admin/includes/configure.php file <{POST_SNAPBACK}> I've just checked the configure.php file. The document root is set at /var/www/html/tienda/catalog/ which is correct. Now I understand why my uploads were not working: I had set $tempdir to /tienda/catalog/temp, so there was a duplication of folders when $tempdir was appended to the document root. I shall bear in mind the configure.php file for future reference/problems. Thanks a lot for your help. Quote I thought you were going to do it. You thought I was going to do it. We all thought somebody else was going to do it. At the end of the day, nobody did it. That's teamwork. Link to comment Share on other sites More sharing options...
Guest Posted June 9, 2005 Share Posted June 9, 2005 document_root is incorrect, please go to admin/tools/server info and search for document_root Quote Link to comment Share on other sites More sharing options...
ihmt Posted June 22, 2005 Author Share Posted June 22, 2005 I applied the corrections you mentioned and now everything seems to be in place. Thanks a lot. Quote I thought you were going to do it. You thought I was going to do it. We all thought somebody else was going to do it. At the end of the day, nobody did it. That's teamwork. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.