hi, a few days ago i way cleaning my shared hosting account from files that i thought are not necessary (like cache database, logs) and i think after that 500 Internal Server Error started to show up or it was only coincidence that it started to show i don't know. What i wanna ask is, can it possible that i caused this cause of my deletion of the files from the server, are there any files that are vital but can be erased?
you mean from my domain www folder? or from somewhere else? cause i don't have .htaccess in www folder. Should it be in some other directory (like /home/myusername/)?
i now noticed that this only happens when i try to run .php files in directory's that are under a domain, if i rund then in the main www folder everything works, it's weird. What should there be in the htaccess file and where should i put it?
do you have an htacess file in the directories you run into problem ? a 500 error, is a server related error. Either htacess or you will need to recompile your php
Check the error logs for your domain. It will give you some more information. Also, update your host to check the issue so that you can resolve this as soon as possible. Kailash
i can't get in touch with my host, they are not responding, there is no .htaccess in the directory's at all, i think i never had them, in my other host i don't see it anywhere and everything works fine. I'm starting to believe that i didn't cause this and i will just have to be patient until my host support comes online, i will report back here when they do. And also there is no error_log at all, anywhere i double checked.
-Internal Error 500: The server was unable to send the html document to you due to an internal (server software) error. are you able to copy/edit/add anything on your account? if not, the problem is that the server is on read-only mode, you should ask for a server reboot if this is the case.
Hi, Please check the php file permissions in your site. It should be 644, if you have given 777 permission then it would throw you an error. Let us know how it goes after you change the permission. Regards, Sreyas
you really need access to your apache error logs. It could be anything - deleted files that were actually needed, a typo in your code, file permission error... Your apache log will tell you everything you need to track it down. If you really can't get them, try re-uploading the files you deleted, if you happen to have an old copy anywhere.