500 error message

My file “CAS_RoulList.php” is defenitly in my public_html but I’m getting the 500 error.

function mylist()
return false;
return false;}

Coding issues are probably better over here

It seems you are saying that you’ve solved the problem and the solution is in “Post #2”. If I understood correctly, can you tell me how I get to “Post #2”.
As far as I can see the problem isn’t fixed - I still get the problem. I’m uploading my screen shot as it seems you’re telling me to do although I don’t see what difference that makes. It’s as I said: Error 500.
Same for my URL which is https://casdata.000webhostapp.com

No I didn’t solve the problem, a 500 error generally indicates a coding or a script issue not a hosting issue.
Check your htaccess file are enable PHP debugging on the files that are having issues


ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);

In the file after the PHP tag of the erroring pages

Thank you - found errors in my file but I don’t understand why this should be a 500 message - seems an incorrect message to me.

Your screenshot literally says.
That’s odd… The website can’t display this page.
The site may be under maintenance or could have a programming error.

Yes but I thought the URL should load and my program wouldn’t work.
I guess it doesn’t work that way.