• Andrew

    (@andrewjohnstrong)


    I’m seeing the following issues after migrating a new wordpress site from a live server to my local machine (Mac, using MampPro 3.5.2).

    https://www.andrewstrong.com.au/wtf.png

    ( ! ) Warning: require_once(/Users/Andrew/Sites/_freelance/roche-estate-wordpress-app/site/wp-config.php): failed to open stream: Permission denied in /Users/Andrew/Sites/_freelance/roche-estate-wordpress-app/site/wp-load.php on line 37
    Call Stack
    # Time Memory Function Location
    1 0.0017 358664 {main}( ) …/index.php:0
    2 0.0022 360616 require( ‘/Users/Andrew/Sites/_freelance/roche-estate-wordpress-app/site/wp-blog-header.php’ ) …/index.php:17
    3 0.0028 373808 require_once( ‘/Users/Andrew/Sites/_freelance/roche-estate-wordpress-app/site/wp-load.php’ ) …/wp-blog-header.php:13

    ( ! ) Fatal error: require_once(): Failed opening required ‘/Users/Andrew/Sites/_freelance/roche-estate-wordpress-app/site/wp-config.php’ (include_path=’.:/Applications/MAMP/bin/php/php7.0.8/lib/php’) in /Users/Andrew/Sites/_freelance/roche-estate-wordpress-app/site/wp-load.php on line 37
    Call Stack
    # Time Memory Function Location
    1 0.0017 358664 {main}( ) …/index.php:0
    2 0.0022 360616 require( ‘/Users/Andrew/Sites/_freelance/roche-estate-wordpress-app/site/wp-blog-header.php’ ) …/index.php:17
    3 0.0028 373808 require_once( ‘/Users/Andrew/Sites/_freelance/roche-estate-wordpress-app/site/wp-load.php’ ) …/wp-blog-header.php:13

    Any help would be greatly appreciated ??

Viewing 1 replies (of 1 total)
  • Hi, Andrew (@andrewjohnstrong). These messages are saying that WordPress is unable to read the wp-config.php file due to a permissions problem. Can you check to see what the permissions are on that file? (Typically, they’d need to be set to 644.)

Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error and warning after install’ is closed to new replies.