Wednesday, 10 April 2024
  3 Replies
  405 Visits
0
Votes
Undo
Hallo zusammen,

schön, dass es dieses Forum gibt.
Beim Versuch neue Events abzuspeichern erhalte ich folgende Fehlermeldung:

parsererror, SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data


Die Daten zu meiner Installation finden Sie unten:
Ist dieser Fehler bekannt?

Herzliche Grüße!
Bwoll



PHP Version : 8.2.6
MySQL Version : 5.7.25
Server Information : Linux alfa3058 4.15.18-30-pve #1 SMP PVE 4.15.18-58 (Fri, 12 Jun 2020 13:53:01 +0200) x86_64
*** CONFIG NOT SAVED***
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : No
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:124.0) Gecko/20100101 Firefox/124.0
Joomla : 4.4.3
component_com_jevents : 3.6.79
module_mod_jevents_cal : 3.6.79
module_mod_jevents_custom : 3.6.79
module_mod_jevents_latest : 3.6.79
plugin_content_jevents : 3.6.79 (not enabled)
plugin_installer_jeventsinstaller : 3.6.79 (not enabled)
plugin_search_eventsearch : 3.6.79 (not enabled)
bwoll set the type of the post as  Technical — 7 months ago
7 months ago
·
#234589
0
Votes
Undo
This is possibly a PHP notice or error in the overlapping event checks - or another plugin on your site interfering with this process.

In Firefox you can see the output of the check in the network tab

Screenshot from 2024-04-12 15-11-14.png

Select the relevant line (filter by typeahead to be sure you have the right entry - then expand the 'Response' tab

The cause of the problem should then be more clear

This article explains some possible explanations https://www.jevents.net/frequently-asked-questions/something-went-wrong

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

7 months ago
·
#234607
0
Votes
Undo
Good morning, think you for your reply. I did have a look at the error, screenshot attached. It wasn't clear from the screenshot you shared as to how to show what you were looking for so I'm also including the Request info:
json '{"error":false,"client":"site","token":"117b9865c5fc87249377a62ae4c9f797","pressbutton":"icalevent.apply","repeatid":0,"formdata":{"jevtype":"icaldb","boxchecked":"0","updaterepeats":"0","task":"icalevent.edit","option":"com_jevents","rp_id":"0","year":"2024","month":"04","day":"17","evid":"0","valid_dates":"1","Itemid":"4565","title":"TEST","ics_id":"2","catid":"374","jev_creatorid":"118","access":"4","state":"1","jevcontent":"","location":"","contact_info":"","extra_info":"","view12Hour":"1","publish_up":"04/17/2024","publish_up2":"2024-4-17","start_time":"08:00","start_12h":"8:00","start_ampm":"none","publish_down":"04/17/2024","publish_down2":"2024-4-17","end_time":"17:00","end_12h":"5:00","end_ampm":"none","multiday":"1","freq":"none","rinterval":"1","countuntil":"count","count":"1","until":"04/17/2024","until2":"2024-4-17","byyearday":"108","bymonth":"4","byweekno":"15","bymonthday":"17","weekdays[]":["3"],"weeknums[]":["2"],"irregular":"04/16/2024","irregularDates":[]},"redirect":1}'

Thank you again.
7 months ago
·
#234662
0
Votes
Undo
The EventBooking Joomla extension appears to have implemented an actionlogs handler that listens to the onAfterSaveEvent trigger with a requirement for 3 parameters.

We've been using this plugin hook since 2016 with 2 parameters.

You could ask the developers of EventBooking to make their 3rd parameter not required to avoid throwing this error.

The alternative is to disable their actionlogs plugin

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.