Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution]DirectPOS/Paysolution/Sparkassen-Internetkasse-Payment


husimon

Recommended Posts

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 by husimon
Link to comment
Share on other sites

  • 1 year later...

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...