Hello,
I am running Drupal 5.12, MySQL 5.0.67 and PHP 5.2.8.
I have the following modules installed :
- author-pane 5.x-1.0-beta2
- Advanced Forum 5.x-1.0-rc1
- Advanced Profile Kit 5.x-1.0-rc1
- Facebook Status 5.x-1.0-rc1
- Flat comments 5.x-1.1
- User badges 5.x-1.4
- User Stats 5.x-1.0-beta4
Im just struggeling to get the autor panel visible in de forum posts.
And when i activate the author-pane block i get the following errors on the frontpage only:
* warning: Invalid argument supplied for foreach() in /usr/home/a1085/domains/q-tox.nl/public_html/construct/modules/node/node.module on line 561.
* warning: implode() [function.implode]: Invalid arguments passed in /usr/home/a1085/domains/q-tox.nl/public_html/construct/modules/node/node.module on line 565.
* 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 /usr/home/a1085/domains/q-tox.nl/public_html/construct/includes/database.mysql.inc on line 174.
Any help is highly appreciated
Comments
Comment #1
michelleYou don't need to enable the block to get it to work with Advanced Forum; it will pick it up automatically.
That SQL error you're getting isn't anything in Author Pane.
Not sure what to suggest other than not trying to put the block on the front page. It's only mean to work on node/XX, user/XX, and blog/XX.
Michelle
Comment #2
Whackler commentedThanx Michelle,
I forgot or didnt see at first that i had to alter template.php..
I guess that fixed the block problem and showed the author pane in the node-forum
Still not sure how to use the author pane block and/or the author information block.
But hey, im happy
Dennis
Comment #3
michelleThe block is if you want to use it outside of APK/AF, like on peoples' blog posts and such.
Michelle
Comment #4
mauriziopinotti commentedthis is the patch to solve this issue (DRUPAL-5--1-0-BETA3):
bye,
Maurizio
Comment #5
mauriziopinotti commentedComment #6
mauriziopinotti commentedComment #7
michelleThat's a weird one... What path are you running into that is example.com/node/not-a-number?
I guess it won't hurt to add a check for it being numeric there but that's a strange edge case.
Michelle
Comment #8
michelleOk, I didn't quite do it that way but committed.
Michelle