Cannot save changes to pages i CMS5.8
Cannot save changes to pages i CMS5.8
Dear all,
We just (almost) succesfully updated our web server from CMS 4.0 to CMS 5.8 and enabled php 8.0 on the server.
All pages existing can be seen. We can run setup.php and set password (though it was not necessary) so the update seem almost ok.
But when we login and make chages to web pages and save these, there is no updates made to the pages. We get a message: CSRF protection - logout »
and can either go back in the browser og logout but the changes are ignored.
What can be the cause og this?
Also I looked for log files but I don't find any. How can I enable loggging so I perhap could find the cause of this.
Thanks for valuable feedback
-Frederik
We just (almost) succesfully updated our web server from CMS 4.0 to CMS 5.8 and enabled php 8.0 on the server.
All pages existing can be seen. We can run setup.php and set password (though it was not necessary) so the update seem almost ok.
But when we login and make chages to web pages and save these, there is no updates made to the pages. We get a message: CSRF protection - logout »
and can either go back in the browser og logout but the changes are ignored.
What can be the cause og this?
Also I looked for log files but I don't find any. How can I enable loggging so I perhap could find the cause of this.
Thanks for valuable feedback
-Frederik
Re: Cannot save changes to pages i CMS5.8
This is CMSimple, it does not log all what you are doing

You can disable CSRF protection in the CMS Configuration.
Maybe there are some problems with sessions on your server, or have you leaved your PC without saving and logging out? After some time the CSRF protection will be in action, if enabled,
Gert
Re: Cannot save changes to pages i CMS5.8
Thanks,

(Btw should the line be empty instead of "true" to disable?)
Can I edit some server side file to disable CSFR protection?
Yours,
-Frederik
but I cannot change the configuration. It gives the same problemGert wrote:
You can disable CSRF protection in the CMS Configuration.

(Btw should the line be empty instead of "true" to disable?)
Can I edit some server side file to disable CSFR protection?
Yes, I could think that some reload should be done on the server side? The site is hosted by some provider, so I have to figure out how to make them restart the server side.Gert wrote:
Maybe there are some problems with sessions on your server, or have you leaved your PC without saving and logging out? After some time the CSRF protection will be in action, if enabled,
Yours,
-Frederik
Re: Cannot save changes to pages i CMS5.8
Yes, or enter "gnmpf" or so ...

In this case download the file ./cmsimple/config.php, open it with an code editor, change the line by hand and upload again.
But I really do not know, what happens there on your server ...
Gert
Re: Cannot save changes to pages i CMS5.8
I managed to change the config file and now I can make and save changes to the existing pagesGert wrote: In this case download the file ./cmsimple/config.php, open it with an code editor, change the line by hand and upload again.

But it seems, that I canot drag-and-drop nor change the page structure in pagemanager ? Save has apperently no effect after update ?
Yours,
-Frederik
Re: Cannot save changes to pages i CMS5.8
Hello, thank you for the access.
Sorry, but you need professional help. I have found folders (for example templates/ and userfiles/ under plugins/) they have nothing to do there. Seems that there some uploads gone wrong, and nobody knows, what else happened ...
And your MembersArea also is very old.
My recommendation: Setup CMSimple 5.8 new, test it and then extend it step by step to your current website,
Gert
Sorry, but you need professional help. I have found folders (for example templates/ and userfiles/ under plugins/) they have nothing to do there. Seems that there some uploads gone wrong, and nobody knows, what else happened ...
And your MembersArea also is very old.
My recommendation: Setup CMSimple 5.8 new, test it and then extend it step by step to your current website,
Gert
Re: Cannot save changes to pages i CMS5.8
... there is an empty line before your doctype. Where this comes from? As I seen: not from the template.
Your installation is a catastrophe ... what you have done? What happens on your website?
Your installation is a catastrophe ... what you have done? What happens on your website?
Re: Cannot save changes to pages i CMS5.8
Thanks for your effort this far. Basicaly I have just taken over this web site recently. What we did recently was just to upload the upgrade files to come from 4 to 5.8. Before that the site worked fine.
But I think I agree with you, that a fresh install and a gradually restore must be done. We have a bavkup so it should not be too difficult ?
I have one more question: The webpages that we have (in the backup) how and where are they represented in the server file system?
Thanks you again for you valuable feedback.
-Frederik