History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OX-5168
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Minor Minor
Assignee: andrew.hill
Reporter: Nataliya Drabyk
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenX Ad Server

"[error] Call to undefined function: MDB2_Driver_mysql::tableinfo()." in debug.log

Created: 27/Mar/09 11:07 AM   Updated: 11/Jun/09 10:09 AM
Component/s: None
Affects Version/s: OpenX 2.7.31-beta
Fix Version/s: N/A, Milestone 32
Security Level: Public (All users can see these issues)

Time Tracking:
Original Estimate: 6h
Original Estimate - 6h
Remaining Estimate: 4h
Time Spent - 2h Remaining Estimate - 4h
Time Spent: 2h
Time Spent - 2h Remaining Estimate - 4h

File Attachments: 1. Text File debug.log (385 kb)

Environment: v2.7.31-beta-rc3 running on Apache 2.2.6, PHP 5.1.6 and MySQL 5.0.45-community.


 Description  « Hide
Mar 27 06:36:27 -0400 OX [  warning]  asort() expects parameter 1 to be array, null given
Mar 27 06:36:27 -0400 OX [  warning]  Invalid argument supplied for foreach()
Mar 27 06:39:14 -0400 OX [    error]  Call to undefined function: MDB2_Driver_mysql::tableinfo().


 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Chris Nutting - 27/Mar/09 10:32 PM
Can you check if this is an error or just a notice...

Nataliya Drabyk - 13/Apr/09 02:47 PM
I don't see any impact of this error on UI.

Similar error on PostgreSQL:

Apr 13 11:39:39 +0300 OX [ warning] Invalid argument supplied for foreach()
Apr 13 11:43:14 +0300 OX [ error] Call to undefined function: MDB2_Driver_pgsql::tableinfo().




Heiko Weber - 17/May/09 03:04 AM - edited
Maybe this help:
May 16 21:44:24 -0500 OX [    error]  Call to undefined function: MDB2_Driver_mysql::tableinfo().
                           on line 134 of "/srv/www/lighttpd/lib/max/ErrorHandler.php"
                           on line 94 of "/srv/www/lighttpd/lib/max/ErrorHandler.php"
                           on line 1931 of "/srv/www/lighttpd/lib/pear/MDB2.php"
                           on line 1556 of "/srv/www/lighttpd/lib/pear/DB/QueryTool/Query.php"
                           on line 1859 of "/srv/www/lighttpd/lib/pear/DB/QueryTool/Query.php"
                           on line 1966 of "/srv/www/lighttpd/lib/pear/DB/QueryTool/Query.php"
                           on line 421 of "/srv/www/lighttpd/lib/pear/DB/QueryTool/Query.php"
                           on line 273 of "/srv/www/lighttpd/lib/max/Dal/Common.php"
                           on line 232 of "/srv/www/lighttpd/lib/OA/Dal/Maintenance/Priority.php"
                           on line 544 of "/srv/www/lighttpd/lib/max/Dal/DataObjects/Campaigns.php"
                           on line 311 of "/srv/www/lighttpd/lib/max/Dal/DataObjects/Campaigns.php"
                           on line 881 of "/srv/www/lighttpd/www/admin/campaign-edit.php"
                           on line 288 of "/srv/www/lighttpd/www/admin/campaign-edit.php"
May 16 21:44:24 -0500 OX [  warning]  DB_QueryTool_Query->metadata: Invalid argument supplied for foreach()
                             on line 134 of "/srv/www/lighttpd/lib/max/ErrorHandler.php"
                             on line 94 of "/srv/www/lighttpd/lib/max/ErrorHandler.php"
                             on line 1564 of "/srv/www/lighttpd/lib/pear/DB/QueryTool/Query.php"
                             on line 1859 of "/srv/www/lighttpd/lib/pear/DB/QueryTool/Query.php"
                             on line 1966 of "/srv/www/lighttpd/lib/pear/DB/QueryTool/Query.php"
                             on line 421 of "/srv/www/lighttpd/lib/pear/DB/QueryTool/Query.php"
                             on line 273 of "/srv/www/lighttpd/lib/max/Dal/Common.php"
                             on line 232 of "/srv/www/lighttpd/lib/OA/Dal/Maintenance/Priority.php"
                             on line 544 of "/srv/www/lighttpd/lib/max/Dal/DataObjects/Campaigns.php"
                             on line 311 of "/srv/www/lighttpd/lib/max/Dal/DataObjects/Campaigns.php"
                             on line 881 of "/srv/www/lighttpd/www/admin/campaign-edit.php"
                             on line 288 of "/srv/www/lighttpd/www/admin/campaign-edit.php"


Nataliya Drabyk - 11/Jun/09 07:45 AM
I've noticed these errors appear if create remnant campaign X with empty revenue field, then enable eCPM option, activate campaign X by adding revenue value, and create new eCPM campaign with CPA pricing model. But in 2.8.* I can't reproduce it anymore.