• Hi I would appreciate if someone could help

    I have tried using the 5 minute installation process but i am a noobie to this and really am struggling.

    I am using a linux host with https://www.catalyst2.com and running from windows operating system.

    I have installed filezilla to upload the wordpress files
    and i have made a mysql data base with uername and passord.

    – I have changed the wp.my-config.sample.php to wp.my.config.php

    – I have altered the my-config file to the following – changing the DB name, DB user and password to the ones i set up in the database, everything else in the file I have kept the same. see script below:

    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘XXXXX’); // The name of the database
    define(‘DB_USER’, ‘XXXXX’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘XXXXX’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    // You can have multiple installations in one database if you give each a unique prefix
    $table_prefix = ‘wp_’; // Only numbers, letters, and underscores please!

    // Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-includes/languages.
    // For example, install de.mo to wp-includes/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”);

    /* That’s all, stop editing! Happy blogging. */

    define(‘ABSPATH’, dirname(__FILE__).’/’);
    require_once(ABSPATH.’wp-settings.php’);
    ?>
    ————-

    – I have uploaded the files to my public.html folder, created a directory called blog as suggested and upoloaded all the files into this folderr as it suggests in the 5 min installation instructions.

    – when i go onto my website domain – all i get in IE is a screen showing an index of my parent directory with folders for private, cgi,bin etc.

    I have then tried access https://www.’mydomain’.co.uk/blog//wp-admin/install.php – but nothing comes up!

    Any ideas, appreciate help in advance.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Green … double check your database to ensure you have the proper :

    1. database name
    2. database username
    3. database password

    also .. did you meant to say that your renamed the wp-config-sample.php to wp-config.php? there should be NO “my” anywhere …

    one thing that i have noticed with some hosts .. is that you might have to change the “define(‘DB_HOST’, ‘localhost’)” from the ‘localhost’ to your specific host … like … “mysql35.server.com”

    also … are you trying to install this to the root directory or to a created WP folder?

    DP

    I have changed the wp.my-config.sample.php to wp.my.config.php

    I hope this is not true!
    It should be wp-config.php
    Also, based on your typing here – there might be typos in your files, too. Sorry.

    If seeing the index of files and directories at the root – maybe there isn’t any index file there.

    As for the install.php not coming up: if you typed as here:
    mydomain’.co.uk/blog//wp-admin/install.php – it should not. Remove the double slash after blog!

    Thread Starter Greengoblin

    (@greengoblin)

    Moshu

    “I have changed the wp.my-config.sample.php to wp.my.config.php”

    is a typo error, my apologies, it is wp.config.php.

    I have also tried it in IE without the extra slash
    mydomain.co.uk/blog/my-config/install.php

    but just get a page not available!

    DesignPastor, I have now changed the

    define(‘DB_HOST’, ‘catalyst2.com’);

    ——–
    but this still not made any difference – any thoughts or ideas, i am completely new to this i am afraid!!!

    it is wp.config.php

    This is still not good enough ??
    wp-config.php

    mydomain.co.uk/blog/my-config/install.php
    This is wrong, too!
    example.com/blog/wp-admin/install.php – would be the correct path.

    At this moment (since I don’t trust your paths anymore…) a real link would be helpful.

    Thread Starter Greengoblin

    (@greengoblin)

    I have gone into the blog folder on my domain

    and get the following error page if this helps

    “Warning: main(../wp-config.php): failed to open stream: No such file or directory in /home/rodkirby/public_html/blog/admin.php on line 5

    Fatal error: main(): Failed opening required ‘../wp-config.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/rodkirby/public_html/blog/admin.php on line 5

    but not sure what this means – does this mean that I have not set up the blog directory properly?

    When you upload the WP files in the “blog” directory – do you have a lot of files and 3 (sub)folders in it?

    Thread Starter Greengoblin

    (@greengoblin)

    moshu

    I have all the files from the wordpress folder that I have uploaded, but no I dont have 3(sub)folders in it.

    Apologies for being so green to this!

    OK, don’t worry, we’ll fix it.
    Probably, it is a mistake that happened during the unzip. In most of the unzip facilities (tools) there is an option to maintain the folder/directory structure. You should make sure you have that option on!
    So, when you unzip the downloaded wordpress zip file – you must have about 18-20 files AND 3 folders:
    wp-admin
    wp-content
    wp-includes.
    + many files here.
    When you get that – upload it exactly as they are and it should work.

    Thread Starter Greengoblin

    (@greengoblin)

    moshu,

    I am now having partial success, I have downloaded the wordpress zip again, upoloaded, and changed the wp.config.sample file with my database name and password.
    (which I think I have done correctly!)

    https://www.rodkirby.co.uk/blog/wp-admin/install.php

    Now when I i try the above link it says the following

    “Error establishing a database connection
    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at localhost. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?”

    my wp-config.php file now looks like this:
    <?php
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘database1’); // The name of the database
    define(‘DB_USER’, ‘XXX’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘XXXX’); // …and password
    define(‘DB_HOST’, ‘locolhost’); // 99% chance you won’t need to change this value

    define(‘DB_HOST’, ‘locolhost’);

    Try that with localhost.

    Thread Starter Greengoblin

    (@greengoblin)

    Handysolo

    I have now put

    define(‘DB_HOST’, ‘catalyst2.com’);

    but still not working!

    Sorry, I was apparently not clear enough. How about:

    define('DB_HOST', 'localhost');

    instead?

    Thread Starter Greengoblin

    (@greengoblin)

    Handysolo

    okay changed back to ‘DB_HOST’, ‘localhost’);

    still no difference!

    Is it something to do with my database that i have set up -I have set up username and password with all privilages.

    If it is not “localhost” then you must ask your host what is the DB server.
    But before that, if you have cPanel for administering your site, read this: https://www.tamba2.org.uk/wordpress/cpanel/
    and pay special attention to the Really Important Bit!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Help with installation’ is closed to new replies.