mme Posted August 19, 2008 Share Posted August 19, 2008 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 More sharing options...
Guest Posted August 19, 2008 Share Posted August 19, 2008 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 More sharing options...
spooks Posted August 19, 2008 Share Posted August 19, 2008 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 More sharing options...
mme Posted August 19, 2008 Author Share Posted August 19, 2008 Here are the 3 .php files admin/orders.php ,admin/includes/functions/general.php and database.php http://www.box.net/shared/14jkz0p7us Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.