Closed (fixed)
Project:
Custom Page
Version:
7.x-1.0-alpha1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
20 Jan 2011 at 11:24 UTC
Updated:
8 Feb 2011 at 19:05 UTC
created customtest.tpl.php and inside there is
print custompage_node_tile(8, $type = '', $teaser_only = FALSE );
node number 8 exists and works normally when you enter /node/8
when going to my /customtest page you see
Fatal error: Call to undefined function db_result() in [...]/sites/all/modules/custompage/custompage_util.inc on line 90
Comments
Comment #1
danmcewan commentedComment #2
emackn commenteddb_rewrite_sql also needs attention. it was replaced with hook_query_alter,
http://drupal.org/update/modules/6/7#db_rewrite_sql
I think lines 89-90:
need to become
Comment #3
danmcewan commentedFixed that and problems with the node_load syntax which were also contributing. This has now been released as part of alpha3.
Comment #4
danmcewan commented