• Resolved ttrusty

    (@ttrusty)


    NOTE: This is a repost of a request for aid that I originally posted a couple of weeks ago that is still unresolved. The code and the settings listed below have been checked and double checked. Note the Thanks in advance for any assistance.

    The original post read as follows:

    I have been having some problems of my own doing with my blog and it will currently not display. I’ve worked on this for several hours and am unable to figure out the cause of trouble.

    The error messages I am getting are:

    Warning: main(): Unable to access ./news/wp-blog-header.php in /home/virtual/site437/fst/var/www/html/news/index.php on line 4

    Warning: main(./news/wp-blog-header.php): failed to open stream: No such file or directory in /home/virtual/site437/fst/var/www/html/news/index.php on line 4

    Warning: main(): Unable to access ./news/wp-blog-header.php in /home/virtual/site437/fst/var/www/html/news/index.php on line 4

    Warning: main(./news/wp-blog-header.php): failed to open stream: No such file or directory in /home/virtual/site437/fst/var/www/html/news/index.php on line 4

    Fatal error: main(): Failed opening required ‘./news/wp-blog-header.php’ (include_path=’.:/php/includes:/usr/share/php:/usr/share/pear’) in /home/virtual/site437/fst/var/www/html/news/index.php on line 4

    (Note the /index.php at the end of the path. I think this is where the trouble lies.}

    My URL and URI fields on the options page are set https://www.trustyandcompany.com/news which is also the setting for the site URL in my database.

    My index.php file reads:

    <?php
    /* Short and sweet */
    define(‘WP_USE_THEMES’, true);
    require(‘./news/wp-blog-header.php’);
    ?>

    Any help would be greatly appreciated. Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try chaning your index.php to this.

    <?php
    /* Short and sweet */
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    Thread Starter ttrusty

    (@ttrusty)

    Thank you Jeremy! You’re a Pro! It works perfectly!
    I think I even understand why it works. Thanks again.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Please help, blog will not display (3rd request)’ is closed to new replies.