I’m testing the demo CommentsStack with Poster 2, but when I place the CommentsStack inside a Poster 2 Item and test the output page I only see this in the browser:
Parse error: syntax error, unexpected ‘’ (T_ENCAPSED_AND_WHITESPACE), expecting ‘-’ or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /xxxxxx/xxxxxxx/club/index.php on line 601
If the Comments stack is outside the Item then both stacks work as expected, but obviously the comments are no longer related to an item. What am I doing wrong?
For PHP errors, look at your server error log. Or ask your web hosting company to show you where it is.
Take a look at what error is thrown when a comment submission fails.
Thank you both for your responses, this isn’t urgent, I’d like to move over from the RW Blog page to a solution using Poster 2 and Comments by the end of the year.
Unfortunately I don’t have the skills to find out why the combination isn’t working. Poster 1 and Comments work just fine.
Using Poster 2 and Comments it all seems OK at first, a comment can be written, but when it’s entered the screen switches back to the main Poster 2 blog page instead of staying on the item detail view. Nothing is recorded in the database .txt file. No errors show up in the Safari console or in the php error log.
Same thing happens by inserting Minicookie in Poster2 (example to enable youtube).
The error is:
Parse error: syntax error, unexpected ‘"’, expecting ‘-’ or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING) in /private/var/folders/5h/gl_tz7jd72bbplrzzxgm5zrw0000gn/T/com.realmacsoftware.rapidweaver8/RapidWeaver/53551/document-0x7fbc78685360/RWDocumentPagePreview/index.php on line 552
Hopefully, the Poster2 update solves this problem as well.