Karlin Posted September 10, 2003 Posted September 10, 2003 Before I start with the problem, let me state that I have read numerous threads about Easy Populate. I have checked my $temp in easypopulate.php, and it is set to: $tempdir = "/catalog/temp/"; $tempdir2 = "catalog/temp/"; And yes, the /temp directory has the permissions of 777on the server. I am not so sure about on the local PC (I am not much of a Windows person...). So then, here is the problem: Warning: Unable to create '.../OS_Commerce_Shopping_script/catalog//catalog/temp/EP2003Sept10-1402.txt': No such file or directory in .../OS_Commerce_Shopping_script/catalog/admin/easypopulate_functions.php on line 32 Warning: Unable to move '/tmp/phpKiR27w' to '.../OS_Commerce_Shopping_script/catalog//catalog/temp/EP2003Sept10-1402.txt' in /var/www/karlin/public_html/scripts/OS_Commerce_Shopping_script/catalog/admin/easypopulate_functions.php on line 32 File uploaded. Temporary filename: /tmp/phpKiR27w User filename: EP2003Sept10-1402.txt Size: 44992 Warning: file(".../OS_Commerce_Shopping_script/catalog//catalog/temp/EP2003Sept10-1402.txt") - No such file or directory in .../OS_Commerce_Shopping_script/catalog/admin/easypopulate.php on line 720 Warning: Invalid argument supplied for foreach() in .../OS_Commerce_Shopping_script/catalog/admin/easypopulate.php on line 738 Please also note this when I look in Tools/File Manager: File Manager .../OS_Commerce_Shopping_script/catalog//temp OR File Manager .../OS_Commerce_Shopping_script/catalog//images This does not seem right to me, but I have no idea how to fix it. Perhaps this weirdness is causing the Easy Populate errors? Regards, Karlin
Karlin Posted September 12, 2003 Author Posted September 12, 2003 OK, I have got the error message smaller by trying to upload from the /catalog/temp directory: Easy Populate 2.61-MS2 - Default Language : English(1) Filename: EP2003Sept10-1402.txt Warning: file("/var/www/karlin/public_html/scripts/OS_Commerce_Shopping_script/catalog//catalog/temp/EP2003Sept10-1402.txt") - No such file or directory in /var/www/karlin/public_html/scripts/OS_Commerce_Shopping_script/catalog/admin/easypopulate.php on line 733 Warning: Invalid argument supplied for foreach() in /var/www/karlin/public_html/scripts/OS_Commerce_Shopping_script/catalog/admin/easypopulate.php on line 738 Anyone know what causes this?
Guest Posted September 12, 2003 Posted September 12, 2003 ("/var/www/karlin/public_html/scripts/OS_Commerce_Shopping_script/catalog//catalog/temp/EP2003Sept10-1402.txt catalog//catalog ? Maybe copy paste mistake ?
Karlin Posted September 12, 2003 Author Posted September 12, 2003 No copy and paste mistake. I am thinking it might be a configuration issue? Maybe the path is defined with an extra "/catalog" that should not be there? But which path?
chfields Posted September 12, 2003 Posted September 12, 2003 make them both temp/ Thats what it took for me to fix that problem
Karlin Posted September 12, 2003 Author Posted September 12, 2003 That didn't work either. Actually I am seeing the //'s in the File Manager on all directories after /catalog. For example: /var/www/karlin/public_html/scripts/OS_Commerce_Shopping_script/catalog//admin So maybe I have an extra "/" somewhere? But where? I am really pulling my hair out over this one!!
geekGlassgal Posted September 13, 2003 Posted September 13, 2003 I had the same problem and I did change the $tempdir to just temp/ instead of catalog/temp/ and now it works?? me happy :D
Karlin Posted September 13, 2003 Author Posted September 13, 2003 Yes, it did work for me as well. I was looking in File Manager, and I kept seeing the //. That problem is still there, but Easy Populate is working for me now! :) Thanks. chfields! Regards, Karlin
Recommended Posts
Archived
This topic is now archived and is closed to further replies.