Hi there!
Installed the template on my v.5 site at www.youngwizards.com and enabled the module as usual: chose a node, hit the "Set template" button for the first time, and got the following on a page titled "Do you really want to set this node as a template?":
* warning: Missing argument 1 for nodetemplate_confirm() in /big/dom/xyoungwizards/www/modules/node_template/nodetemplate.module on line 149.
* warning: Invalid argument supplied for foreach() in /big/dom/xyoungwizards/www/modules/node/node.module on line 504.
* warning: implode(): Bad arguments. in /big/dom/xyoungwizards/www/modules/node/node.module on line 508.
* user warning: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 query: SELECT n.nid, n.vid, n.type, n.status, n.created, n.changed, n.comment, n.promote, n.sticky, r.timestamp AS revision_timestamp, r.title, r.body, r.teaser, r.log, r.format, u.uid, u.name, u.picture, u.data FROM node n INNER JOIN users u ON u.uid = n.uid INNER JOIN node_revisions r ON r.vid = n.vid WHERE in /big/dom/xyoungwizards/www/includes/database.mysql.inc on line 172.
And then down outside the error box, the single word:
array
Any thoughts on what to do about this?
Best! -- Diane
Comments
Comment #1
peterpoe commentedGot the same error. Moreover, on the Node Template configuration page, I get a long list of errors, all like:
warning: htmlspecialchars() expects parameter 1 to be string, object given in /Users/gmagini/Sites/sic/includes/bootstrap.inc on line 588.and in the fieldset containing the checkboxes for resetting publishing options, I get only a list of
: reset publishing options when clonedwithout the content types names
Comment #2
motou commentedThe problem is caused by an incomplete update from 4.7.x to 5.x. Now the problem is solved. Please download the newest version 5.x-1.1.
Strange is, I cannot access "My node templates" as admin on my local computer. So I'd like to hear from you what is going on by your side.
Thanks for reporting that.
Comment #3
motou commentedAll the functionalities of this Module for Drupal 5.x seem okay now. A new version called 5.1.x-1.2 has been released.