Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Problems adding categorys or products...


Recommended Posts

Hi Guys,

i am having problems, adding categorys or products to osc 2.2CSV.

If i ad a category, the category is there, but no name?

If i ad a product do i getth fllowing:

Warning: Variable passed to reset() is not an array or object in /var/www/html/catalog/admin/includes/classes/object_info.php on line 17


Warning: Variable passed to each() is not an array or object in /var/www/html/catalog/admin/includes/classes/object_info.php on line 18


Does anybody have an idea?

Thanks in advance


Link to comment
Share on other sites

I am feeling kind of lonely here, talking to myself. Oh well..

Some more infos....


I can register as a customer. That works fine.

But if i ad a Category, I just get a folder symbol and no text or picture.

It is the same when i try to ad a manufacturer.


It is strange. It looks like the db access from the catalog part is ok.

If i try something from the admin part, nothing shows up.


Pleaaaaaase help.


I already reloaded the database, but no cure...

Link to comment
Share on other sites

Ok, guys,

looks like nobody can help me or is be able to tell me where to start looking. I am a little bit disappointed.

But that looks like the typical open source problem. If a question is easy, everybody answers. If nobody knows, well.....

So anyways, looks like i needs to find something different. I cant figure this problem out and nobody is be able to help me.




Link to comment
Share on other sites

Please PLEASE let me know if you find an answer for this issue. I have spent about 4 hours trying to get this straightened out and I am no closer to resolution when I started.


It is NOT a permissions issue. The httpd process owner has WRITE permission on the images directory.



Link to comment
Share on other sites

This should probably be an FAQ item, but darned if I could find it...


Check your /etc/php.ini file and make sure that the "file_uploads" directive is set to "On".

I had recently updated my PHP installation, and I suspect that the my php.ini file was overwritten with a version that had this set to "Off".


Other things to check, of course, are the permissions on the images directory. The owner of the httpd process must be able to write to that directory. Typically, the owner is "apache" or "nobody".

Link to comment
Share on other sites


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

  • Create New...