Elxis CMS Forum

Support => General => Topic started by: Slavakov on April 09, 2021, 11:43:16

Title: Elxis 5.2 - Error
Post by: Slavakov on April 09, 2021, 11:43:16
After upgrading to 5.2. does not work - Javascript (null)
Title: Re: Elxis 5.2 - Error
Post by: michalis1984 on April 09, 2021, 12:26:24
Same here
Title: Re: Elxis 5.2 - Error
Post by: michalis1984 on April 09, 2021, 13:21:02
Looks like there is a typo error. A bracket is missing.

Until datahell fix it later on the elxis distribution, you can open file includes/js/elxis.js

In line 1120, after function elx5ModalMessageShow add a bracet }
Title: Re: Elxis 5.2 - Error
Post by: seadhna on April 09, 2021, 14:46:04
Great, thanks :-)
Title: Re: Elxis 5.2 - Error
Post by: seadhna on April 09, 2021, 14:56:50
If I try to save any change in a frontpage content module I get the error attached.
Title: Re: Elxis 5.2 - Error
Post by: seadhna on April 09, 2021, 14:58:43
Actually, not just in modules. If I open any category or any article and click APPLY, I get the same error.
Title: Re: Elxis 5.2 - Error
Post by: Slavakov on April 09, 2021, 15:46:36
I inserted it }. Nothing changed
Title: Re: Elxis 5.2 - Error
Post by: michalis1984 on April 09, 2021, 15:52:50
I inserted it }. Nothing changed

No, not there. See the attached photo.
Title: Re: Elxis 5.2 - Error
Post by: armpouniotis on April 09, 2021, 16:46:41
It works perfect when I inserted the missing "}" at line 1118 !!

Thank you !
Title: Re: Elxis 5.2 - Error
Post by: datahell on April 09, 2021, 20:06:06
Sorry for the trouble!!!! The problem has already been fixed and it was exactly the one you show here.
@michalis1984: Thank you for helping the users solve the problem.


I will post some information later for the new Elxis release. You can safely update now to 5.2, the fixed revision is 2402.
Title: Re: Elxis 5.2 - Error
Post by: Slavakov on April 09, 2021, 20:08:56
Thank you. All OK! It works  :)
Title: Re: Elxis 5.2 - Error
Post by: fivar on April 10, 2021, 09:41:24
There is another problem with articles.

If you edit an article and try to save it, you receive an error message:

"Unacceptable character in Post
Reference code: SEC-DEFB-0008"

If you create a new article, you can't save it.

Title: Re: Elxis 5.2 - Error
Post by: michalis1984 on April 10, 2021, 18:25:27
Same when trying to create a new content module. Even if it includes only some text.

Quote
Elxis Defender blocked an attack to your site!
Reference code: SEC-DEFB-0008

Elxis Defender report
Elxis Defender blocked an attack to your site!
Elxis Defender report
Unacceptable character in POST

Requested URI:  /stargate15/inner.php/extmanager/modules/save.html
IP address:     -----
Hostname:      -----
HTTP Referrer:  https://www.----.com/stargate15/extmanager/modules/add.html
User agent:     Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36

=== POST vars submitted ===
title_lang = en
title_el =
title = COLLECTIONS
showtitle = 0
published = 1
pubdate =
unpubdate =
position = frontpage1
ordering = 2
section = frontend
module = mod_content
iscore = 1
content_lang = en
content_el =
content = LONG STRING
params = ARRAY
pages = ARRAY
tabopen = 2
token = 690733c7705bec15b3b0a196c87f6832
id =
page = 0
sn =
so =
lpsection =
task = apply
Title: Re: Elxis 5.2 - Error
Post by: datahell on April 10, 2021, 19:25:35
I know, I also noticed that. This is because we improved Elxis Defender scanning inside arrays of variables in POST and has become more sensitive. One of the general filters gets triggered wrongly (false alarm). Disable Defender, edit your articles and when finish then re-enable it. We will fix it, don't worry ;-)
Title: Re: Elxis 5.2 - Error
Post by: datahell on April 10, 2021, 20:48:21
Problem fixed! Elxis 5.2 Dione r2403 released. Read this to update/fix your installations. (https://forum.elxis.org/index.php?topic=9208.msg58424#msg58424)
Title: Re: Elxis 5.2 - Error
Post by: chongbing on April 11, 2021, 09:47:57
It works for me after updating these.  Thanks a lot !!

Problem fixed! Elxis 5.2 Dione r2403 released. Read this to update/fix your installations. (https://forum.elxis.org/index.php?topic=9208.msg58424#msg58424)
Title: Re: Elxis 5.2 - Error
Post by: webgift on April 13, 2021, 12:34:38
Don't forget to clear browser's cache. Elxis rocks!
Title: Re: Elxis 5.2 - Error
Post by: seadhna on April 16, 2021, 15:14:27
thanks datahell!