You need to be logged in to view a user's profile.
  Thursday, 20 July 2023
  7 Replies
  393 Visits
0
Votes
Undo
Hi, after updating we are receiving the error "parsererror, SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON" when we try to same or add an existing event.

Here is all the technical information.
If needed we can provide Joomla credentials.


PHP Version : 8.1.21
MySQL Version : 10.5.21-MariaDB
x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
Joomla : 4.3.3
component_com_jevents : 3.6.59
component_com_jce : 2.9.38
component_com_acymailing : 5.11.8
module_mod_acymailing : 3.7.0
module_mod_jevents_cal : 3.6.59
module_mod_jevents_custom : 3.6.59
module_mod_jevents_filter : 3.6.59
module_mod_jevents_latest : 3.6.59
module_mod_jevents_legend : 3.6.59
module_mod_jevents_switchview : 3.6.59
plugin_actionlog_jevents : 3.6.59
plugin_acymailing_contentplugin : 3.7.0 (not enabled)
plugin_acymailing_managetext : 1.0.0
plugin_acymailing_online : 3.7.0
plugin_acymailing_share : 1.0.0
plugin_acymailing_stats : 3.7.0
plugin_acymailing_tablecontents : 1.0.0
plugin_acymailing_tagcontent : 3.7.0
plugin_acymailing_tagsubscriber : 5.11.8
plugin_acymailing_tagsubscription : 5.11.8
plugin_acymailing_tagtime : 5.11.8
plugin_acymailing_taguser : 5.11.8
plugin_acymailing_template : 5.11.8
plugin_content_jevents : 3.6.59
plugin_editors_acyeditor : 5.11.8
plugin_finder_jevents : 3.6.59
plugin_installer_jeventsinstaller : 3.6.59
plugin_search_eventsearch : 3.6.59
plugin_system_gwejson : 3.6.59 (not enabled)


Hop you can help!
Mountain IT set the post as Normal priority — 10 months ago
Mountain IT set the type of the post as  Technical — 10 months ago
10 months ago
·
#231593
0
Votes
Undo
This looks like an error in the overlapping events check - you will need to look at the response from the XmlHTTPRequest in your web browser console to see why the JSON request is returning HTML instead of a valid JSON response

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!

9 months ago
·
#231610
0
Votes
Undo
Hi Geraint,

Thx for the reply, the only thing I can see in the console is the error in the appendix.
It's there from the beginning, so when I try to save a new event, within the console nothing changes.
Hope the error makes any sense.

Roland
9 months ago
·
#231674
0
Votes
Undo
Take a look at the network tab in that screenshot after you get the syntax error message - there should be a background request to your server where it checks for overlapping repeats. If you look at the response output for that request if should give you some clues as to why the response isn't value JSON

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!

9 months ago
·
#231690
0
Votes
Undo
Hi,

This is the error I'm receiving
9 months ago
·
#231695
0
Votes
Undo
I think that is the 'request' data as opposed to the 'response' data from the JSON call

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!

9 months ago
·
#231735
0
Votes
Undo
Hi,

I did managed to fix the issue, it was just a setting within the jevents plugin options.
The system - JSON execution wrapper was disabled, when enabling the option the JSON error was gone.
Thanks for your help :)

Roland
Mountain iT
9 months ago
·
#231754
0
Votes
Undo
Strange - if the plugin is disabled there should be a warning elsewhere. I'll check the code

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.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.