Closed (fixed)
Project:
Hosting
Version:
6.x-0.4-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2009 at 15:32 UTC
Updated:
3 Oct 2009 at 23:30 UTC
Jump to comment: Most recent
It looks like the call to the function is missing the brackets in the "select iid" which causes the code below to fail. Adding them removes the error.
function hosting_platform_load($node) {
$additions = db_fetch_object(db_query('SELECT publish_path, verified, web_server FROM {hosting_platform} WH$
$iid = db_result(db_query("SELECT iid FROM hosting_package_instance i left join hosting_package p on p.nid=$
$additions->release = hosting_package_instance_load($iid);
return $additions;
}
user warning: Table 'aegir.hosting_package_instance' doesn't exist query: SELECT iid FROM hosting_package_instance i left join hosting_package p on p.nid=i.package_id WHERE p.package_type='platform' AND i.rid=5 in /home/aegir/drupal-6.14/profiles/hostmaster/modules/hosting/platform/hosting_platform.module on line 200.
Comments
Comment #1
Anonymous (not verified) commentedFixed in HEAD. Thanks!