husimon Posted November 8, 2006 Share Posted November 8, 2006 (edited) Thanks first of all for the detailed instruction set provided by Mr. Berg as of 13. Oct. 2006. Unfortunately, I am getting an unexpected error, when I try to install it on my Test-System. Files containing other contribution relevant code were modified as given. Sure $db_query has valid data. checked it by doing echo() on it (see first line): ------------------------------------ select * from orders_status where orders_status_id=9 and orders_status_name='Bezahlt' Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/catalog/admin/includes/functions/database.php on line 120 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/catalog/admin/includes/functions/database.php:119) in /srv/www/htdocs/catalog/admin/includes/functions/general.php on line 22 Erste Zeile habe ich per echo() ausgegeben. Die Query ist ja OK! Check auf DB zeigt es auch. DATABASE: mysql> connect test Connection id: 157 Current database: test mysql> select * from orders_status where orders_status_id=9 and orders_status_name='Bezahlt'; +------------------+-------------+--------------------+ | orders_status_id | language_id | orders_status_name | +------------------+-------------+--------------------+ | 9 | 2 | Bezahlt | +------------------+-------------+--------------------+ 1 row in set (0.02 sec) ------------------------------------ Could someone please give me some idea for locating the cause of this error. Much appreciated. Edited November 8, 2006 by husimon Quote Link to comment Share on other sites More sharing options...
Grinse Posted March 12, 2008 Share Posted March 12, 2008 Hi there, have you fixed the problem because I have the same problem? Thx Grinse Thanks first of all for the detailed instruction set provided by Mr. Berg as of 13. Oct. 2006. Unfortunately, I am getting an unexpected error, when I try to install it on my Test-System. Files containing other contribution relevant code were modified as given. Sure $db_query has valid data. checked it by doing echo() on it (see first line): ------------------------------------ select * from orders_status where orders_status_id=9 and orders_status_name='Bezahlt' Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in /srv/www/htdocs/catalog/admin/includes/functions/database.php on line 120 Warning: Cannot modify header information - headers already sent by (output started at /srv/www/htdocs/catalog/admin/includes/functions/database.php:119) in /srv/www/htdocs/catalog/admin/includes/functions/general.php on line 22 Erste Zeile habe ich per echo() ausgegeben. Die Query ist ja OK! Check auf DB zeigt es auch. DATABASE: mysql> connect test Connection id: 157 Current database: test mysql> select * from orders_status where orders_status_id=9 and orders_status_name='Bezahlt'; +------------------+-------------+--------------------+ | orders_status_id | language_id | orders_status_name | +------------------+-------------+--------------------+ | 9 | 2 | Bezahlt | +------------------+-------------+--------------------+ 1 row in set (0.02 sec) ------------------------------------ Could someone please give me some idea for locating the cause of this error. Much appreciated. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.