WordPress.org

Ready to get started?Download WordPress

Forums

After 3.1.1 config and installation I only see index.php code (9 posts)

  1. bidibot
    Member
    Posted 3 years ago #

    Hi there,

    I've just tried to config and install WordPress 3.1.1 on 123reg hosting. My registered domain is http://www.onlineconsumerdigest.com - this website has hosting without a MYSQL database, so I have used the database of a different domain which does have a MYSQL database.

    I have filled all the necessary fields in the wp-config.php file and uploaded to my domains hosting successfully. However, when I go to my domain, I only see this:

    <?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');
    ?>

    [Please post code snippets between backticks or use the code button.]

    What have I done wrong, and what should I do in order to see wp-admin/install.php "Welcome" page that I need to see in order to start using WordPress?

    All help will be VERY welcome!

  2. If you are seeing the contents of the PHP file itself, it may mean that you do not have PHP installed on your server. Ask your host or check your hosting control panel whether PHP is running on your server.

    You can also create a file called test.php that contains just:

    <?php phpinfo() ?>

    And upload it. Look at test.php in your browser. If you see a page of PHP information, then you have PHP running. If you just see the code I gave you, then you do not have PHP running.

    this website has hosting without a MYSQL database, so I have used the database of a different domain which does have a MYSQL database.

    I don't know if that'll work. Many servers have security restrictions in place that would prevent that type of setup from working.

  3. bidibot
    Member
    Posted 3 years ago #

    Thank you so much for your quick response!

    I'll try the PHP test right now and report back.

  4. bidibot
    Member
    Posted 3 years ago #

    I've uploaded the exact PHP code you suggested. When I go to

    ftp://ftp@onlineconsumerdigest.com@onlineconsumerdigest.com/public_html/test.php

    I get this message:

    "Alert
    550 /public_html/public_html/test.php: No such file or directory"

    What does this mean? Sorry if these a rookie questions.

  5. I see the page here:

    http://onlineconsumerdigest.com/test.php

    You do not have PHP running.

    You'll really need to get a hosting account with PHP & a MySQL database to use WordPress - sorry!

  6. bidibot
    Member
    Posted 3 years ago #

    Not sure whether this will help at all, but I have a hosting account with PHO & a MySQL database for this domain http://www.nextnoize.com.

    Currently this domain is pointing at a Blogger site, so the hosting isn't being made use of.

    I'm trying to set up WordPress using the aforementioned MySQL database but using the hosting account of http://www.onlineconsumerdigest.com

    Perhaps this was a badly thought through idea, but please could you explain why this isn't working so I can understand?

    Thank you!

  7. bidibot
    Member
    Posted 3 years ago #

    I suppose my real question is- how can I build a new WordPress blog, while still being able to keep my http://www.nextnoize.com domain pointing at Blogger?

    This domain's hosting does have PHP scripting and a MySQL database.

    All suggestions will be greatly appreciated!

  8. Dumb question, but why do you need hosting for a domain that's just pointing to Blogger? Why not cancel that hosting, and just do a domain redirect at the registrar level. (Or downgrade the hosting plan so you pay less.) Then get a proper hosting account for the domain you want to use WordPress on. Or get some inexpensive hosting for your http://www.onlineconsumerdigest.com site that includes PHP & MySQL - the hosting market is really competitive now. Or ask your current host how much it would be to upgrade your account.

    Good luck!

  9. bidibot
    Member
    Posted 3 years ago #

    Sorry, maybe I haven't explained this clearly enough.

    Currently my domain http://www.nextnoize.com is pointing at my Blogger account. I want to redesign my NextNoize blog in WordPress, while keeping the domain pointing at Blogger (so as not to confuse/lose readers).

    Once I've redesigned my blog in WordPress, I'll stop pointing my domain at Blogger and have it show my WordPress blog instead.

    My solutiong (perhaps silly) was to use the hosting account's MySQL database registered for http://www.nextnoize.com, but on http://www.onlineconsumerdigest.com (a spare domain I haven't used for ages) in order to build my wordpress blog, without have to stop pointing http://www.nextnoize.com at my Blogger account.

    Hope this makes sense?! Please help!

Topic Closed

This topic has been closed to new replies.

About this Topic