Bug #412
Promotion bug
| Status: | Closed | Start: | 08/20/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Ryan Gordon | % Done: | 100% |
|
| Category: | Promotions System | |||
| Target version: | 1.4.10 | |||
| Reproducibility: | Always | Browser: | ||
| Reported In MyBB Version: | 1.4.8 | Database Type: | ||
| PHP Version: | Database Version: |
Description
Our promotion system is not working, the task log records the following errors:
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
Warning - [2] 'implode() [<a href=\'function.implode\'>function.implode</a>]: Invalid arguments passed' - Line: 764 - File: inc/db_mysqli.php
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
Associated revisions
Fixes Promotion bug (fixes:412)
History
Updated by Michael Schlechtinger 7 months ago
Original thread: http://community.mybboard.net/thread-52312.html
Updated by Tom Moore 5 months ago
This might just be me, but I'll wait until someone else can confirm. I might have mucked things up over the past weekend...
Can anyone add a group promotion on PHP 5.3.0 without any errors?
Updated by Ryan Gordon 4 months ago
- Status changed from New to Assigned
- Assigned to set to Ryan Gordon
- Target version set to 1.4.10
Updated by Ryan Gordon 4 months ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset r4513.
Updated by Michael Schlechtinger 4 months ago
- Status changed from Resolved to Closed