Forums » Installing WordPress » Can’t install: “the site is experiencing technical difficulties”

  • Resolved waterdog1234

    (@waterdog1234)


    Hi,

    I am having trouble setting up a new wordpress site.

    All I did was:
    1. upload wordpress 5.2.2 files (danish language) to the server
    2. go to the URL…
    And then it redirected to /wp-admin/setup-config.php which shows the following message: “The site is experiencing technical difficulties.”

    If I try to setup a manual wp-config file, the result is a Fatal error…:

    Warning: require_once(/home/www/mywebsiteurl/wp-includes/sodium_compat/src/SodiumException.php): failed to open stream: No such file or directory in /home/www/mywebsiteurl/wp-includes/sodium_compat/autoload.php on line 40

    Fatal error: require_once(): Failed opening required ‘/home/www/mywebsiteurl/wp-includes/sodium_compat/src/SodiumException.php’ (include_path=’.:/php/includes:/usr/share/php’) in /home/www/mywebsiteurl/wp-includes/sodium_compat/autoload.php on line 40

    I have no clue as to what is causing this error, and I am running other wordpress blogs at the same web-host without experiencing this problem…

Viewing 7 replies - 1 through 7 (of 7 total)
  • The error is saying that it can’t find one of the files that should be part of WP. (wp-includes/sodium_compat/src/SodiumException.php) But this path is questionable because it is in src.

    A recent feature was added to verify the signatures of the code. The sodium library helps with that. But it was discovered that not all systems had the library (depending on the PHP version), and that was fixed with the compat folder. There was a memory problem with some versions of it when run on a 32 bit system. But that was fixed.

    If you are running WP 5.2.2 on that same server, maybe this one is configured slightly different? I don’t think it’s the danish version, but anything’s possible.
    On your host, where you can choose the PHP version, is there a section where you choose the libraries? See if sodium is there and enable it.
    Or fall back to WP 5.1 until you can get a solid answer on this one. (No one is around on Sundays.)

    I’ve been experiencing this issue a lot lately. The solution I’ve found works every time is just to re-upload the files to your server via FTP. This has worked at least 10 times for me.

    Alternatively you can manually create your wp-config.php file and do it that way.

    • This reply was modified 4 years, 8 months ago by teknoge3k.

    I am experiencing this right now. thanks for the answers.

    Thread Starter waterdog1234

    (@waterdog1234)

    Thank you all for your replies.

    I finally found the solution.
    The problem was not caused by WordPress or the webserver. The problem was that after updating my FTP client, a default setting was changed.
    The setting in question was “Convert file names to lowercase”. As a result the server was not able to find all of the files required to launch WordPress…

    It was not easy to find this solution. It would be nice if WordPress did not have filenames with capital letters – or if the setup-config.php would do a check to see if files have the correct upper or lower case letters.

    Thx waterdog, that was the solution for me too 🙂

    roman933

    (@roman933)

    [РЕШЕНО: install wordpress critical error, debugging in WordPress]
    При переносе файлов WordPress на хостинг с помощью Total Commander в Настройках этой программы была активирована опция замены заглавных букв в названии файлов на строчные. Из за этого файлы WordPress не работали – не давали установить систему управления сайтом.
    Саму настройку в TC я так и не нашёл, поэтому просто скачал Filezilla и перенёс файлы с её помощью.
    Спасибо большое автору топика, ты очень помог! Даже поддержка хостинга не могла сказать, в чём проблема. Надеюсь, моё сообщение поможет тем, кто столкнётся с той же проблемой. Удачи Вам, ребята!

    • This reply was modified 4 years ago by roman933.
    • This reply was modified 4 years ago by roman933.

    There are a certain number of way to debug the error, I found a blog post that explain all the possible ways. I am sure it will help others to fix this issue.

    https://wprepairgigs.com/the-site-is-experiencing-technical-difficulties-error-in-wordpress/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can’t install: “the site is experiencing technical difficulties”’ is closed to new replies.