Page 1 of 1

Invalid CSRF token!XH-ERROR again.

Posted: Fri Mar 02, 2018 8:30 pm
by Tata
After finishing templates creation with onepage plugin (now tested here), I tried to use the same templates without the plugin (now tested here). The templates work fine. Both webpages have exactly the same set of plugins.
In the "standard" version (without the onepage plugin) I can't save any change both in content or settings.
Invalid CSRF token!XH-ERROR: Invalid CSRF token!
/Users/msereday/webpages/rancdubina/cmsimple/classes/CSRFProtection.php:125
In the "onepage" version everything works fine except of the pagemanager. Where shall I look for a reason?
The only XH_debug warning is
WARNING: A non-numeric value encountered
/Users/msereday/webpages/rancdubina/cmsimple/functions.php:2661
But this is reported in both versions.
pagemanager-missnig-icons.jpg

Re: Invalid CSRF token!XH-ERROR again.

Posted: Sat Mar 03, 2018 12:53 pm
by cmb
Tata wrote:
Fri Mar 02, 2018 8:30 pm
After finishing templates creation with onepage plugin (now tested here), I tried to use the same templates without the plugin (now tested here). The templates work fine. Both webpages have exactly the same set of plugins.
I guess there is a fatal error caused by the template. Have a look at the generated HTML, and see whether it terminates as desired (</html>) or not.
Tata wrote:
Fri Mar 02, 2018 8:30 pm
In the "onepage" version everything works fine except of the pagemanager. Where shall I look for a reason?
The only XH_debug warning is
WARNING: A non-numeric value encountered
/Users/msereday/webpages/rancdubina/cmsimple/functions.php:2661
Hm, that would be an empty line. :?
Tata wrote:
Fri Mar 02, 2018 8:30 pm
But this is reported in both versions.
I suggest to compare the generated HTML of both versions. If it is identical, the FontAwesome Fonts or CSS might be missing.

Re: Invalid CSRF token!XH-ERROR again.

Posted: Sat Mar 03, 2018 1:06 pm
by Tata
Today the ERROR-WARNING is gone. Maybe OPCahce again involved.
The other warning was reallz caused by the additional empty line after the last ?> in functions.php.
Thanks a lot. Now all templates and pages work fine.
THX