Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with PHP 4.1.2 & snapshot?


jdvs

Recommended Posts

I hope someone has an idea... I'm going crazy here.

 

I have two osCommerce stores in development... both are on Linux running Apache, both are being accessed by the same browsers, but they have different PHP versions and MySQL versions, namely:

 

1.) PHP 4.1.2 and MySQL 3.23.49 does not work. * see below

2.) PHP 4.2.3 and MySQL 3.23.54-log works.

 

* What does not work, that I've discovered so far, is the admin side. When I try to create a Manufacturer, or a Category, no error is given but the name of the Manufacturer or Category does not get written to the db, and the image is not uploaded (I think; I'm mostly concerned about the name thing). When I try to add a product on (1) and click "preview" I received these errors:

 

Warning: Variable passed to reset() is not an array or object in /home/.../htdocs/shop/control/admin/includes/classes/object_info.php on line 17

 

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

 

 

All of this works great on (2). It is the EXACT same files, excluding the configure.php files. It seems like it is a server problem, or a db server problem, but I haven't been able to figure it out.

 

Any suggestions would be most greatly appreciated. I have a client who's growing impatient, and I don't want to use anything else.

 

I am using a snapshot version, but I do not, for the life of me, remember from which day. I apologize if this causes any diffuculty in answering my question.

 

Thank you.

 

 

dvs

 

(Hopefully, this is in the right area.)

Link to comment
Share on other sites

I hope someone has an idea... I'm going crazy here.

 

No need to go crazy :)

 

There problems are normally solved by ensuring the following

 

Register Globals is set to on

File Uploads is set to 1.

 

Check both of those in your php.ini file

Mark Evans

osCommerce Monkey & Lead Guitarist for "Sparky + the Monkeys" (Album on sale in all good record shops)

 

---------------------------------------

Software is like sex: It's better when it's free. (Linus Torvalds)

Link to comment
Share on other sites

:oops:

 

Now don't I feel sheepish. Those seem like two very obvious things to try before you go posting a long involved question on a discussion board... You were absolutely right, of course. It was the "allow http uploads" that was my problem. Seems to be working fine now.

 

 

Thanks much.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...