MarcC Posted November 29, 2012 Share Posted November 29, 2012 I read elsewhere that a comment-saving bug may have been fixed in the dev version, so I installed it because comments weren't saving on one of my clients' sites. However, comments still aren't saving. Anything I should do to troubleshoot? The comment notification email is sent out, which is how we know that comments aren't added to the database--they show up in an email but not in the admin panel. Link to comment Share on other sites More sharing options...
ryan Posted November 29, 2012 Share Posted November 29, 2012 Marc, when you go to your comments settings screen (Setup > Fields > comments > details), what boxes are checked? Feel free to post a screenshot if it's easier. Link to comment Share on other sites More sharing options...
MarcC Posted November 29, 2012 Author Share Posted November 29, 2012 Thanks Ryan--no checkboxes are checked. "Only New" is selected, then there's an email address, then at the bottom we're giving 3 days before spam deletion. This is the PW blog setup, if it helps. Link to comment Share on other sites More sharing options...
arjen Posted November 29, 2012 Share Posted November 29, 2012 A long shot, but have you enabled cache? I was struggling with the same problem a while ago and disabling cache fixed this issue for me! Link to comment Share on other sites More sharing options...
ryan Posted November 30, 2012 Share Posted November 30, 2012 I attempted to duplicate the issue here a few times, but the only way I could duplicate it was (as Arjen mentioned) by enabling the cache for the template that the comments field appeared on. Though I don't think this is the issue in your case, because you still received an email, which would not happen of cache were the problem. Slightly off-topic: For those that want to use comments fields on cached pages, you can still do so. Edit your template that the comments field appears on (Setup > Templates > [some template]). Then click the "cache" tab. For "Comment disabling GET vars" enter "comment_success". For "Comment disabling POST vars" enter "text". Save. Now your cached pages will still work with the comments field. I'll have to find a way for this to happen automatically behind the scenes... but until then, this is the best route to using comments fields on cached pages. Back on-topic: Marc--do you see any related errors in your /site/assets/logs/errors.txt? Can you try going to your comments field and just hit "save"? (maybe there's some setting that needs to be refreshed). If that doesn't do it, try enabling the "Redirect after comment post" checkbox, which is something that I recommend for everyone now. Let me know if you see any change in behavior? 1 Link to comment Share on other sites More sharing options...
MarcC Posted November 30, 2012 Author Share Posted November 30, 2012 I hit "save" on the comments field and it appears we might be in business. I will confirm shortly... Link to comment Share on other sites More sharing options...
MarcC Posted December 1, 2012 Author Share Posted December 1, 2012 OK, negatory. Comment did not save to DB. I will check the logs. Link to comment Share on other sites More sharing options...
ryan Posted December 2, 2012 Share Posted December 2, 2012 Marc, let me know what you find. I just need some way to reproduce it, but once I can do that I can fix it quickly. If I can't reproduce it here, and you don't mind giving me access to troubleshoot your install, I'll be glad to do that. 1 Link to comment Share on other sites More sharing options...
MarcC Posted December 11, 2012 Author Share Posted December 11, 2012 Hey Ryan, I checked the error log but no errors have been written since I first worked on the site. Then I enabled the redirect option, but it didn't change anything that I could see. Here's an interesting twist though. What do you think? This is from the default blog setup... Link to comment Share on other sites More sharing options...
MarcC Posted December 11, 2012 Author Share Posted December 11, 2012 I should mention I'm assuming that comments go under the "Comments" page, but I haven't actually seen any written to the db yet, so I don't know. I'll test it out with children / new pages allowed. Edit: OK, that did nothing. Link to comment Share on other sites More sharing options...
MarcC Posted December 11, 2012 Author Share Posted December 11, 2012 Sent the site information to ryan@processwire.com. Thanks, Ryan. Link to comment Share on other sites More sharing options...
MarcC Posted December 14, 2012 Author Share Posted December 14, 2012 Well, I feel like a complete idiot. I assumed comments were stored & managed as children of the "Comments" page, but they're actually managed through a field on the individual blog post pages. So, there is no problem here...sigh. Thanks to everyone who helped me troubleshoot, and sorry to waste your time. Link to comment Share on other sites More sharing options...
ryan Posted December 18, 2012 Share Posted December 18, 2012 Marc, I've been out of town so sorry for not being able to reply sooner. Glad you got this figured out. Let me know if you find anything else is still not working here. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now