• I upload teh entire WorPress on the server.

    If i go the home page of my site i have the index.php page with the code :

    <?php
    /**
    * Front to the WordPress application. This file doesn’t do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define(‘WP_USE_THEMES’, true);

    /** Loads the WordPress Environment and Template */
    require(‘./wp-blog-header.php’);
    ?>

    My wordpress folder is located in https://www.kigali-guide.com/Kigaliguide.

    Help me.

    Thanks.

Viewing 15 replies - 16 through 30 (of 33 total)
  • Thread Starter Eugentuk

    (@eugentuk)

    @ Tim , I contact them but no answer…
    @ web-bart, If i execute the new php document with the code , I get this:

    Warning: Unterminated comment starting line 6 in /home/kigaligu/public_html/hello.php on line 6
    hello world

    pretty strange, it is a php comment, isn’t it? But 1 thing is sure, it executes php, becouse if it didn’t, you wouldn’t get the error.

    I have no idea whats the problem on this. Maybe someoneelk?

    Lets wait for an response from the hosting.

    Kind regards,

    Webbart

    Thread Starter Eugentuk

    (@eugentuk)

    If I put it in WordPress folder…it’s ok

    Bye bye World is displayed ..

    okay, so its clearly sure that the error is found in 1 of the wordpress codes. You can try to download a new wordpress from the website, instal it again, and upload what you wanna load in the wp-content/themes/your_theme_map

    Hopefully this works.

    Kind regards,

    Webbart

    Thread Starter Eugentuk

    (@eugentuk)

    I already installed a new wordpress and configure my databases .
    The code
    <?
    phpinfo();
    ?>
    display The version of Php but in the installation there is a error message :
    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/kigaligu/public_html/Kigaliguide/wp-config.php on line 25

    Hi Eugentuk,

    Line 25 if I’m not mistaken is your password line for the database. You’ll need to make sure that the syntax is correct. Here’s the correct syntax:

    /** MySQL database password */
    define('DB_PASSWORD', '*****');

    Replace the ***** with your actual password for the database. I hope this helps!

    Thread Starter Eugentuk

    (@eugentuk)

    I correct all but the problem persist in the line 28 of :
    /** MySQL hostname */
    define(‘DB_HOST’, ‘******’);

    I would re-type it. Sometimes spaces can cause the issue. Make sure you don’t have any spaces in there. If that doesn’t work – I’d download a fresh copy of the wp-config file and use that.

    the host should be https://www.kigali-guide.com

    Thread Starter Eugentuk

    (@eugentuk)

    this hostname is not working

    I don’t know how to fix this, but I even don’t wanna give up…

    Your DB host, should not be your domain name, it should be ‘localhost’

    I hope this helps!

    Thread Starter Eugentuk

    (@eugentuk)

    How to find my Hostname ?

    becouse its the same by everyone… But I’ve made a mistake I think…

    Kind regards,

    Webbart

Viewing 15 replies - 16 through 30 (of 33 total)
  • The topic ‘Blank index.php page’ is closed to new replies.