Hi there,
I’m running EE 2.1 Build 20100810 and Safecracker Build 20100913.
I’ve got a few safecracker entry forms up and running, but am having trouble with setting the entry to allow comments by default. Whenever I use the allow_comments=“yes” tag in the safecracker entry form tag, I get some php errors. Here’s the tag I’m using:
{exp:safecracker channel="channel_name" dynamic_title="Music Submission - [music_title]" return="template-group/thanks" allow_comments="yes"}
And here’s the error message:
A PHP Error was encountered
Severity: Notice
Message: Undefined variable: comment_system_enabled
Filename: channel/mod.channel_standalone.php
Line Number: 547
A PHP Error was encountered
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /path/to/system/folder/codeigniter/system/core/Exceptions.php:171)
Filename: core/Common.php
Line Number: 428
Is there something I’m doing wrong, or is this a bug?
Thanks!