Elxis CMS Forum
Support => General => Topic started by: armpouniotis on May 12, 2010, 11:14:37
-
hi all,
every time I am writing a comment in a content item, there is pop up window, which say "You should write a comment!"
Why is this, and how can i fix it ?
thank you in advance
-
This happens if the comment message is empty. You are talking about comments to content items or to eblog posts?
-
Hi,
i am talking to content items.
The comment message is not empty. i am writing something into it !
-
It depends on what you write. Comments are being filtered out from various "bad" characters, html is being removed, etc. If the final message is empty then you get this warning. I need to see your site and try to post a comment to be able to answer you why this is happening.
-
ok,
go here: www.sinidisis.gr
-
Elxis generates an error on file content.php line 2195 with message:
preg_replace() [function.preg-replace]: Unknown modifier '+'
Open components/com_content/content.php and delete line 2195:
$commessage = preg_replace("#[[:alpha:]]+://[^<>[:space:]]+[[:alnum:]/]#","<a href=\"\\0\">\\0</a>", $commessage);
If you want send me username/password to your site FTP to debug it and fix it instead of removing this line.
-
Sure, check your messages...
-
Fixed.
The problem was that on your site the line above was not correct. If it was as I have written it would work.
I fixed it and now works fine. This problem has been solved on Elxis 2009.2.
-
Thank you very much for your help !
something else... can I use the akocomment component - module - bot on elxis 2009 ?