Closed (fixed)
Project:
Web Links
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Mar 2011 at 19:10 UTC
Updated:
5 Jul 2013 at 11:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
summit commentedHi, see http://blog.worldempire.ch/story/howto-convert-module-dbtng
greetings, Martijn
Comment #2
GStegemann commentedI tried to convert the db_rewrite_sql calls (see attached patch), but there still some changes and a review needed.
Additionally I changed all hook_perm functions to hook_permissions and all db_result(db_query()) constructs to db_query()->FetchField;
Comment #3
GStegemann commentedIn the meanwhile I've implemented more changes, especially to get hook_load to work.
But currently I'm facing a problem creating the form for the body field.
When setting up $form['body_field']['format'] with $node->format the PHP error 'PHP Fatal error: Unsupported operand types in /var/www/html/cm7/includes/form.inc on line 1759, referer: http://www.igs.ld/cm7/de/admin/content' is raised. Setting 'format' to NULL works fine. The value in $node->format seems to be correct. Any ideas what is wrong here?
Comment #4
GStegemann commentedSorry, bad file name.
Comment #5
GStegemann commented