Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Upgraded to PHP 5


mme

Recommended Posts

Hi

 

My host has just upgraded to PHP 5.1.6 and MySQL 4.1.22-standard

 

Now when ever I update the order status I get this error:

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/*********/public_html/site/shop/*********/includes/functions/database.php on line 117

Warning: Cannot modify header information - headers already sent by (output started at /home/*********/public_html/site/shop/*********/includes/functions/database.php:117) in /home/*********/public_html/site/shop/*********/includes/functions/general.php on line 22

 

I have tried changing the order status again when I switch the server to PHP 4.4.6 and it works with no errors

 

Any Suggestions?

Link to comment
Share on other sites

My host just did the same thing (without warning) and I had a few errors come up, I haven't got round to sorting it yet but if I see something similar to this I'll let you know.

Link to comment
Share on other sites

It would help if you posted the code.

 

Update your version with the required php5/mysql5 code snippets

 

http://www.oscommerce.com/community/contributions,4654

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...