-
Notifications
You must be signed in to change notification settings - Fork 347
Cannot save files #999
Comments
Hi, nothing has changed, I still can't edit online. Care to help ? |
Hi @Klemich - there's a few errors to consider here and I think the JS errors already present are stopping you from saving any content. Everything seems to relate to permissions on your server somehow. Going through them in order...
Both of these seem to errors relate to having no dir listing for ICEcoder's backup dir. Is it there and ICEcoder has access rights to write to it? I can make some error handling adjustments here to avoid an error, but would be good to know if there's a
...this would seem to be triggered by trying to find in content when there is no content as the actual complaint was
This seems like no data was loaded (end of data at line 1 column 1, ie, no JSON data at all), I would guess looking at the JS code in icecoder.js that it's because again something is blocking it on your server? Summary |
I'm coming back to it today, I'll try to find the cause of all this. It's been a long time, I've worked offline ever since. |
so, icecoder.js permissions are like this : |
@Klemich re Copied from icecoder.net Home page:
Far more concerning - I've no clue what Maybe some overly protective security perhaps. |
OK, some more things to check and a test perhaps:
|
Hi, sorry for the delayed answer. Question 1 : yup, all |
Describe the bug
cannot save edited file. Just get a pop-up box message tell me "cannot save file". Either with shortcut or through the menu.
error.log :
dev console :
Uncaught TypeError: this.content.style is undefined
icecoder.js:3131 :
: parseInt(this.content.style.height, 10) / thisCM.lineCount())
it would seem that the browser doesn't like the ":" at the start of the line.
Uncaught (in promise) SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
problem on editor.php
Screenshots
Browser & Server (please complete the following information):
The text was updated successfully, but these errors were encountered: