• Hello,
    All installation stages quick and easy, tables all created, but when attempting the first login I get:

    “Warning: main(wordpress/./wp-config.php): failed to open stream: No such file or directory in /home/.sites/76/site98/web/wordpress/wp-login.php on line 2

    Fatal error: main(): Failed opening required ‘wordpress/./wp-config.php’ (include_path=’/usr/lib/php’) in /home/.sites/76/site98/web/wordpress/wp-login.php on line 2

    Is this a PHP include path problem (shared server so can’t change it)”

    The url is https://www.westendpictures.co.uk/wordpress and I tried this url and the same with a trailing slash in the setup with the same result.

    Please help.

    Andy

Viewing 3 replies - 1 through 3 (of 3 total)
  • Odd, very odd, it worx fine for me. I was able to register, browse the site, and update my profile without seeing anything wrong. This is really weird b/c php is server side, so any php errors should be universal no matter who the client is…
    Try going on thru php admin, going to the table wp-options and editing the value for ‘site url’ You might have given wordpress an invalid site root reference

    worked for me too!

    Thread Starter prestbury

    (@prestbury)

    Thanks everyone for their time – really appreciated as I have never se this up before.

    The problems was register globals, which are now emulated (shared server so can’t switch them on)

    Thanks again for your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: main(): Failed opening required’ is closed to new replies.