Closed (fixed)
Project:
Cloud
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2012 at 23:20 UTC
Updated:
18 Dec 2012 at 18:22 UTC
Jump to comment: Most recent file
Comments
Comment #1
e_oliver commentedHi I'm getting the same error. You can change db_fetch_array() to mysql_fetch_array() as per Drupal 7 syntax. But now there's a different error: Fatal error: Call to undefined function db_placeholders() in sites\all\modules\cloud\modules\cloud_metering\cloud_metering_queue_db.inc on line 246
Not sure how to fix calls to db_placeholders() under Drupal 7, as it is now a deprecated function.
Any help is greatly appreciated.
Comment #2
baldwinlouie commentedHere's a patch that fixes these two database errors. The code is checked into head also.
http://drupalcode.org/project/cloud.git/commit/c5230ea
Comment #3
baldwinlouie commentedThe fix was to convert the queries to db_select and use D7 code conventions.
Comment #4
e_oliver commentedWow I was stuck on this for hours, applied your patch and everything works now!
Thanks again.
Comment #5
e_oliver commentedImpressive work!
Comment #6
baldwinlouie commentedComment #7
baldwinlouie commentedClosing