geigo Posted June 26, 2003 Posted June 26, 2003 Is there a more idiot proof way to upload images? I would like to set up a a person with very simple computer skills to do the data entry and general catalog setup. JG
xxGeek Posted June 26, 2003 Posted June 26, 2003 i belive it can't be any simpler than it already is but you need to explain what exactly you want it to do The more you do, the more you learn
geigo Posted June 27, 2003 Author Posted June 27, 2003 I was under the impression (Always a fatal statement) that the images had to be local to the server, and that the browse path was supposed to reference the path local to the server. I thought this because I get the following errors everytime I try to select an image. NOTE: This is on a Windows 2000 machine. (Please don't hold that against me too much) Warning: move_uploaded_file(/catalog/images/image0001.jpg): failed to open stream: No such file or directory in c:inetpubwwwrootcatalogadminincludesfunctionsgeneral.php on line 789 Warning: move_uploaded_file(): Unable to move 'C:PHPuploadtempphp3C5.tmp' to '/catalog/images/image0001.jpg' in c:inetpubwwwrootcatalogadminincludesfunctionsgeneral.php on line 789 Warning: Cannot modify header information - headers already sent by (output started at c:inetpubwwwrootcatalogadminincludesfunctionsgeneral.php:789) in c:inetpubwwwrootcatalogadminincludesfunctionsgeneral.php on line 18
rainbowsheep Posted June 27, 2003 Posted June 27, 2003 If you've installed php on a windows box, it looks like you didn't do it correctly.
Harald Ponce de Leon Posted June 27, 2003 Posted June 27, 2003 Warning: move_uploaded_file(/catalog/images/image0001.jpg): failed to open stream: No such file or directory in c:inetpubwwwrootcatalogadminincludesfunctionsgeneral.php on line 789 It looks like the DIR_FS_DOCUMENT_ROOT parameter is empty, which is set in admin/includes/configure.php. I guess it would be c:/inetpub/wwwroot in your case. , osCommerce
geigo Posted June 27, 2003 Author Posted June 27, 2003 I did that plus changed the permissions on the folder for the internet user. BINGO! Question, does this mean that anybody can write to this directory?
Harald Ponce de Leon Posted June 27, 2003 Posted June 27, 2003 I did that plus changed the permissions on the folder for the internet user. BINGO!Question, does this mean that anybody can write to this directory? That depends on what permissions you gave to the directory. It should be sufficient for the web server to write to. Then again, it also depends if the server is shared or dedicated. Dedicated servers are mostly more secure than shared servers. , osCommerce
Guest Posted July 2, 2003 Posted July 2, 2003 Guys! Where exactly is the image directory configured? I know it seems like a silly questions after reading the last post but! read on.. The DIR_FS_DOCUMENT_ROOT is correct BUT! In the path error I get .../images/images/.....so the image directory variable has been quoted twice me thinks! I have omitted the image/ directory variable in configure.php but it made no difference so the guilty variable must be elsewhere? Any ideas / pointers appreciated.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.