MyBB Community Forums

Full Version: Promotion system bug (?)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I found an unsolved bug report on this, but the problem seems to persist. The promotions generate the following log entries:


Promotion System  	Heute, 02:31:00  	Warning - [2] 'array_keys() [<a href=\'function.array-keys\'>function.array-keys</a>]: The first argument should be an array' - Line: 751 - File: inc/db_mysql.php
Promotion System 	Heute, 02:31:00 	Warning - [2] 'implode() [<a href=\'function.implode\'>function.implode</a>]: Bad arguments.' - Line: 752 - File: inc/db_mysql.php
Promotion System 	Heute, 02:31:00 	MyBB SQL Error - [20] array (
'error_no' => 1064,
'error' => 'You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'\' at line 3',
'query' => '
INSERT
INTO mybb_promotionlogs (``)
VALUES
',
)





MyBB Version 1.4.9
PHP Version 5.2.0-8+etch11
SQL Engine MySQL 5.0.32
Apache 2.2.3 on Debian Linux
www.linguisten.de
If the issue is in the tracker, then we already know about it.

If you have anything to add, please add it to the issue.
can't add it there. just to confirm it's still there and reproducible.
as you can see, it's also there in 1.4.9.
Yes, it's still in 1.4.9 because 1.4.9 was a security only release, and it hasn't been fixed in the SVN anyway so it would still be there...
(2009-11-12, 06:19 PM)linguist Wrote: [ -> ]can't add it there. just to confirm it's still there and reproducible.

You need to register on the development site to be able to update an issue.

Our SQA Team were unable to reproduce the error; what's the settings for your promotion?
'error' => 'MySQL server version for the right syntax to use near \'\' at line 3',

\'\' at line 3', try to remove '\' and use other syntax Smile)