• Welcome to Simple Machines Community Forum. Please login or sign up.
September 20, 2021, 07:28:18 AM

News:

SMF 2.1 RC4 has been released! Try it out and help us test! :) Read more.


PHP Fatal error: require_once(): Failed opening required '/QueryString.php'

Started by castris, March 28, 2020, 05:23:34 AM

Previous topic - Next topic

castris

Hi.

Scenario

Apache 2.4.41
PHP 7.2 PHP-FMP (Also try with cgi mode)
SMF 2.0.17

Error critical not show page (error 500)

[28-Mar-2020 09:19:10 UTC] PHP Notice:  Undefined variable: boarddir in /home/tablonen/public_html/smf/index.php on line 47
[28-Mar-2020 09:19:10 UTC] PHP Notice:  Undefined variable: sourcedir in /home/tablonen/public_html/smf/index.php on line 51
[28-Mar-2020 09:19:10 UTC] PHP Warning:  require_once(/QueryString.php): failed to open stream: No such file or directory in /home/tablonen/public_html/smf/index.php on line 51
[28-Mar-2020 09:19:10 UTC] PHP Fatal error:  require_once(): Failed opening required '/QueryString.php' (include_path='.:/opt/cpanel/ea-php72/root/usr/share/pear') in /home/tablonen/public_html/smf/index.php on line 51



Find this file in
./smf/Sources/QueryString.php


Any ideas what is wrong ?



Shambles

Download and check the content of your Settings.php file.

I'm guessing it's empty, so copy over the content of your Settings_bak.php file.

castris

Hi. Thanks....

Try with full restore copy files from backup.

Now work.

Best regards.

Advertisement: