×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Unable to post comments

Unable to post comments 10 years 4 days ago #7841

  • Alexander
  • Alexander's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I know there are similair topics on this forum, but they were no help. So I started this one since I am unable to post comments. First of some specs of my installation.

Mysql version 4.1.21
Database utf8_general_ci
PHP version 5.2.4
Webserver Apache/2.0.46 (CentOS)
Joomla! 1.5.15 DutchJoomla! Stable [ Wojmamni Ama Mamni ]
Joomlacomment 4.0 beta 2

Could it have something to do with my hoster running Mysql 4?

When I run in debug mode, I get the following which ends with a popup saying: 'Ajaxready: KO ! Status=500'

**********************************************************
###AJAXSEND:
##URL=http://www.staalenco.nl/index.php ?option=com_comment&no_html=1&component=&joscsectionid=4&josctask=ajax_insert&comment_id=-1&content_id=198&tname=Alexander%20Staal&temail=automatic&twebsite=&ttitle=fhfgh&tcomment=ghdfhgfhgfhhgfhh
##onReadyStateChange=function JOSC_editPostResponse() {
if (JOSC_ajaxReady()) {
if (JOSC_http.responseText.indexOf("invalid") == -1) {
var form = document.joomlacommentform;
var element = document.getElementById("Comments");
var xmlDocument = JOSC_getXmlResponse(true);
if (!xmlDocument) {
return 0;
}
var id = JOSC_xmlValue(xmlDocument, "id");
var captcha = JOSC_xmlValue(xmlDocument, "captcha");
if (captcha) {
JOSC_refreshCaptcha(captcha);
if (id == "captchaalert") {
alert(_JOOMLACOMMENT_FORMVALIDATE_CAPTCHA_FAILED);
return 0;
}
if (id == "captcha") {
return 0;
}
}
anchor = "josc" + id;
var idsave = id;
id = "post" + id;
var body = JOSC_xmlValue(xmlDocument, "body");
var post = document.getElementById(id);
var after = JOSC_xmlValue(xmlDocument, "after");
JOSC_clearInputbox();
var noerror = JOSC_xmlValue(xmlDocument, "noerror");
if (noerror == 0) {
alert(_JOOMLACOMMENT_REQUEST_ERROR);
form.tcomment.value = JOSC_http.responseText;
return 0;
}
var published = JOSC_xmlValue(xmlDocument, "published");
if (published == 0) {
alert(_JOOMLACOMMENT_BEFORE_APPROVAL);
form.tcomment.value = "";
if (self.JOSC_afterAjaxResponse) {
JOSC_afterAjaxResponse("response_approval");
}
return 0;
}
if (post) {
var className = JOSC_getPostClass(post);
var indent = post.style.paddingLeft;
JOSC_insertAdjacentHTML(post, "beforeBegin", body);
JOSC_removePost(post);
newPost = document.getElementById(id);
JOSC_setPostClass(newPost, className);
newPost.style.paddingLeft = indent;
JOSC_modifyForm(_JOOMLACOMMENT_WRITECOMMENT, _JOOMLACOMMENT_SENDFORM, function (event) {JOSC_editPost(-1, -1);});
form.tname.value = JOSC_userName;
if (document.getElementsByName("temail")[0]) {
form.temail.value = JOSC_userEmail;
}
if (document.getElementsByName("website")[0]) {
form.website.value = JOSC_userWebsite;
}
if (self.JOSC_afterAjaxResponse) {
JOSC_afterAjaxResponse("response_editpost");
}
} else {
if (!after || after == -1) {
if (JOSC_sortDownward != 0) {
if (JOSC_postREFRESH) {
JOSC_refreshPage(_JOOMLACOMMENT_MSG_NEEDREFRESH, idsave);
} else {
JOSC_insertAdjacentHTML(element, "afterBegin", body);
}

**********************************************************
Anybody? I already set SH404SEF to ignore Joomlacomment.

Unable to post comments 10 years 4 days ago #7842

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
well, perhaps it is something with the database version. I've never tested beat2 with mysql4.

But perhaps there is also somethng in the error log. Some error message that brakes the functionality of joomlacomment.

Unable to post comments 10 years 3 days ago #7849

  • Alexander
  • Alexander's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
is there a version available that is working with mysql4?

Unable to post comments 10 years 3 days ago #7851

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Try 3.26. It was developed for joomla 1.0 so perhaps it works (but I have also not tested it)

Unable to post comments 10 years 3 days ago #7852

  • Alexander
  • Alexander's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
that would mean switching back to legacy, which I don't want. Thxs for your help so far. I just installed JComment and that works fine for me, as well as Joomlacomment has in the past. Again, thxs for your assistance.

Unable to post comments 10 years 3 days ago #7854

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, you are welcome. Have fun!
  • Page:
  • 1
Time to create page: 0.093 seconds