Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Errors adding products and manufacturers


shedb6y

Recommended Posts

Posted

Hi,

 

Downloaded 2.1, running apache on win2000.

 

When I try to add products or manufacturers I get the error

 

Warning: Unable to open '' for reading: Permission denied in c:apacheapachehtdocsscartadminmanufacturers.php on line 19

 

Now line 19 says

copy($manufacturers_image, $image_location);

 

and I have determined that $image_location="c:/apache/apache/htdocs/scart/catalog/images"

and

$manufacturers_image="" (blank, not 'none')

 

So it looks like it's not picking up the values from the form, but it is picking up changes in the name and updating those, so database connectivity is fine.

 

New to PHP and osC,

Thanks.

  • 2 weeks later...
Posted

I get the same error on Trustix Linux (a reduced redhat)

 

running apache 1.3.26

and mod_php 4.0.6

 

The

$HTTP_POST_VARS['...'] seem to be empty.

 

---- php.ini on the system sais:

; Note - track_vars is ALWAYS enabled as of PHP 4.0.3

variables_order = "EGPCS"

register_globals = On

file_upload = On

---- so far with rtfm ;)

Posted

Real stupid 'user error' :/

 

At least with v2.2 from CVS this will help out:

 

Fill in ALL Languages when adding categories/products,

at least the english, since the admin is in english.

Archived

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

×
×
  • Create New...