• 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 - 31 through 45 (of 51 total)
  • Thread Starter kattheleopardess

    (@kattheleopardess)

    folder 1: wp-admin
    folder 2: wp-content
    folder 3: wp-includes

    Then the config.php along with other PHP files are also in the parent “wordpress” next to these folders.

    -Kat

    What are you using to edit wp-config.php?
    This is important for us to know.

    Thread Starter kattheleopardess

    (@kattheleopardess)

    1st page

    Thread Starter kattheleopardess

    (@kattheleopardess)

    Well was it the notepad application. Is it just a matter of redoing the entire wp-config.php file?

    I would just use notepad or wordpad that come with Windows.
    Other programs can cause errors sometimes and this could be a cause.

    Thread Starter kattheleopardess

    (@kattheleopardess)

    Darn. 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

    I did remove the config file and copy over from my wordpress backup folder the wp-config-sample.php file and then reenter the information in the define section.

    -Frustrated Kat

    I’m not sure why you would be getting those errors.. =/ I didn’t get to read the instructions because I’m not “technically allowed” to be online, but whatever.

    All I did was, unzip it like Podz said to do, and click the “xampp_start.exe” or the two .bat files for starting the apache and mysql, copied the whole folder of the name of the wordpress folder I wanted into the “htdocs” folder, made up a database, then renamed the wp-config-sample.php file to wp-config.php.

    localhost/wordpress/wp-admin/install.php

    Then just installed it like normal. Didn’t run into any problems. =) Did you do all the “steps” exactly in the readme file? Just was curious.. =)

    By the way Podz, thanks for showing the way for the Xammp Lite…it’s freaking awesome lol!! =)

    spencerp

    Even had to have the Ex wife download it to a disk for me and give it to me lmao!! Just did it all on my own. ?? Also, now I have it to where it automatically starts after computer reboots…sweetness!!

    Thread Starter kattheleopardess

    (@kattheleopardess)

    Yeah I actually have. Thats the bizarre part. I have done this 3 times.

    Maybe Xampp is not for me. I just wanted to be able to see my page before i upload it (since I have to incorporate everything in this page https://www.ladyleopardess.com/home.shtml)

    -Kat

    I know you prolly did this already and someone posted this already, but I’d copy the folder of what you’re working on or whatever to the desktop as an example.

    Totally un-install the Xammp thing, download the “auto installer” of it from the apachefriends site or whatever..it’s like 13MB, that’s what I had the Ex get me..and try that once. Save it to the C:\Program Files\xampplite\ like I did, and then retry it again.

    And of course, do the “steps” in order like before. =) I hope ya get this working soon, I know how important things like this are sigh..

    spencerp

    Thread Starter kattheleopardess

    (@kattheleopardess)

    I know you prolly did this already and someone posted this already, but I’d copy the folder of what you’re working on or whatever to the desktop as an example.
    ————
    Copy which folder into the desktop, the wordpress folder?

    Yup, KattheLeopardess..whatever folder you’re working on or with really. The “theme” files actually, I guess. But then just do a fresh attempt installation of WordPress again, with that “auto-installer” (unpacker) I said above lol.

    I even have a copy of my “old site” table based layout in the htdocs folder..and called that up, I just put it in it’s own folder like “mainsite”. So then I could work on whatever I choose.

    Again, I hope ya get this problem solved soon. =)

    spencerp

    P.S. I also even backup the latest images and files to a zip disk, cd or whatever I can. Just to be on safe side.

    Thread Starter kattheleopardess

    (@kattheleopardess)

    So It should be c:/programfiles\xampplite, right?

    What is this about your mainsite directory? Do you mean the elements that make up my front page should be in this kind of folder? In the directory of my website, the SSI is in the public_html/Design folder and the actual home.shtml file is in the parent.

    -Kat

    Well, what I did actually was, just download this:
    xampplite-win32-1.5.1.exe

    Where I have put mine at, is here:
    C:\Program Files\

    You can find your way there by clicking on “My Computer” icon on the desktop or in the start menu, depending on what Operating System you’re using. Then click on the “C:” drive icon thing, then put that xampplite-win32-1.5.1.exe
    in the “Programs” folder, like I did with mine.

    Click on the xampplite-win32-1.5.1.exe to “un-inzip, un-pack” or whatever. Then follow all those “steps” in the read me txt file. =)

    As for my main site, I had all the (.htm files, image folder and javascript) stuff, right in the one folder called “mainsite”. So when I called it up in the browser, it was like this: https://localhost/mainsite/

    And it showed up like it’s supposed to. ?? For the blog, I put it in it’s own folder, say “wordpress” and called it up at: https://localhost/wordpress/

    I put those two folders, “wordpress” and “mainsite” right inside the “htdocs” folder inside here:
    C:\Program Files\xampplite\htdocs\

    But have them as separate folders. So you’ll see the “fonts” folder, “restricted” folder, “xammp” folder, other files, images and stuff, and your own two folders in there.

    Once you install the Xammp and stuff, and hopefully get the mysql, and apache running, just open up any browser, and type in the url bar: https://localhost/
    And click go, you should get an example page and stuff, letting you know, everything is running.

    Then just call up your own stuff, in the browser the same way, like: https://localhost/”your-wordpress-folder-name”
    https://localhost/”your-main-site-folder-name”

    I hope this helps hehe. =)

    spencerp

    I’m not sure if the mods want me to use the actual urls for the localhost examples, they can change it all if they want then hehe. ?? =)

    To keep this on the same topic per se, this is to Podz or anyone really. I downloaded a copy of my database, and the main blog files, and have it up and running on the localhost, but with the original permalink settings, I’m just getting error pages, that pages don’t exist and what not.

    But if I use the default permalink setting like this:
    h t t p : // example.com/?p=123

    It works, but the current settings like this won’t:
    h t t p : // example.com/%postname%.htm/

    I even un-commented out that mod rewrite rule in the httpd.conf file…is there any other way around this so it works? Just was curious, if there isn’t one, then I’ll just use the default permalink settings then. =) Thanks in advanced. =)

    spencerp

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