- Posts: 5
COMMUNITY FORUM
Error 500 in Kommentarfunktion von K2
- Marco Griep
- Topic Author
- Offline
- New Member
Less
More
5 years 9 months ago #171101
by Marco Griep
Error 500 in Kommentarfunktion von K2 was created by Marco Griep
Hallo,
die Kommentarfunktion bei mir auf der Website www.marcogriep.de
funktioniert einfach nicht.
Ich hab K2 inkl. dem Google ReCaptcha drin. Der Kommentar Senden Button übermittelt das Kommentar jedoch nicht. Folgendes steht in der Developer Console:
jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2 POST www.marcogriep.de/index.php 500 (Internal Server Error)
send @ jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2
ajax @ jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2
(anonymous) @ k2.frontend.js?v=2.9.0&sitepath=/:47
dispatch @ jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2
v.handle @ jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2
System Information:
K2 Version: 2.9.0
K2 - SP Page Builder: 1.2
K2 Comments: 2.9.0
Ubuntu Server 18.10 - Apache 2.4.34
PHP Version: 7.2.10-0ubuntu1
K2 JQuery Versionen
jQuery 1.7.2 - 1.12.4 JavaScript library MIT
jQuery UI 1.8.24 & 1.11.4 JavaScript library MIT
Jemand ne Idee was das Problem sein könnte?
die Kommentarfunktion bei mir auf der Website www.marcogriep.de
funktioniert einfach nicht.
Ich hab K2 inkl. dem Google ReCaptcha drin. Der Kommentar Senden Button übermittelt das Kommentar jedoch nicht. Folgendes steht in der Developer Console:
jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2 POST www.marcogriep.de/index.php 500 (Internal Server Error)
send @ jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2
ajax @ jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2
(anonymous) @ k2.frontend.js?v=2.9.0&sitepath=/:47
dispatch @ jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2
v.handle @ jquery.min.js?41e603c004e301929623b1d6dab3ffbb:2
System Information:
K2 Version: 2.9.0
K2 - SP Page Builder: 1.2
K2 Comments: 2.9.0
Ubuntu Server 18.10 - Apache 2.4.34
PHP Version: 7.2.10-0ubuntu1
K2 JQuery Versionen
jQuery 1.7.2 - 1.12.4 JavaScript library MIT
jQuery UI 1.8.24 & 1.11.4 JavaScript library MIT
Jemand ne Idee was das Problem sein könnte?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 9 months ago #171126
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Error 500 in Kommentarfunktion von K2
I would guess the "Datenschutzbestimmungen" plugin is the problem. Disable it and check again. If you wish to add such a notice, it's really dead simple to enhance the K2 template overrides and there is no reason to stick to a 3rd party privacy policy extension if it breaks your site.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Marco Griep
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
5 years 9 months ago #171134
by Marco Griep
Replied by Marco Griep on topic Error 500 in Kommentarfunktion von K2
Hi Thanks for your Replay. I disabled the "Datenschutzbestimmungen". Unfortunalty this did not solve the Problem. Same error as before.
Best Regards
Marco
Best Regards
Marco
Please Log in or Create an account to join the conversation.
- Marco Griep
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
5 years 9 months ago #171135
by Marco Griep
Replied by Marco Griep on topic Error 500 in Kommentarfunktion von K2
This is the JavaScript Error i get
Failed to load resource: the server responded with a status of 500 (Internal Server Error
Maybe an CORS Issue?
f.cors = !!an && "withCredentials"in an,
(an = f.ajax = !!an) && p.ajaxTransport(function(t) {
var n;
if (!t.crossDomain || f.cors)
return {
send: function(r, i) {
var o, a = t.xhr(), s = ++rn;
if (a.open(t.type, t.url, t.async, t.username, t.password),
t.xhrFields)
for (o in t.xhrFields)
a[o] = t.xhrFields[o];
t.mimeType && a.overrideMimeType && a.overrideMimeType(t.mimeType),
t.crossDomain || r["X-Requested-With"] || (r["X-Requested-With"] = "XMLHttpRequest");
for (o in r)
void 0 !== r[o] && a.setRequestHeader(o, r[o] + "");
[color=red][b]a.send(t.hasContent && t.data || null),[/b][/color]
n = function(e, r) {
var o, u, l;
if (n && (r || 4 === a.readyState))
if (delete on[s],
n = void 0,
a.onreadystatechange = p.noop,
r)
4 !== a.readyState && a.abort();
else {
l = {},
o = a.status,
"string" == typeof a.responseText && (l.text = a.responseText);
try {
u = a.statusText
} catch (e) {
u = ""
}
o || !t.isLocal || t.crossDomain ? 1223 === o && (o = 204) : o = l.text ? 200 : 404
}
l && i(o, u, l, a.getAllResponseHeaders())
}
,
t.async ? 4 === a.readyState ? e.setTimeout(n) : a.onreadystatechange = on[s] = n : n()
},
abort: function() {
n && n(void 0, !0)
}
}
}),
Failed to load resource: the server responded with a status of 500 (Internal Server Error
Maybe an CORS Issue?
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 9 months ago #171144
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Error 500 in Kommentarfunktion von K2
In which file is that?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Marco Griep
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
5 years 9 months ago #171151
by Marco Griep
Replied by Marco Griep on topic Error 500 in Kommentarfunktion von K2
When i click on the "send comment" button. I see an Error 500 in the Developer Toolbar. This Error is caused by an jquery.js Script. This is the part of the js script that throws the exception.
a.send(t.hasContent && t.data || null)
I don't know if this exception is caused by the server (CORS). By K2, or by another Plugin
a.send(t.hasContent && t.data || null)
I don't know if this exception is caused by the server (CORS). By K2, or by another Plugin
Please Log in or Create an account to join the conversation.
- Marco Griep
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
5 years 9 months ago #171156
by Marco Griep
Replied by Marco Griep on topic Error 500 in Kommentarfunktion von K2
Hi there. The issue was the Google Captcha. I disabled the Google Captcha in the Blog and now it works.
I will try Akismet as an alternative.
Hallo, Das Problem lag beim Google Captcha. Ich hab das Captcha deaktiviert und nun funktioniert die Kommentar Funktion wieder. Alternativ werde ich mal Akismet Captcha versuchen.
I will try Akismet as an alternative.
Hallo, Das Problem lag beim Google Captcha. Ich hab das Captcha deaktiviert und nun funktioniert die Kommentar Funktion wieder. Alternativ werde ich mal Akismet Captcha versuchen.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 9 months ago #171165
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Error 500 in Kommentarfunktion von K2
Make sure that your Google reCaptcha keys were issued for v2. But in any case, Akismet is easier for end-users.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.