Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help - images not uploading with admin tool


cali_cobra

Recommended Posts

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

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

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

  • 1 month later...

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...