My website, stardoctornode.great-site.net, is showing an HTTP 500 Internal Server Error immediately after a successful admin login attempt.
My PHP application needs to be able to write to three data files. I need you to manually set the file permissions (CHMOD) for the following files to be writable (0777 or 0666) in the root directory:
student_registrations.json
results.json
fetch_questions.php
This permission change is necessary to resolve the server-side crash. Please confirm when this has been done.
Thank you. the URL of the site on which you are experiencing the problem)
Error Message
(please share the FULL error message you see, if applicable)
Other Information
(other information and details relevant to your question)
A 500 Internal Server Error is usually an indication that your PHP code has crashed, but it doesn’t tell you why it has crashed.
To figure that out, you may want to enable Display Errors for your website. That will give you an actual error message that should help you troubleshoot the issue more effectively. You can read more about that here:
PHP code on our hosting is executed under your own user, meaning it always has access to read and write any files of your website. There is no need to ever chmod your files at any time (which is why we don’t have the option in the first place), and I can basically guarantee you that your issue is not caused by file permissions.