Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disappearing Products and Categories


Guest

Recommended Posts

My store is behaving rather strangely. When I make any changes to product or category information, all of the information just disappears and I end up with a blank inactive product or a blank category. If I try to create a new product or category, I get errors like "Warning: Variable passed to reset() is not an array or object in /var/www/html/admin/includes/classes/object_info.php on line 17." It looks like somehow all of the information simply isn't getting passed. I'm using the Category Description contribution and have added my own "Short Description" functionality to products, but all of this was working fine on my test server and only freaked out when I put it on what will eventually be the live server. Unfortunately, the test server is Windows and the live server is Linux, but as far as I know, all of the path information and stuff like that has been correctly changed in all of the config files. Even if it isn't, that doesn't seem like the kind of thing that would cause all of the data to get lost somehow.

 

Any help you can offer would be great - I'm pretty well lost here.

 

Thanks!

Aaron

Link to comment
Share on other sites

I'm having the same thing happen. I've noticed that if I switch browsers (Mozilla to IE or visa versa) then sometimes I get the catalog back. This leads me to believe it is a caching problem, but all my cache settings are turned off.

Link to comment
Share on other sites

Mine seems to be persistent cross-browser. No other feature in the admin area is broken. This is really baffling me... thanks for the reply, though!

 

Aaron

Link to comment
Share on other sites

if you are having problems with ie browsers on disapearing orders (i haven't heard of disapearing products before... but it could be related (?) ) which usually happens on ssl pages (https) you might want to add this to your webserver (apache in my case) :

 

in the <IfModule mod_ssl.c> section

and while you are at it in the <IfModule mod_setenvif.c> too

 

SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0

 

or pass it on to your hosting company if you don't have access to it.

 

this is caused by an ie bug..

 

 

i'm not sure if this is your problem but i hope this helps.

Designrfix.com | Graphic Design Inspiration & Web Design Resources - @designrfix
Link to comment
Share on other sites

Just in case anyone runs across this problem in the future - I did eventually figure it out. I had file uploads disabled in php.ini, which caused the multipart form data to get dumped from HTTP_POST_VARS. Since there was nothing in HTTP_POST_VARS, all of the values the form was looking for were replaced with zero, causing the product/category to end up blank. Turning uploads on in php.ini fixed it.

Link to comment
Share on other sites

  • 4 weeks later...

I have exactly the same problem (does not matter which browser I use) BUT after a while (a few minutes) it all of a sudden works. Everything else works fine. I am the server was recently updated with the newest security fixes and version of PHP .

I suppose this cuts out the possiblility of the php.ini solution.

Link to comment
Share on other sites

Just checked it and globals are on as well as uploads are also on in the php.ini.

I did some further trying and found that I cannot upload any images using the "add category" and "add product" for say 20 minutes and then after that time i can all of a sudden do it with any browser and as many times as I want. After logging on as admin (using the .htaccess) I can even just walk away from the computer and do no more on it and when I come back I can all of a sudden upload where as I could try for the whole 20 minutes (time varies) and still not get to uploading anything until i get over the time barrier.

As soon as I switch all browser windows off and then start again I am unable to do it again until some time has expired.

Using the filemanager to upload works fine.

I am sure it is not oscommerce problem just wondering if anyone has heard of it before??? I have asked the network but they have no upload blocking, the firewall switched off does not help either. tried Opera and IE 6 running on XP home sp1.

This could be an XP issue as I recently changed from Pro to home.

Anybody any idea????

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...