Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP problem when i upload new items


robertdish

Recommended Posts

Posted

Hi, i have a year with my os commerce without problems

with my hosting, they change from server to a new one,

 

when i try to add new items (action=new_product),

i have an 406 error

and

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/ojonet/public_html/cervezas/admin/includes/classes/object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in /home/ojonet/public_html/cervezas/admin/includes/classes/object_info.php on line 18

 

i repair the file and the database and nothing happens

any suggestions ?

Posted

Ok, I've been able to solve my issue.

If your problem is also due to the SSL setting for your Admin area, try doing the following:

 

In your admin/includes/configure.php file replace this code

 

define('HTTP_SERVER', 'http://yourdomain.com');

 

for https or http again

Archived

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

×
×
  • Create New...