Wiki doesn't like me [solved - read first post]

For requests for help from CG administrators, Wranglers, and experienced CG members. Please read the FAQ before posting. Also look at CG Wiki for tutorials and how-tos written by other CG webtoonists.
Wp
Cartoon Hero
Posts: 1335
Joined: Fri Jul 09, 2004 9:08 am
Contact:

Re: Wiki doesn't like me [News on first post]

Post by Wp »

Dr Neo Lao wrote:Oh, and in case you weren't already aware, there are only two admins for Comic Genesis and they both have day jobs (running the site is only a part-time function). CG doesn't have a team of technicians that can deeply analyze problems as they come up. Which is what makes small problems such as this one (that only affect a small fraction of the community) such a pain to fix...
I understand, which is why I said I wasn't in any rush.

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Re: Wiki doesn't like me [News on first post]

Post by Kisai »

I've turned on ALL the debug code for the authentication module.

What I want people who are not able to login to do is copy and paste from the title to the top of the screen like so:

If you are logged in proper you will see this:

Code: Select all

1. DEBUG: Username: Kisai
2. DEBUG: authenticate
3. DEBUG: attempting to check password
4. DEBUG: Password OK
5. DEBUG: updateUser
Login successful
I repeat, grab the text, in my case where it says "login successful" click and drag to the top of the screen, as this text will be hidden behind the CG logo

If you blow the password you will see this:

Code: Select all

1. DEBUG: Username: Kisai
2. DEBUG: authenticate
3. DEBUG: attempting to check password
3. DEBUG: Password NOT OK
Log in / create account
And if the username doesn't exist for whatever reason, you'll see something like this

Code: Select all

1. DEBUG: Username: Sdfsdfsdfsdfsdf
DEBUG: userExists $username
Log in / create account

User avatar
Dr Neo Lao
Cartoon Hero
Posts: 2397
Joined: Wed Oct 18, 2006 5:21 am
Location: Australia

Re: Wiki doesn't like me [News on first post]

Post by Dr Neo Lao »

Code: Select all

1. DEBUG: Username: Dr Neo Lao
2. DEBUG: authenticate
3. DEBUG: attempting to check password
4. DEBUG: Password OK
5. DEBUG: updateUser

Code: Select all

1. DEBUG: Username: Drneolaothesecond
2. DEBUG: authenticate
3. DEBUG: Password NOT OK
That's interesting - I hadn't tried using my second account.

It's interesting because that account has the name drneolaothesecond - not Drneolaothesecond.

We finally have an error replication. I think...

User avatar
Wendybird
Regular Poster
Posts: 428
Joined: Sat Feb 02, 2008 9:35 am
Location: PA

Re: Wiki doesn't like me [News on first post]

Post by Wendybird »

Code: Select all

1. DEBUG: Username: Wendybird
2. DEBUG: authenticate
3. DEBUG: Password NOT OK
Log in / create account

Code: Select all

1. DEBUG: Username: WendyB
DEBUG: userExists $username
Log in / create account

Code: Select all

1. DEBUG: Username: Qwanderer
2. DEBUG: authenticate
3. DEBUG: Password NOT OK
Log in / create account

User avatar
Dr Neo Lao
Cartoon Hero
Posts: 2397
Joined: Wed Oct 18, 2006 5:21 am
Location: Australia

Re: Wiki doesn't like me [News on first post]

Post by Dr Neo Lao »

@ wendybird - when you tried to log into the Wiki, did you put in wendybird or Wendybird? And when you log into the forums, do you log in as wendybird or Wendybird?

Because if it's the former of the first, that would mean that on both your account and my secondary account it is making the first letter uppercase when it's not meant to be and then being all surprised when it doesn't match...

User avatar
Drneolaothesecond
Newbie
Posts: 5
Joined: Mon Oct 15, 2007 3:27 pm

Re: Wiki doesn't like me [News on first post]

Post by Drneolaothesecond »

Dr Neo Lao again:

Logged in to Forum with proper name and capitalization and such - total accuracy - can log into SiteAdmin.

Image

Appeares to capitalize first character.

User avatar
Moonshadow
Regular Poster
Posts: 158
Joined: Sat Nov 15, 2003 9:38 pm
Location: Somewhere north

Re: Wiki doesn't like me [News on first post]

Post by Moonshadow »

Code: Select all

1. DEBUG: Username: Moonshadow
2. DEBUG: authenticate
3. DEBUG: Password NOT OK
My log-in attempt was with lowercase at the start of my username, same as for here and siteadmin.

User avatar
Wendybird
Regular Poster
Posts: 428
Joined: Sat Feb 02, 2008 9:35 am
Location: PA

Re: Wiki doesn't like me [News on first post]

Post by Wendybird »

I log in to both the forums and the wiki with these capitalizations:
wendybird
wendyB
qwanderer

and it capitalizes them, like in your picture.

When I try to log in as wendyB, what it says in the red box is that there is no such person as WendyB.

Does that mean if I made a new account with uppercase at the beginning, I could use that to get in? I'm out of email addresses.

Juststunned
Newbie
Posts: 10
Joined: Wed Apr 09, 2008 11:47 am
Location: New York, NY
Contact:

Re: Wiki doesn't like me [News on first post]

Post by Juststunned »

1. DEBUG: Username: Juststunned
DEBUG: userExists $username
Log in / create account

