XH 1.6.3: Saving page data

A place to report and discuss bugs - please mention CMSimple-version, server, platform and browser version
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: XH 1.6.3: Saving page data

Post by cmb » Fri Sep 04, 2015 9:11 pm

Tata wrote:But it has not been saved in config.php. Now I changed it in the file manually. And the page works. But why was it not saved trougn the admin functions?
Can you reproduce the problem, that config.php is not saved from the backend? If so, what happens after you click "Save"? Is the success message shown?
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: XH 1.6.3: Saving page data

Post by Tata » Sat Sep 05, 2015 6:18 am

1. I made clear CMSimple_XH 1.6.7 installation.
2. Installed Onepage, Twocents and Flexslider (the latest versions).
3. Removed all templates and created very simple one.
Then
After trying to save/logout, above mentioned "Invalid CSFR..." returned.

4. After rewriting the mini1 template manually, everything works and I can make any changes and saving them.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: XH 1.6.3: Saving page data

Post by cmb » Sat Sep 05, 2015 10:06 am

Tata wrote:After trying to save/logout, above mentioned "Invalid CSFR..." returned.
Ah, I see. This error most often occurs, if the script has been ended prematurely. Have you checked that your template is completely rendered? There may be a call to a function near the bottom that fails, what would explain the behavior. If there is a failure, there should be a respective message at the bottom.
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: XH 1.6.3: Saving page data

Post by Tata » Sat Sep 05, 2015 3:47 pm

A don't think and I also can't check it anymore, as I have changed the template manually and since then everything works.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: XH 1.6.7: On saving Invalid CSRF token!

Post by Tata » Sat Apr 23, 2016 11:01 am

I can't find, what did cause it. I only played with the stylesheet and adder

Code: Select all

</body>
</html>
<?php encMailTplBottom();?>
Anyway, trying to save e.g. configuration, I get (with XHdebug on):

Invalid CSRF token!XH-ERROR: Invalid CSRF token!
/www/c/m/u13296/public_html/_sub/warhol-qc/cmsimple/classes/CSRFProtection.php:112

What now?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

Re: XH 1.6.3: Saving page data

Post by cmb » Sat Apr 23, 2016 5:13 pm

Hm, I suggest you have a close look at the bottom of the page: isn't there an error reported?
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: XH 1.6.3: Saving page data

Post by Tata » Sat Apr 23, 2016 5:37 pm

No, there's nothin more on the page. But, as before with another problem, after 2-3 hours everything works again without problems.
I just can't check right now, how is it with this problem, as I left my notebook in the office. Will check it next week.
Also I am still trying to get somehow the protected download and wdir cooperate (Posted here). If the wdir output could be extended by download buttons in each generated row and the button could be provided with PDL configurable options (name, email,direct download or dowload link per email), it would be nice plugin.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

kurtm
Posts: 50
Joined: Tue Sep 03, 2013 12:29 am
Location: New Zealand

Re: XH 1.6.3: Saving page data

Post by kurtm » Sun Apr 24, 2016 1:56 pm

After my ISP upgraded me to a new server I'm having similar problems getting the "Invalid CSRF token!XH-ERROR: Invalid CSRF token!" error.
Also the "pagemanager" plugin gets a 403 error when trying to save. Similarly the "Settings/Language" configuration file save fails with 403 error.
Also, "Gallery" can't create folders. Message is "Error creating new folder!"

The "Settings/Info" output ...
Installed CMSimple Version
- CMSimple_XH 1.6.7 Released: 2015-06-30
Installed Plugins
- Filebrowser for CMSimple_XH 1.6.7
- Gallery
- Hi_updatecheck 1.4
- Jquery 1.6.1
- Meta_tags for CMSimple_XH 1.6.7
- Pagemanager 2.0.5
- Page_params for CMSimple_XH 1.6.7
- Tinymce for CMSimple_XH 1.6.7
- Utf8 0.5.5
Webserver is Apache
PHP-Version is 5.3.29
... and all the System checks are ticked.

I'm now managing the pages the old fashioned way using tags but can't add gallery images.

I have set all the directories and files that were mentioned in the installation instructions to 777.

Suggestions please.
Thanks.

Tata
Posts: 3586
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: XH 1.6.3: Saving page data

Post by Tata » Sun Apr 24, 2016 2:00 pm

I have found, that restart of localhost or longer break on host makes thing running smoothly again. But this is no solution, though.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

kurtm
Posts: 50
Joined: Tue Sep 03, 2013 12:29 am
Location: New Zealand

Re: XH 1.6.3: Saving page data

Post by kurtm » Tue Apr 26, 2016 10:56 pm

Further to the issue raised above, I have another site on the same server which does not have the 'pagemanager' or 'Settings/Language' 403 errors. The version is CMSimple MOD 1.5.3a. PHP 5.3.29. Same ISP host.

Post Reply