GetSimple Support Forum
BUG REPORT Blank Error message when saving changes in CMS - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: BUG REPORT Blank Error message when saving changes in CMS (/showthread.php?tid=8442)



Blank Error message when saving changes in CMS - vish93 - 2016-05-27

Hi guys when I make a change to a page and press 'save updates' I get this error:

[Image: Screen_Shot_2016_05_27_at_14_25_33.png]


Weirdly, this doesn't cause an issue in the saving as all changes are saving. Why could this error be occurring ?


RE: Blank Error message when saving changes in CMS - Carlos - 2016-05-28

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.


RE: Blank Error message when saving changes in CMS - shawn_a - 2016-05-28

what version


RE: Blank Error message when saving changes in CMS - vish93 - 2016-05-29

(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


RE: Blank Error message when saving changes in CMS - vish93 - 2016-05-29

(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


RE: Blank Error message when saving changes in CMS - Carlos - 2016-05-29

(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.


RE: Blank Error message when saving changes in CMS - vish93 - 2016-05-31

(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 Confused


RE: Blank Error message when saving changes in CMS - datiswous - 2016-05-31

Maybe you can check /data/other/logs/errorlog.txt ?


RE: Blank Error message when saving changes in CMS - vish93 - 2016-05-31

(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 ? 


RE: Blank Error message when saving changes in CMS - shawn_a - 2016-05-31

Corrupt page xml?
You can pretty much ignore anything but ERROR


RE: Blank Error message when saving changes in CMS - vish93 - 2016-05-31

(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 Confused


RE: Blank Error message when saving changes in CMS - shawn_a - 2016-06-01

php version 7 ?
who knows, I cannot say it has ever been tested

Does new pages and edits do the same thing ?


RE: Blank Error message when saving changes in CMS - shawn_a - 2016-06-01

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


RE: Blank Error message when saving changes in CMS - vish93 - 2016-06-01

(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


RE: Blank Error message when saving changes in CMS - shawn_a - 2016-06-08

3.3.10 was released with this option


RE: Blank Error message when saving changes in CMS - vish93 - 2016-06-08

(2016-06-08, 08:04:23)shawn_a Wrote: 3.3.10 was released with this option

Any idea when it'll become stable ?


RE: Blank Error message when saving changes in CMS - datiswous - 2016-06-08

(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


RE: Blank Error message when saving changes in CMS - vish93 - 2016-06-08

(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 Smile


RE: Blank Error message when saving changes in CMS - vish93 - 2016-06-08

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 Sad


RE: Blank Error message when saving changes in CMS - shawn_a - 2016-06-08

Bad xml file


RE: Blank Error message when saving changes in CMS - vish93 - 2016-06-08

(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


RE: Blank Error message when saving changes in CMS - shawn_a - 2016-06-09

If you think a bug created the file you can send it to me to look at.
Maybe a escape or utf8 problem


RE: Blank Error message when saving changes in CMS - vish93 - 2016-06-09

(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.