Koozali.org: home of the SME Server

Wordpress Problems with fresh install

Offline mvdw

  • *
  • 6
  • +0/-0
Wordpress Problems with fresh install
« on: December 11, 2007, 01:50:12 AM »
OK, I must be really really stupid, because I can't for the life of me get my wordpress installation working (or, at least, I can't log in to add to the blog)...

I followed the instructions at http://wiki.contribs.org/Wordpress, and I get a blank wordpress blog alright, but how on earth do I log in? I tried the wordpress/password pair in the wp-config.php file, I've tried the admin/password pair, and I can't log in. What is going on???

I get an "invalid username" error when I try to log in using the wordpress user, and the randomly-generated password listed by the "config show wordpress" command. It's got me absolutely stumped. Note that it's a wordpress error - the invalid user page is in the wordpress theme, rather than a "403 forbidden" error.

I've tried deleting the wp-config.php file, and generating the file on the web site, but I get a "can't write to directory" error. The wordpress directory is owned by root:root, so it's probably not really surprising.

I've tried logging in as the smeserver admin user, using the admin password, with the same result (invalid user). Same thing with my username/password, root and its password. I have access to the server, but I can't use the blog. This is extremely frustrating, because it should "just work".

Cheers,
mvdw

[edit: added some details of what I've tried]
« Last Edit: December 11, 2007, 02:45:02 AM by mvdw »

Offline mvdw

  • *
  • 6
  • +0/-0
Re: Wordpress Problems with fresh install
« Reply #1 on: December 11, 2007, 03:42:25 AM »
Some more information:  I downloaded the wordpress emergency admin user reset script from village-idiot.org, and I can't even use that script to reset the password - neither of the usernames 'admin' and 'wordpress' are the admin user. How do I set the admin user? Is it done during setup? Is it done using the mysql command line, or could I do it using myphpadmin (how?). I'm really stuck as to why this doesn't work; it should be easy.

Offline mvdw

  • *
  • 6
  • +0/-0
Re: Wordpress Problems with fresh install
« Reply #2 on: December 11, 2007, 04:04:43 AM »
Fixed the problem - t seems the /opt/wordpress directory had the incorrect permissions; simply changing that to www:www (from root:root) allowed me to run the install script, which then let me do all the installation stuff...

Something so simple caused so much grief...

Offline stephen noble

  • *
  • 607
  • +1/-0
    • Dungog
Re: Wordpress Problems with fresh install
« Reply #3 on: December 14, 2007, 07:13:44 AM »
That may be a fix but it's not the correct fix
you haven't helped the next user to have a painless install
to help everyone raise a bug as your told every post.

Offline paulsnz

  • **
  • 27
  • +0/-0
Re: Wordpress Problems with fresh install
« Reply #4 on: July 13, 2008, 02:25:54 AM »
I found that if I went to    http://servername/wordpress before doing     http://servername/wordpress/wp-admin/upgrade.php

I got to "install wordpress" a fresh install as in "http://wiki.contribs.org/Wordpress" didn't !?.

cheers


Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Wordpress Problems with fresh install
« Reply #5 on: July 13, 2008, 11:32:07 AM »
I followed the instructions at http://wiki.contribs.org/Wordpress, and I get a blank wordpress blog alright, but how on earth do I log in? I tried the wordpress/password pair in the wp-config.php file, I've tried the admin/password pair, and I can't log in. What is going on???
If you would have followed the instructions you would have followed first the section called Install and second the section called Setup, there it is explained what you need to do to get it running...
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)