• Hi there,

    I’ve just tried to config and install WordPress 3.1.1 on 123reg hosting. My registered domain is https://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!

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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.

    Thread Starter bidibot

    (@bidibot)

    Thank you so much for your quick response!

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

    Thread Starter bidibot

    (@bidibot)

    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.

    I see the page here:

    https://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!

    Thread Starter bidibot

    (@bidibot)

    Not sure whether this will help at all, but I have a hosting account with PHO & a MySQL database for this domain https://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 https://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!

    Thread Starter bidibot

    (@bidibot)

    I suppose my real question is- how can I build a new WordPress blog, while still being able to keep my https://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!

    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 https://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!

    Thread Starter bidibot

    (@bidibot)

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

    Currently my domain https://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 https://www.nextnoize.com, but on https://www.onlineconsumerdigest.com (a spare domain I haven’t used for ages) in order to build my wordpress blog, without have to stop pointing https://www.nextnoize.com at my Blogger account.

    Hope this makes sense?! Please help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘After 3.1.1 config and installation I only see index.php code’ is closed to new replies.