• Because I am currently working on a template locally, I am running xampp to test my wordpress blog. However, for some reason wordpress won’t install. I get past step one, but at step 2 the mysql database always crashes and wordpress can no longer connect. Also, I am unsure if this is related or not but it doesn’t show the top wordpress banner when i Try and run the install. Does anyone have any idea what is wrong?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    It’s possible that you’ve either uploaded files into the wrong place, or you had a corrupt download. Try downloading WP again, decompress the folder, and upload the “WordPress” folder to your server space again.

    I am also getting the same errror when trying to install WordPress on XAMPP running WindowsXP, on step 2 MySQL crashes.
    XAMPP is runing PHP5.0.3RC2, and I have alsomodified “Line 166 is this – #LoadModule rewrite_module modules/mod_rewrite.so” to enable mod_rewrite, but I still have MySQL crash on Step2.
    Could it be that I have no Mail server runinng?

    I don’t have the Mailserver (or FileZilla on Xampp) running either.
    Which version of Xampp are you using ? They released a dodgy one recently due to a mysql problem.
    XAMPP for Windows 1.4.9
    PHP Version 4.3.7
    mySQL 3.23.49
    is what I’m running with no issues.
    I suspect the php5 is causing your problems.

    Use this:
    http://www.firepages.com.au/
    Its like a hot knife on butter! And with the fact that I’m an idiot on these kind of things.

    I had the same problem with wordpress and Xampp. After switing to from Php5 to Php4 everything works fine on localhost. The switching is easy via a batchfile (Windows-Installation)

    Thread Starter ebren

    (@ebren)

    Eureaka! (spelling?) Okay, I’ve got it. I’ve tried every possible tweak or edit in XAMPP but nothing works. So I followed the firepages.com.au link and found phpdev5 Beta. This works great. And, on top of mySQL not crashing, it doesn’t require that a stupid window stay open to run apache, php, and mysql. You can install everything as a service so its all set and up and running everytime you turn your pc on. Thanks whoever posted that Link!

    Glad it works 🙂
    As for the stupid window, google for ‘rbtray’ – minimises anything to the tray.

    I had similar problems installing wordpress on XAMPP on Win XP. Since I was only trying to test, I decided to install directly on my website hosts environment. It worked fine there.

    I am having a problem using WordPress locally with Xammp also. WordPress uploads and works just fine, but when trying to edit a file, such as part of a theme or a plugin, I cannot do this because windows has everything marked “read only” and I cannot change that through the usual method.

    ideas, anyone?

    Yup – do not use the WP editor.
    Open the files you need to alter in Notepad (or similar – I use Notepad++ ) and just Save any changes.
    Works better in fact as you don’t need to navigate around inside WP.

    Yes i had the same problem tooo.. And i am a Xamp user and the crap wont want to complete the installation. It says this on step 3
    Fatal error: Cannot use object of type stdClass as array in C:\apachefriends\xampp\htdocs\wp\wp-admin\upgrade-functions.php on line 705
    i tried switching PHP from 4 – 5 and it still didn’t work.

    A search for that error here should produce results.
    If this is for a testblog, use a nightly ?

    Hello “state of the art” experts,
    anyone any ideas about this “Fatal error: Cannot use object of type stdClass as array on line 705?”
    I tried three times, but it didn’t work.
    As I can see I’m not alone having this installation problem.

    Milane posted:
    Yes i had the same problem tooo.. And i am a Xamp user and the crap wont want to complete the installation. It says this on step 3
    Fatal error: Cannot use object of type stdClass as array in C:\apachefriends\xampp\htdocs\wp\wp-admin\upgrade-functions.php on line 705
    i tried switching PHP from 4 – 5 and it still didn’t work.

    shogun – using a nightly should sort that, but I believe that solution for that issue has been posted for hosted blogs.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘WordPress and xampp’ is closed to new replies.