I registered/try to log in with lower case. Forum and Siteadmin both work just dandy.
Oh you know it gets hard,
It just gets so hard going limp in your arms.

http://juststunned.comicgenesis.com

User avatar
Dr Neo Lao
Cartoon Hero
Posts: 2397
Joined: Wed Oct 18, 2006 5:21 am
Location: Australia

Re: Wiki doesn't like me [News on first post]

Post by Dr Neo Lao »

@ wendybird - don't create a new account just yet, wait and see what Kisai says.

@ everyone else - please continue posting the messages the wiki gives so we can make sure.

At the moment, it would appear that the wiki is capitalizing the first letter. No idea why, I don't know a lot about MediaWiki.

User avatar
Ahaugen
Cartoon Hero
Posts: 2291
Joined: Thu Mar 02, 2006 12:44 am
Location: Lethbridge, Alberta, Canada
Contact:

Re: Wiki doesn't like me [News on first post]

Post by Ahaugen »

Code: Select all

1. DEBUG: Username: Ahaugen
2. DEBUG: authenticate
3. DEBUG: Password NOT OK
just spitballing and idea here, but might this be something from when Kelly lost all the emails?
Read The Times-Picayune
Comic Genesis' daily source for news since 2009

A Lamestream Media Company

User avatar
Dr Neo Lao
Cartoon Hero
Posts: 2397
Joined: Wed Oct 18, 2006 5:21 am
Location: Australia

Re: Wiki doesn't like me [News on first post]

Post by Dr Neo Lao »

Possible, but I don't see a possible connection.

On the plus side, it does seem that the error is consistent, at least among the people that have posted thus far...

Edit: This is interesting - everyone (except Diospyros) who has posted in this thread has a username that starts with a lower case letter. And here it gets more interesting - I looked in the Wiki at the recent changes and for the last 30 days, everybody who has made a change in the wiki has a username that starts with a capital letter.

Another Edit: At the moment I'm getting an Internal error: The upload directory (public) is not writable by the webserver when attempting to upload images. I'm assuming that this is part of the "let's find the bug and squish it" plan and that image uploads will return at some point soon...

Wp
Cartoon Hero
Posts: 1335
Joined: Fri Jul 09, 2004 9:08 am
Contact:

Re: Wiki doesn't like me [News on first post]

Post by Wp »

Code: Select all

1. DEBUG: Username: Wp
2. DEBUG: authenticate 
3. DEBUG: Password NOT OK

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Re: Wiki doesn't like me [News on first post]

Post by Kisai »

hmm
This actually does tell me what the problem is, see the SQL code is using 'like' instead of '=' which was to allow for people NOT putting the correct capitalization in. I hadn't realized that attempting to login once with a capital borks it.

I'll adjust this to be =, and people can tell me if they still have problems logging in after.

*mumble*

It's neither the forums nor the wiki at all, it's mysql.

Techobabble, the collation (aka, how characters are sorted. A-Z and a-z) is was case sensitive. I've patched the login script and it "should" work now.

User avatar
Nutshellcomics
Regular Poster
Posts: 49
Joined: Fri Feb 22, 2008 5:17 am
Location: Deep ina' Hearta'

Re: Wiki doesn't like me [News on first post]

Post by Nutshellcomics »

I'm don't think I am understanding the directions properly, but on the off chance that I did this is the response that i got:

1. DEBUG: Username: Nutshellcomics:nutshellcomics
Log in / create account
From CGWiki
Jump to: navigation, search
Login error:
You have not specified a valid user name.
Log in

Don't have a login? Create an account.

You must have cookies enabled to log in to CGWiki.
Username
Password
Remember my login on this computer

also I tried logging into the forum using a capitol 'N' in nutshellcomics and I logged in successfully but still not in CGWiki.
Image
Updates Monday & Friday

User avatar
Dr Neo Lao
Cartoon Hero
Posts: 2397
Joined: Wed Oct 18, 2006 5:21 am
Location: Australia

Re: Wiki doesn't like me [News on first post]

Post by Dr Neo Lao »

Code: Select all

1. DEBUG: Username: Drneolaothesecond:drneolaothesecond
Login error:
You have not specified a valid user name.
Well, it's getting closer. It's now trying double taps or something...

User avatar
Moonshadow
Regular Poster
Posts: 158
Joined: Sat Nov 15, 2003 9:38 pm
Location: Somewhere north

Re: Wiki doesn't like me [News on first post]

Post by Moonshadow »

Code: Select all

1. DEBUG: Username: Moonshadow:moonshadow
Login error:
You have not specified a valid user name.
Error successfully replicated, if that helps.

Wp
Cartoon Hero
Posts: 1335
Joined: Fri Jul 09, 2004 9:08 am
Contact:

Re: Wiki doesn't like me [News on first post]

Post by Wp »

Code: Select all

1. DEBUG: Username: Wp:wp
Log in / create account
Login error: You have not specified a valid user name. 

User avatar
Kisai
Goddess of Light
Goddess of Light
Posts: 3276
Joined: Fri Jan 01, 1999 4:00 pm
Location: The Past, the Present, The future
Contact:

Re: Wiki doesn't like me [News on first post]

Post by Kisai »

Okay try again.

Wp
Cartoon Hero
Posts: 1335
Joined: Fri Jul 09, 2004 9:08 am
Contact:

Re: Wiki doesn't like me [News on first post]

Post by Wp »

Nope, same thing.

Post Reply