Page 1 of 1

500 error all of sudden

Posted: Mon Mar 27, 2023 1:51 pm
by Nightmaster
Hey guys!

All of sudden (I haven't update nor change anything on server/site) I got error 401, which I fixed by changing chmod on directory from 000 (i don't know how that was 000 as I haven't set that for sure!) to 755, but now i'm getting a 500 error.
All services up and running, no problems there. Tried to reboot server few times, same result.

I have multiple sites on this server, and just one is showing this error, all others are working nicely, so I'm confused. Is there something specific I should look for to fix this? Any suggestions?
I'm not sure if phpinfo would give you some more details but here it is:

Code: Select all

https://www.samo-opusteno.info/forum/phpinfo.php
Oh, also the thing i just noticed, it didn't let me even open phpinfo file before I added a <?php to header, it was just short tag <? earlier?! Why would that happen?

Re: 500 error all of sudden

Posted: Sat Apr 01, 2023 8:28 am
by Vegas10128
It could be the script you are using,
I have dealt with some from laravel that work fine for about 30 days, all of a sudden the entire cms goes belly up. I would double check those permissions on your public html, thow that cms in a subfolder for now, then try using your info.php file to see if you get a response then.

That should tell you the server is actually working and not the script.

Re: 500 error all of sudden

Posted: Mon Apr 03, 2023 8:03 am
by Nightmaster
Thanks for your answer.

I doubt it can be caused by a software itselt. It's a forum script i've been using for years now, and I'm pretty sure it's good and updated.
On the other hand my chmod is changing by itself, it's back at 000 now so I again got 403 error, and I can't change it to 755 now, it says permission denied when i try to do that via FTP :/

Re: 500 error all of sudden

Posted: Wed May 03, 2023 5:05 pm
by Varitrix
Have you looked at event logs or used any monitoring services? For example, third-party like HostTracker https://www.host-tracker.com/en shows logs problem.