Hi, my server admin noticed some weird errors appearing in the server error log. I'm ignorant about this, but it seems like something is requesting a file and function from an old version of XF. We're using XF 2.1.0 but some old files where left in the directory after upgrading last year.
These are the errors (I've edit unnecessary server details). They're happening regularly, a few times every minute. My forum is very active.
Any clues about what's going on?
[Fri Jun 26 20:16:13.055528 2020] [php7:error] [pid 2366] [client XXXXX] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /...myforumdirectory.../showthread.php:2\nStack trace:\n#0 {main}\n thrown in /...myforumdirectory.../showthread.php on line 2
If I remove the showthread file, the error changes to:
[Fri Jun 26 19:15:17.616593 2020] [php7:error] [pid 31682] [client XXXXX] script 'myforumdirectory/showthread.php' not found or unable to stat
[Fri Jun 26 19:18:11.607854 2020] [php7:error] [pid 31073] [client XXXXX] script 'myforumdirectory*/showthread.php' not found or unable to stat
This one related to external.php also appeared:
Fri Jun 26 20:13:11.900915 2020] [php7:error] [pid 2622] [client XXX] script 'myforumdirectory/external.php' not found or unable to stat
These are the errors (I've edit unnecessary server details). They're happening regularly, a few times every minute. My forum is very active.
Any clues about what's going on?
[Fri Jun 26 20:16:13.055528 2020] [php7:error] [pid 2366] [client XXXXX] PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /...myforumdirectory.../showthread.php:2\nStack trace:\n#0 {main}\n thrown in /...myforumdirectory.../showthread.php on line 2
If I remove the showthread file, the error changes to:
[Fri Jun 26 19:15:17.616593 2020] [php7:error] [pid 31682] [client XXXXX] script 'myforumdirectory/showthread.php' not found or unable to stat
[Fri Jun 26 19:18:11.607854 2020] [php7:error] [pid 31073] [client XXXXX] script 'myforumdirectory*/showthread.php' not found or unable to stat
This one related to external.php also appeared:
Fri Jun 26 20:13:11.900915 2020] [php7:error] [pid 2622] [client XXX] script 'myforumdirectory/external.php' not found or unable to stat