Topic: I can't delete comments
Cutenews 1.5 doesn't allow me to delete comments. This is the error message: "Comments can't be blank". But comment isn't blank. Why?
Dear CuteNews Users! Please feel free to contact us via our new Feedback Form and please send information about bugs to our bug tracker.
You are not logged in. Please login or register.
CutePHP Forums → Problem Solving / Help & Support → I can't delete comments
Cutenews 1.5 doesn't allow me to delete comments. This is the error message: "Comments can't be blank". But comment isn't blank. Why?
In ./inc/editcomments.php insead "if (empty($comment)) die(lang("Comment can not be blank"));" write "if (empty($comment) && isset($comment)) die(lang("Comment can not be blank"));" and it fix this problem.
In ./inc/editcomments.php insead "if (empty($comment)) die(lang("Comment can not be blank"));" write "if (empty($comment) && isset($comment)) die(lang("Comment can not be blank"));" and it fix this problem.
Sorry, but I don't undestand what I have to do. What means "insead"? What I have to modify in editcomments.php?
Sorry, but I don't undestand what I have to do. What means "insead"? What I have to modify in editcomments.php?
This has been fixed in a new version of cutenews https://github.com/CuteNews/cute-news-repo/...872369f057831c9. Just download latest version.
Replace in ./inc/editcomments.php
if (empty($comment)) die(lang("Comment can not be blank"));
so this code
if (empty($comment) && isset($comment)) die(lang("Comment can not be blank"));
This has been fixed in a new version of cutenews https://github.com/CuteNews/cute-news-repo/...872369f057831c9. Just download latest version.
Replace in ./inc/editcomments.php
if (empty($comment)) die(lang("Comment can not be blank"));
so this code
if (empty($comment) && isset($comment)) die(lang("Comment can not be blank"));
thank you for reply
CutePHP Forums → Problem Solving / Help & Support → I can't delete comments
Powered by PunBB, supported by Informer Technologies, Inc.
The pun_antispam official extension is installed. Copyright © 2003–2009 PunBB.