Koozali.org: home of the SME Server

Wordpress username and password

Offline marxb

  • *
  • 11
  • +0/-0
Wordpress username and password
« on: March 19, 2009, 09:58:42 AM »
I installed wordpress on SME 7.4 as per the instructions in http://wiki.contribs.org/Wordpress (there is no mention of what username and password to use for logging in to wordpress)

Everything went fine (I think) but when I try to login to http://192.168.5.1/wordpress/wp-login.php

I says ERROR: invalid username

I have tried wordpress and admin and other usernames but no luck, I have searched the forums and found nothing helpful either.

This is the output of config show wordpress

wordpress=service
    DbName=wordpress
    DbPassword=xxxxxxxxxxxxxxx
    DbUser=wordpress
    Name=Wordpress weblog
    PublicAccess=global
    WpLang=en
    status=enabled

Please help.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Wordpress username and password
« Reply #1 on: March 19, 2009, 12:51:08 PM »
I installed wordpress on SME 7.4 as per the instructions in http://wiki.contribs.org/Wordpress (there is no mention of what username and password to use for logging in to wordpress)

Everything went fine (I think) but when I try to login to http://192.168.5.1/wordpress/wp-login.php

I says ERROR: invalid username

I have tried wordpress and admin and other usernames but no luck, I have searched the forums and found nothing helpful either.

This is the output of config show wordpress

wordpress=service
    DbName=wordpress
    DbPassword=xxxxxxxxxxxxxxx
    DbUser=wordpress
    Name=Wordpress weblog
    PublicAccess=global
    WpLang=en
    status=enabled

Please help.
I never used the contrib, but I believe the URL for the wordpress admin page normally is http://server/worpress-share/wp-admin/
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)

Offline marxb

  • *
  • 11
  • +0/-0
Re: Wordpress username and password
« Reply #2 on: March 19, 2009, 01:42:14 PM »
Thanks for your prompt reply Cactus but the url you suggested:

http://server/wordpress-share/wp-admin/

returns:

'Not Found

The requested URL
 was not found on this server.'

I do get the login page for wp

According to the contribs page:

  Usage

Admin -> Yourserver.net/wordpress/wp-login.php

Usage -> Yourserver.net/wordpress/

My problem is not the url (I think) it's that i don't know what username and password to use!


Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Wordpress username and password
« Reply #3 on: March 19, 2009, 08:55:49 PM »
marxb

Were you able to complete this setup step ?
"To setup wordpress start your browser with the URL http://servername/wordpress and complete the forms. "

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Wordpress username and password
« Reply #4 on: March 19, 2009, 09:17:42 PM »
marxb

I have previously installed wordpress and recall it was so simple. I forgot the actual steps so I did it again as a test. It was quicker to do (ie 1 -2 minutes) than the time taken to type this answer to you.

All you need to do is

yum --enablerepo=smecontribs install smeserver-wordpress

You will get prompted with something like
 smeserver-wordpress     noarch     1.0-2.el4.sme    smecontribs        16 k
Installing for dependencies:
 wordpress               noarch     2.6.2-1.el4.sme  smecontribs       1.3 M
Is this ok [y/N]: y

Answer y

Note: You do not need to run the suggested signal-event commands or any other commands mentioned in the wiki.
Do not run the command associated with upgrading as you are not doing an upgrade (if this is the first time you have installed wordpress).

Then the next step is to open your browser and go to
http://www.yourmaindomain.com/wordpress/

You will be presented with the wordpress setup screen, enter the new Blog name and an administrator email address.
Click Setup button
and then on the next screen your admin username and password are displayed.
Make a note of these !!!!

Then proceed to further customise wordpress as required by clicking the Login button
enter admin as username
enter the password you just wrote down from the previous screen

click the Settings link at top right of screen, and tailor as required.

Note there are also db commands mentioned in the wiki if you want to change the initial domain that wordpress is associated with.
This should/MUST be done first if you want to use a different domain than your "main" domain.

To uninstall and start again, to avoid any confusion re what you may have rightly or wrongly already done, just do

rpm -e wordpress smeserver-wordpress

and then follow the steps mentioned above, carefully.

PS After creating the new (first) blog, you will also receive an email message advising you that a new blog has been created and giving details of the admin login name and password.
« Last Edit: March 19, 2009, 10:47:15 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Wordpress username and password
« Reply #5 on: March 19, 2009, 09:46:19 PM »
marxb

I have improved the wiki instructions at
http://wiki.contribs.org/Wordpress

You should be able to follow the admin setup steps more easily now.
...

Offline marxb

  • *
  • 11
  • +0/-0
Re: Wordpress username and password
« Reply #6 on: March 20, 2009, 03:50:28 AM »
Thankyou for you replies.

There must be something wrong with my server because I uninstalled wordpress and re-installed as per the how-to but when I go to http://192.168.5.1/wordpress/ I don't get anything where I can fill out any forms (I wish I could upload a screenshot)

Basically the page says 'My Blog' at the top
Underneath is says 'Not Found' and to the right there is a search box and underneath the search box

There are three headings : Archives, Categories, Meta

Meta has four links below it
Log in
Valid HTML
Wordpress

No Forms !!!

What do i do now?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Wordpress username and password
« Reply #7 on: March 20, 2009, 04:52:24 AM »
marxb

It sounds like basic setup was done, but you missed the step and did not see or get the admin password. Assuming that's what happened you could try resetting the wordpress admin password and then access the configuration screens.

See if the following gets you going.
Do the following very carefully.

login to sme as root
then type
mysql
GRANT SELECT ON wordpress.* TO 'admin'@'localhost' IDENTIFIED BY 'newpassword';
FLUSH PRIVILEGES;
exit;

(replace newpassword with the password of your choice)
be careful to include  all ' and ;
 
Then browse to http://192.168.5.1/wordpress/
click on the Login link

enter admin as user
and the new admin password you just changed.

You should then be presented with blog configuration options.


If the above suggestion does not work, then I would uninstall both rpms again, but also delete the wordpress mysql db and user as per instructions linked to from the wordpress wiki page, and then redo the installation when hopefully you are presented with the correct screens etc (as the mysql db info has been deleted and will get recreated).

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.