Hello!
First of all, i've been lurking this forum for the past 3 or 4 days, looking at people with my same problem, but in the end I didn't manage to solve it, so I will ask here
I have a dokuwiki running on a CentOS machine. It was running perfectly smooth, without any errors, with multiple plugins, never had a single issue.
One day, when I was editing a page, when I pressed the "preview" button I was greeted with a error 500. Tried to save the changes directly and the same thing happened. I wanted to test why it happened, so I deleted the whole page and pressed preview, then the error didn't happen, and I started to try and troubleshoot the issue.
But another issue is happening right now. I can't even log into the wiki, it just returns an error 500, and on any PC i try to access it, if I had a user logged in, it returns a error 500. Doesn't give the error 500 if you are not logged in though, you can browse the pages perfectly (for example you can view it in incognito mode).
I looked at some posts, and tried running the:
php -d error_reporting=-1 -d display_errors=On doku.php
Command on the dokuwiki to see if it gave me any information, what gave me is as follows:
The datadir ('pages') at ./data/pages is not found, isn't accessible or writable.
You should check your config and permission settings.
Or maybe you want to run the installer?
I will mention, no changes have been made to the permissions of the machine at all, and the owner of all the directories is as it should be, and has full permissions over them.
This issue is driving me crazy and i would greatly appreciate some help 🙂
Thank you in advance!