Posts: 39
Threads: 10
Joined: May 2016
Hi guys when I make a change to a page and press 'save updates' I get this error:
Weirdly, this doesn't cause an issue in the saving as all changes are saving. Why could this error be occurring ?
Posts: 3,491
Threads: 106
Joined: Mar 2010
So when you edit and save a page you get that instead of the yellow box with "Saved changes - Undo"
Can you check if page backups are being created in data/backups ?
If not, it may be a permissions issue.
Posts: 6,267
Threads: 182
Joined: Sep 2011
Posts: 39
Threads: 10
Joined: May 2016
(2016-05-28, 02:20:58)Carlos Wrote: So when you edit and save a page you get that instead of the yellow box with "Saved changes - Undo"
Can you check if page backups are being created in data/backups ?
If not, it may be a permissions issue.
Sorry for the delay in reply. That is correct and the folder backup within the data folder does not exist however I do have a backup folder in the base directory, and pages in their I believe were ones backed up from 24th march 2016
Posts: 39
Threads: 10
Joined: May 2016
(2016-05-28, 02:38:05)shawn_a Wrote: what version
this was happening in the 3.3.8 but I now have 3.3.9 and still occurs
Posts: 3,491
Threads: 106
Joined: Mar 2010
(2016-05-29, 05:52:08)vish93 Wrote: Sorry for the delay in reply. That is correct and the folder backup within the data folder does not exist however I do have a backup folder in the base directory, and pages in their I believe were ones backed up from 24th march 2016
Yes, that's correct, I was mistaken. It's /backups/pages (not data/backups as I said)
Then, perhaps there's some problem with that folder's permissions.
Posts: 39
Threads: 10
Joined: May 2016
(2016-05-29, 07:57:18)Carlos Wrote: (2016-05-29, 05:52:08)vish93 Wrote: Sorry for the delay in reply. That is correct and the folder backup within the data folder does not exist however I do have a backup folder in the base directory, and pages in their I believe were ones backed up from 24th march 2016
Yes, that's correct, I was mistaken. It's /backups/pages (not data/backups as I said)
Then, perhaps there's some problem with that folder's permissions.
Good morning Carlos, I have set the permissions to 777 its only on local xammp for now so not an issue. Wonder what this error could be down to
Posts: 1,247
Threads: 82
Joined: Feb 2011
Maybe you can check /data/other/logs/errorlog.txt ?
Posts: 39
Threads: 10
Joined: May 2016
(2016-05-31, 18:09:57)datiswous Wrote: Maybe you can check /data/other/logs/errorlog.txt ?
Good shout and as suggested just did this but weirdly last log is this:
[29-Mar-2016 11:33:33 Europe/Berlin] PHP Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /Applications/XAMPP/xamppfiles/htdocs/GMS/admin/inc/basic.php on line 291
Notice how the date shows '29th March 2016' could this be a clue ? am I being a paranoid over-thinker? I have recently updated xampp to the latest too, cant remember the date all that too well, but was around that date. Could it be php version 7 causing an issue, maybe a new simplexml is needed ?
Posts: 6,267
Threads: 182
Joined: Sep 2011
Corrupt page xml?
You can pretty much ignore anything but ERROR
Posts: 39
Threads: 10
Joined: May 2016
(2016-05-31, 22:09:38)shawn_a Wrote: Corrupt page xml?
You can pretty much ignore anything but ERROR
corrupt xml it can't be website health check suggests it to be fine
Posts: 6,267
Threads: 182
Joined: Sep 2011
php version 7 ?
who knows, I cannot say it has ever been tested
Does new pages and edits do the same thing ?
Posts: 6,267
Threads: 182
Joined: Sep 2011
usually this error means file save succeeded but chmod failed.
3.3.10 beta has GSDOCHMOD which can now be set to false to bypass this
https://github.com/GetSimpleCMS/GetSimpleCMS/issues/1149
Posts: 39
Threads: 10
Joined: May 2016
(2016-06-01, 03:54:43)shawn_a Wrote: usually this error means file save succeeded but chmod failed.
3.3.10 beta has GSDOCHMOD which can now be set to false to bypass this
https://github.com/GetSimpleCMS/GetSimpleCMS/issues/1149
Indeed I sadly upgraded my xampp, but yeah new and edit does same thing.
That does seem like the answer, as it ties in with the error of chmod permissions in settings page save even though data and backup folder are 777
Posts: 6,267
Threads: 182
Joined: Sep 2011
3.3.10 was released with this option
Posts: 39
Threads: 10
Joined: May 2016
(2016-06-08, 08:04:23)shawn_a Wrote: 3.3.10 was released with this option
Any idea when it'll become stable ?
Posts: 1,247
Threads: 82
Joined: Feb 2011
(2016-06-08, 18:26:34)vish93 Wrote: (2016-06-08, 08:04:23)shawn_a Wrote: 3.3.10 was released with this option
Any idea when it'll become stable ?
Since yesterday
Posts: 39
Threads: 10
Joined: May 2016
(2016-06-08, 18:34:16)datiswous Wrote: (2016-06-08, 18:26:34)vish93 Wrote: (2016-06-08, 08:04:23)shawn_a Wrote: 3.3.10 was released with this option
Any idea when it'll become stable ?
Since yesterday
Fantastic I shall go about updating right away, cheers
Posts: 39
Threads: 10
Joined: May 2016
Guys I have installed 3.3.10 and set that option to false and it has done the trick:
but now iv'e noticed this:
Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /var/www/html/gms/admin/inc/basic.php on line 291
Warning: simplexml_load_string(): b0VIM 7.0 in /var/www/html/gms/admin/inc/basic.php on line 291
Warning: simplexml_load_string(): ^ in /var/www/html/gms/admin/inc/basic.php on line 291
whats this mean and how can I fix this now
Posts: 6,267
Threads: 182
Joined: Sep 2011
Posts: 39
Threads: 10
Joined: May 2016
(2016-06-08, 22:04:18)shawn_a Wrote: Bad xml file
Yeah I realised, panicked for no reason. Now, I can go back to trying to get my favicon to show lol
Posts: 6,267
Threads: 182
Joined: Sep 2011
If you think a bug created the file you can send it to me to look at.
Maybe a escape or utf8 problem
Posts: 39
Threads: 10
Joined: May 2016
(2016-06-09, 10:00:24)shawn_a Wrote: If you think a bug created the file you can send it to me to look at.
Maybe a escape or utf8 problem
it was a .swp file. I deleted it and seems to be working fine. Was a 403 one.
|