-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scribe doesn't add new posts and cannot edit existing ones #190
Comments
having too many includes is only way you can get this error. Lines 1062 to 1065 in d570354
|
Dear @canewsin
I removed almost all files from the directory and the |
@qomhmd IMBW but one can loose track of which errors do you mean, that is why it is handy to keep these mentioned in original posts(OP)/first post of this issue for example or link to a log file that you uploaded (i am usually using expired paste at https://bin.disroot.org/) where i exclude unrelated lines so developer spend less time. Also your post is missing ZNX version number and operating system, python version. BTW. after changes in site file/s are signed, i may restart ZN. |
@slrslr Thank you for your recommendation. I don't know yet whether the log file encompasses any errors, or I am supposed to check the browser console also. Nothing resolved after restarting ZN. Now is it better to edit the OP or start a new issue? |
@qomhmd try checking next_post_id in data.json, sometimes this causes issue to not add new post. |
The id was correct beforehand; my last May the problem be related to the discrepency of
This log is selected from the original log file while ZeroNet was working in the offline mode, for a period following:
|
It seems that the culprit is adding images to the posts using markdown which would prevent us from adding new posts; if one deletes the related content, the functionality returns! |
Edited: I reduced the number of includes by base64 encoding and embedding most of the pictures into
data.json
. But the other problems persist.I should mention that I have added posts to
data/content.json
manually.Nothing is shown after I click on the "add a new post" button but in browser console:
When I edit an existing post:
Meanwhile, my browser console says:Also, after some lines about loading image file:
The text was updated successfully, but these errors were encountered: