Current time: 03-22-2010, 03:25 AM Hello There, Guest! (LoginRegister)


Promotion bug
07-03-2009, 12:04 PM (This post was last modified: 07-03-2009 12:06 PM by Snowball.)
Post: #1
Promotion bug
Our promotion system is not working, the task log records the following errors:

Quote:Warning - [2] 'array_keys() [<a href=\'function.array-keys\'>function.array-keys</a>]: The first argument should be an array' - Line: 763 - File: inc/db_mysqli.php
Quote:Warning - [2] 'implode() [<a href=\'function.implode\'>function.implode</a>]: Invalid arguments passed' - Line: 764 - File: inc/db_mysqli.php
Quote: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
',
)

The promotion is simply assigning a new group to posters with over 5 posts
Find all posts by this user
07-03-2009, 12:29 PM
Post: #2
RE: Promotion bug
Well, what are you using? 1.4.8? What's your server environment and, if this has worked in the past, what changes have you made recently?

Tomm M
MyBB Developer ยป Marketing Designer & Systems Developer
Find all posts by this user
07-03-2009, 12:33 PM
Post: #3
RE: Promotion bug
I'm using 1.4.8, I recently re-installed on a new server, and it seemed to work briefly, but most users are not getting promoted. Running on a Linux server using Apache and MySQL.
Find all posts by this user
07-03-2009, 08:45 PM
Post: #4
RE: Promotion bug
what plugins or modifications do you have installed?

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
07-06-2009, 09:26 AM
Post: #5
RE: Promotion bug
None [that was too short to post apparently, so this is space filler]
Find all posts by this user
07-10-2009, 03:32 PM
Post: #6
RE: Promotion bug
Still having this problem, is there any more information needed to help solve this?
Find all posts by this user
07-10-2009, 07:32 PM
Post: #7
RE: Promotion bug
I cannot reproduce on Apache with MySQL.

-Doug
MyBB Developer
XHTML/CSS Designer, PHP & MySQL Developer | My Twitter
Do not PM me for support or a custom theme.
Visit this user's website Find all posts by this user
08-20-2009, 07:32 PM
Post: #8
RE: Promotion bug
Corresponding ticket: http://dev.mybboard.net/issues/412

Greets,
Michael
-------------
German MyBB-Site
MyBBoard.de
Get the german languagepack here
Visit this user's website Find all posts by this user


Forum Jump: