Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error when adding products


Guest

Recommended Posts

Hi all,

 

I have a store that's been running for some time with approx 2,800+products.

 

Now when I go to add a a new product I get the dreaded lurgi type error:

 

Warning: reset(): Passed variable is not an array or object in /home/httpd/vhosts/stampinstyle.com/httpdocs/admin/includes/classes/object_info.php on line 17

 

Warning: Variable passed to each() is not an array or object in /home/httpd/vhosts/stampinstyle.com/httpdocs/admin/includes/classes/object_info.php on line 18

 

When I hit Preview.

 

The store's on 2.2 MS1. Seperate pricing per cutomer 3.5 installed and working fine.

 

Any ideas?

 

Thanks,

 

- Earl

Link to comment
Share on other sites

Found the solution - left out the "www" prefix in the 'HTTP_SERVER' in the admin/includes.configure.php

 

Put that in and it works like a charm.....Doh!

 

Kinda strange that it took so long for it to cause a hassle.

 

- Earl

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...