• Resolved worddevs

    (@worddevs)


    Hi guys

    So I’m trying to install WordPress in localhost. I proceed as required, create the DB, create the user and giving it all privileges to that DB. Then I try to install wordpress by 1) changing the wp-config.php file manually, and 2) by letting wordpress do it, and everytime, just after submiting the last form, in which I specify the site and user details, I get the message “There has been a critical error on your website”, and nothing else. Checking the DB, I see that there are no rows in the users table in the wordpress DB, and hence I can not login. WordPress is not creating the user but it creates all tables in the DB, so it’s not a connection error. I don’t know what to do.

    By the way, I have php 7.4.0, Apache 2.4.41, MySQL 8 and WordPress 5.3.2. My local environment runs in Windows 10, and I’m not using any other software like xampp.

    Thank’s for your attention in advance

    • This topic was modified 6 years, 3 months ago by James Huff. Reason: moved to Locahost Installs forum
Viewing 1 replies (of 1 total)
  • I had a very similar problem to this on a local development installation – but I followed the WP debug instructions and checked the wp-error log for the error – and this was logged:

    [13-Jan-2020 08:42:23 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in [SNIP]\wp-includes\wp-db.php on line 2030

    So I altered the Maximum Execution Time in the php.ini to 90 seconds and that made it install without anymore problems.

    • This reply was modified 6 years, 2 months ago by ElSoIs. Reason: Typo
    • This reply was modified 6 years, 2 months ago by ElSoIs.
    • This reply was modified 6 years, 2 months ago by ElSoIs.
Viewing 1 replies (of 1 total)

The topic ‘Problem at first install and user creation’ is closed to new replies.