Forums

[resolved] ERROR with connection, Importing Blogger & Static PHP page (1 post)

  1. tivon
    Member
    Posted 2 years ago #

    I have an installation of WP installed at using lightword theme
    http://erkthajerk.com/erk (subdir)

    static page @ http://erkthajerk.com/layout-beta.php

    Whenever I do a php WP Header include:
    <!--Start of WordPress-->
    <?php
    define('WP_USE_THEMES', true);
    /** Loads the WordPress Environment and Template */
    require('./erk/wp-blog-header.php');
    ?>
    <!--End of WordPress-->

    The installation completely breaks the connection to the database, and prompts me with WP's install.php:

    "Welcome to the famous five minute WordPress installation process!"

    I have tried this several times, I reinstall WP, upload the lightword theme, once that's activated, I import a blogger post database, then I add the PHP include to a seperate php page (layout-beta.php), once I access that static page,

    I get an error:

    "Warning: Cannot modify header information - headers already sent by (output started at /home1/tivontv/public_html/erkthajerk/layout-beta.php:7) in /home1/tivontv/public_html/erkthajerk/erk/wp-includes/pluggable.php on line 868"

    I have confirmed that before accessing this static page, and after the blogger import, the WP install is working, however, once I attempt to access the static PHP page, the installation/database connection is broken.

    Has anyone experienced this? It has slowed down my progress drastically, and I have no known solution to solving this problem to proceed without the connection being broken.

    Please help if possible!

    wphelp@tivon.tv

Topic Closed

This topic has been closed to new replies.

About this Topic