After change host, can not add new content, but can edit
-
- Jr. Bludit
- Posts: 7
- Joined: Sat Jul 10, 2021 4:22 am
Hello !
After migrating it from the server to a subfolder, I can't create new content, the screen goes blank.
facts
- yes I can edit and it saves fine
- yes I can create categories
- I can not generate new content, the page is blank
- i dont think it is privileges to write files, because i have snicker comments and works fine , as i saves new comments
solutions that didn't work
- deactivating plugins, including html editors
- Activate the debug mode but it does not save any log file, nor does it give an error on the screen
- I tried to see if the console gives me any error, but I don't see anything. https://i.imgur.com/ycXcs9a.png
- I changed the privileges of the bl-content/pages folder to 755 , but it didn't work
any clue community ?
After migrating it from the server to a subfolder, I can't create new content, the screen goes blank.
facts
- yes I can edit and it saves fine
- yes I can create categories
- I can not generate new content, the page is blank
- i dont think it is privileges to write files, because i have snicker comments and works fine , as i saves new comments
solutions that didn't work
- deactivating plugins, including html editors
- Activate the debug mode but it does not save any log file, nor does it give an error on the screen
- I tried to see if the console gives me any error, but I don't see anything. https://i.imgur.com/ycXcs9a.png
- I changed the privileges of the bl-content/pages folder to 755 , but it didn't work
any clue community ?
-
- Ssr. Bludit
- Posts: 19
- Joined: Wed Apr 05, 2023 10:46 pm
- Has thanked: 4 times
- Been thanked: 1 time
Have you changed the Site URL in the Bludit settings panel?
Use this script to fix the directory and file permissions (may or may not help)!
Use this script to fix the directory and file permissions (may or may not help)!
Code: Select all
#!/bin/bash
D_OWNER=www-data
D_GROUP=www-data
D_ROOT="/var/www/html/yourdomain.com/subdirectory"
# reset to safe defaults
find ${D_ROOT} -exec chown ${D_OWNER}:${D_GROUP} {} \;
find ${D_ROOT} -type d -exec chmod 755 {} \;
find ${D_ROOT} -type f -exec chmod 644 {} \;