cali_cobra Posted June 9, 2004 Share Posted June 9, 2004 Can someone please assist... I have been attempting to find a solution for trying to upload images in the admin catalog tool and am getting the following errors... Warning: move_uploaded_file(/home/tmsgems2/public_html/store/images/large_pics/andalusite/and101a.jpg): failed to open stream: Permission denied in /nfs/home/tmsgems2/public_html/store/admin/includes/classes/upload.php on line 94 Warning: move_uploaded_file(): Unable to move '/tmp/phpA9uYLp' to '/home/tmsgems2/public_html/store/images/large_pics/andalusite/and101a.jpg' in /nfs/home/tmsgems2/public_html/store/admin/includes/classes/upload.php on line 94 Warning: Cannot modify header information - headers already sent by (output started at /nfs/home/tmsgems2/public_html/store/admin/includes/classes/upload.php:94) in /nfs/home/tmsgems2/public_html/store/admin/includes/functions/general.php on line 18 What does this all mean???? HEELPPPP! I am stuck and need assistance. How do you upload or associate images with catagories, subcatagories and product items? I have followed directions from other discussions, wiki and so forth. Nothing works.... Link to comment Share on other sites More sharing options...
Guest Posted June 9, 2004 Share Posted June 9, 2004 Try setting your permissions correctly. chmod 776 /home/tmsgems2/public_html/store/images -R that should do it - if not, try chmod 777 /home/tmsgems2/public_html/store/images -R NOTE: these are shell commands you type when logged in via telnet/SSH Link to comment Share on other sites More sharing options...
cayenne Posted June 16, 2004 Share Posted June 16, 2004 was getting a different error message, but 777 fixed it right up for me - thanks! Link to comment Share on other sites More sharing options...
cali_cobra Posted June 22, 2004 Author Share Posted June 22, 2004 Applied changes and still having errors. Any other suggestions? :blink: :blink: Link to comment Share on other sites More sharing options...
cali_cobra Posted June 24, 2004 Author Share Posted June 24, 2004 I have uploaded php.ini with upload=on, chmod settings on directories, re-installed the store, and still am getting the following errors when uploading using admin tool: Warning: move_uploaded_file(): open_basedir restriction in effect. File(/home/tmsgems2/public_html/store/images/Winter.jpg) is not within the allowed path(s): ('.:/tmp:/home:/usr/local/lib/php:/nfs/home:/usr/home:/usr/local/bin:/usr/local/apache/htdocs:') in /nfs/home/tmsgems2/public_html/store/admin/includes/classes/upload.php on line 94 Warning: Cannot modify header information - headers already sent by (output started at /nfs/home/tmsgems2/public_html/store/admin/includes/classes/upload.php:94) in /nfs/home/tmsgems2/public_html/store/admin/includes/functions/general.php on line 18 What else can I do?? I need to go live and get this going.... Please help.... Thank you. Link to comment Share on other sites More sharing options...
ohblah Posted August 4, 2004 Share Posted August 4, 2004 Jim - Did you manage to solve that problem ? It appears to be an extremely common problem, but none of the threads actually ends in answers. :o ---------------------------------------- One day I will be a newie no more Link to comment Share on other sites More sharing options...
cali_cobra Posted August 4, 2004 Author Share Posted August 4, 2004 I had space after the end of my configure.php script. Once I got rid of the space, the errors went away. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.