• https://www.tamba2.org.uk/wordpress/xampp/

    This is the page I have had come up in my google searches for how one might install wordpress and using xampp for testing your wordpress on your local machine first.

    Anyhow, I find this tutorial not to be specific enough. Im lost on a few things. One being the order of which you create a sql account (“wordpress” being the default name) and username/password. Which do i do first?

    Secondly, I am trying to understand how one generates the config PHP file. I had seen there on the above link that it is a matter of coding it manually. However on other informational pages, it looks like wordpress will do that for you.

    Overall I wish there was a clearer way to get this to work.

    -Kat

Viewing 15 replies - 16 through 30 (of 51 total)
  • Please tell me how incomplete it is and how outdated it is so I can improve it.
    That page is also one of the top 5 there and gets a huge amount of hits so it cannot be entirely bad.
    Blasting it here and offering no constructive advice helps no-one.

    On that site is also a WOS install.

    I await the pointers to improve.

    Thread Starter kattheleopardess

    (@kattheleopardess)

    I cant really say how outdated the Tamba tutorial is. Its just more or less unclear in certain places. For example, the part where you are to edit wp-config.php they are unclear as to the username and the password setup. It almost seems like setting up a username/password was a step that was left out.

    AS for WOS, I should give it a try. I was mistaken about my friend’s knowledge of Xampp, rather that was the link I was referred to. I cna try WOS and see how that works. Ill defintily be telling my friend about which I experienced better as someone who is not all that versed in PHP type stuff.

    -Kat the Leopardess

    I used Podz’s tutorial and it worked just fine for me, perhaps this is a case of PEBKAC?

    The only thing that I saw on the tutorial that I didn’t think was needed was the whole editing the wp-config.php, I have never done that on a local install. I have always been able to setup the dbase and then run the wordpress 5 min install. Thats the only thing I noticed that was either outdated… shouldn’t have said not complete as it is a VERY complete tutorial. Sorry about the confusion from my part.

    yeah, the tut page is good…i cant count the number of times a passed along that link.



    For example, the part where you are to edit wp-config.php they are unclear as to the username and the password setup. It almost seems like setting up a username/password was a step that was left out.

    at that point You are just going along with a regular wordpress install and would be filling in Existing Database info from phpMyadmin.

    phpmyadmin User is root, no password…thats the xampp default setup. i guess that could be noted in the tutorial page to reduce confusion…

    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘root’); // Your MySQL username
    define(‘DB_PASSWORD’, ”); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    it would make it transparent why the db_user and password is what it is in the wp_cofig info you are supposed to be using.

    Scope – thanks ?? I’ll add that.

    Thread Starter kattheleopardess

    (@kattheleopardess)

    So where have I gone wrong?

    Should I just start over all over again (for about the 3rd time)

    Thread Starter kattheleopardess

    (@kattheleopardess)

    Oh yeah…

    Is there a hidden step to create a username/password in MyPHP?

    -Kat

    After looking over the tutorial it should go with out a hitch. By MyPHP I assume you mean phpMyAdmin? You may want to do a search on google if you are having issues using phpMyAdmin.

    Thread Starter kattheleopardess

    (@kattheleopardess)

    But where in the tamba tutorial do they specify that one needs to go into PHPadmin and create an account there? I sure didnt see it.

    As for the editing of config.php….I am still confused since sdnike seems to use a different way of inputting that information, rather than going into the file and editing with notepad.

    -Kat

    Thread Starter kattheleopardess

    (@kattheleopardess)

    Im still getting this error:

    define(‘DB_NAME’, ‘wordpress’); // The name of the database define(‘DB_USER’, ‘wordpress’); // Your MySQL username define(‘DB_PASSWORD’, ‘bullwhip’); // …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’); ?>
    Warning: require_once(ABSPATH/wp-admin/admin-functions.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampplite\htdocs\wordpress\wp-admin\upgrade-functions.php on line 3

    Fatal error: require_once() [function.require]: Failed opening required ‘ABSPATH/wp-admin/admin-functions.php’ (include_path=’.;C:\xampplite\php\pear\’) in C:\xampplite\htdocs\wordpress\wp-admin\upgrade-functions.php on line 3

    ———–

    this is after i granted permissions to a new phpadmin “account” named “wordpress”

    My config file looks like this:

    define(‘DB_NAME’, ‘wordpress’); // The name of the database
    define(‘DB_USER’, ‘wordpress’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘bullwhip’); // …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’);
    ?>

    ——–

    What is going on?

    Two questions:
    Are you sure the XAMPP is turned on and the Apache and MySQL is started and running? (above there was a mention about the little orange gizmo…)

    Are you sure your WP files are uploaded in the proper location and that they have the expected directory structure?

    What program are you opening the wp-config.php file with?
    We need to know it’s exact name.

    Thread Starter kattheleopardess

    (@kattheleopardess)

    Both apache and sql are started.

    right now, the wordpress folder is in C:\xampplite\htdocs. I thought that is what the tamba instructions said

    But what about the folder structure of the WP files? Do you have 3 folders under “wordpress” and a lot of files? Or only a lot of files?

    And see also Podz’s question.

Viewing 15 replies - 16 through 30 (of 51 total)
  • The topic ‘Xampp with WP: A better tutorial?’ is closed to new replies.