XF 2.1 help me this issue HTTP ERROR 500

This page isn’t working​

antgsm.com is currently unable to handle this request.

HTTP ERROR 500

but if you type in your browser with /forum as stated below the site will load perfectly
antgsm.com/forum
 
by the way this is my error log

When I make this test request:
[root@host 1358483]# curl -ILs antgsm.com -w '%{http_code} %{remote_ip} %{url_effective}\n'
HTTP/1.1 500 Internal Server Error
Connection: Keep-Alive
Keep-Alive: timeout=5, max=100
x-powered-by: PHP/7.3.33
content-type: text/html; charset=UTF-8

500 162.248.48.113 http://antgsm.com/

these php errors are logged:
==> /var/log/httpd/domains/antgsm.com.error.log <==
2022-08-14 12:26:09.880227 [NOTICE] [30582] [T0] [162.123.48.113:59450#APVH_www.antgsm.com] [STDERR] PHP Warning: require(/home/xxxx/domains/antgsm.com/public_html/src/XF.php): failed to open stream: No such file or directory in /home/kids/domains/antgsm.com/public_html/index.php on line 10
2022-08-14 12:26:09.880261 [NOTICE] [30582] [T0] [162.123.48.113:59450#APVH_www.antgsm.com] [STDERR] PHP Warning: require(/home/xxxx/domains/antgsm.com/public_html/src/XF.php): failed to open stream: No such file or directory in /home/xxxx/domains/antgsm.com/public_html/index.php on line 10
2022-08-14 12:26:09.880266 [NOTICE] [30582] [T0] [162.248.48.113:59450#APVH_www.antgsm.com] [STDERR] PHP Fatal error: require(): Failed opening required '/home/xxxx/domains/antgsm.com/public_html/src/XF.php' (include_path='.:/usr/local/php73/lib/php') in /home/xxxxx/domains/antgsm.com/public_html/index.php on line 10

From this error, it can be seen that line 10 of script "/home/xxxxxx/domains/antgsm.com/public_html/index.php" has a require statement that is trying to load a script "/home/xxxx/domains/antgsm.com/public_html/src/XF.php" which does not exist.
 
Top Bottom