Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: ldb89 on June 03, 2015, 10:51:59 PM

Title: "You need to fill in a username."
Post by: ldb89 on June 03, 2015, 10:51:59 PM
Got an email from a member a number of weeks ago saying that nobody has been able to log in because of this error. I haven't been able to get in myself... replaced the htaccess file, ran repair_settings, didn't work. It's been a looong time since I've done much in the backend of the forum so I'm a bit rusty, but this has never happened before. Help!
Title: Re: "You need to fill in a username."
Post by: Sir Osis of Liver on June 03, 2015, 10:58:07 PM
Link?
Title: Re: "You need to fill in a username."
Post by: Kindred on June 04, 2015, 12:50:41 AM
Also, SMF version?

Mods installed?
Title: Re: "You need to fill in a username."
Post by: ldb89 on June 04, 2015, 01:09:05 PM
Quote from: Krash on June 03, 2015, 10:58:07 PM
Link?

http://assembly-line.net

Quote from: Kindred on June 04, 2015, 12:50:41 AM
Also, SMF version?

Mods installed?

2.0.7

EZ Portal, MF Articles, MF Gallery, Country Flags 2.0, Bad Behavior, Multi Quote, Similar Topics, Mentions, Spoiler Code, Tagging System 3.0, a Youtube embedder, SMF Trader.
Title: Re: "You need to fill in a username."
Post by: Kindred on June 04, 2015, 01:14:48 PM
hmmm.... well, for one thing, you need to upgrade to 2.0.10...
Title: Re: "You need to fill in a username."
Post by: ldb89 on June 04, 2015, 02:00:42 PM
How do I do that without being able to login?
Title: Re: "You need to fill in a username."
Post by: Illori on June 04, 2015, 02:13:02 PM
if you cant log in i would recommend http://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files and installing your mods one by one after and making sure nothing breaks.
Title: Re: "You need to fill in a username."
Post by: Dav999 on June 04, 2015, 02:16:49 PM
Your URL settings are messed up. Have you moved to a different domain?

The login form is pointing to http://assembly-line.net/ which returns a Moved Permanently status to http://www.aquapunk.co/assembly-line/

Try using repair_settings.php to fix your URLs.
Title: Re: "You need to fill in a username."
Post by: Steve on June 04, 2015, 04:13:46 PM
Quote from: Dav999 on June 04, 2015, 02:16:49 PMTry using repair_settings.php to fix your URLs.

Quote from: ldb89 on June 03, 2015, 10:51:59 PMran repair_settings, didn't work
Title: Re: "You need to fill in a username."
Post by: Dav999 on June 04, 2015, 06:44:45 PM
We don't know how he/she used it, though.
Title: Re: "You need to fill in a username."
Post by: ldb89 on June 10, 2015, 06:06:38 PM
Quote from: Illori on June 04, 2015, 02:13:02 PM
if you cant log in i would recommend http://wiki.simplemachines.org/smf/How_to_upload_a_fresh_set_of_files and installing your mods one by one after and making sure nothing breaks.

Thanks, I'll give it a try.

Quote from: Dav999 on June 04, 2015, 02:16:49 PM
Your URL settings are messed up. Have you moved to a different domain?

The login form is pointing to http://assembly-line.net/ which returns a Moved Permanently status to http://www.aquapunk.co/assembly-line/

Try using repair_settings.php to fix your URLs.

Yeah, those are both mine. Pretty sure that's the way they've always been? At any rate, I'm not getting any errors re: the addresses, though.
Title: Re: "You need to fill in a username."
Post by: Kindred on June 10, 2015, 06:36:43 PM
You can not have a forum at two different addresses, even if they are the same actual location...  Having it using both addresses will screw up all sorts of things
Title: Re: "You need to fill in a username."
Post by: Illori on June 10, 2015, 06:46:58 PM
Quote from: Kindred on June 10, 2015, 06:36:43 PM
You can not have a forum at two different addresses, even if they are the same actual location...  Having it using both addresses will screw up all sorts of things

screw up what? the forum URL's are all at one domain/location. just because 2 different URL's point to the same location does not mean the forum is working on both of them.
Title: Re: "You need to fill in a username."
Post by: Kindred on June 10, 2015, 07:08:11 PM
That's exactly what I mean. The forum WILL NOT work properly if two different urls are used to access the forum.
Title: Re: "You need to fill in a username."
Post by: Illori on June 10, 2015, 07:19:57 PM
Quote from: Kindred on June 10, 2015, 07:08:11 PM
That's exactly what I mean. The forum WILL NOT work properly if two different urls are used to access the forum.

the forum works just fine... just only the main page can be accessed with the second URL. that does not mean the whole forum will not work correctly/properly like this.
Title: Re: "You need to fill in a username."
Post by: Sir Osis of Liver on June 10, 2015, 07:56:03 PM
That's not the problem, it's just a redirect.  Registration doesn't work either, OP needs to upload a clean set of files.
Title: Re: "You need to fill in a username."
Post by: margarett on June 11, 2015, 09:06:12 AM
Small cleanup, sorry about that... ::)

Now, about the problem:
Quote from: Dav999 on June 04, 2015, 02:16:49 PM
Your URL settings are messed up. Have you moved to a different domain?

The login form is pointing to http://assembly-line.net/ which returns a Moved Permanently status to http://www.aquapunk.co/assembly-line/

Try using repair_settings.php to fix your URLs.
I do think that the way that the URLs are set is messing up your forum...

Clearly your main site is http://www.aquapunk.co and your forum is http://www.aquapunk.co/assembly-line/
Yet, the links in this forum all point to http://assembly-line.net/index.php and then it is redirected back to http://www.aquapunk.co/assembly-line/index.php  :o

So I say that your links and redirects are swapped. You should run repair_settings from http://www.aquapunk.co/assembly-line
Title: Re: "You need to fill in a username."
Post by: ldb89 on June 11, 2015, 01:31:11 PM
Yeah I might as well do that while I'm here, but what does it have to do with the fact that none of the login pages recognize username input?
Title: Re: "You need to fill in a username."
Post by: Sir Osis of Liver on June 11, 2015, 04:13:27 PM
Quote from: margarett on June 11, 2015, 09:06:12 AM
Clearly your main site is http://www.aquapunk.co and your forum is http://www.aquapunk.co/assembly-line/
Yet, the links in this forum all point to http://assembly-line.net/index.php and then it is redirected back to http://www.aquapunk.co/assembly-line/index.php  :o

I see that, and it is assways, but everything seems to work except login and registration, and if it's been working that way, shouldn't have changed.

Quote
So I say that your links and redirects are swapped. You should run repair_settings from http://www.aquapunk.co/assembly-line

Interesting, wonder if I can duplicate the problem by doing the reverse on a working install ......

Title: Re: "You need to fill in a username."
Post by: Kindred on June 11, 2015, 05:08:28 PM
The thing is -- login should never have worked with that set up...   it would set the cookie for assembly-line.net then the site was looking for www.aquapunk.co

(or vice versa)
Title: Re: "You need to fill in a username."
Post by: Sir Osis of Liver on June 12, 2015, 02:02:12 PM
Yes, I know.  Haven't had time to duplicate that setup, but still don't think it's a path problem, since everything but login and registration works normally.  Will tinker with it tonight.
Title: Re: "You need to fill in a username."
Post by: ldb89 on July 18, 2015, 05:56:51 PM
Oookay, just got around to working on this more.

So I "fixed" the URLs like everyone told me to do, and it didn't do anything (like I told you guys :V). Deleted all the add-on packages, put the place in maintenence mode, and I still can't login. Except this time, I'm not even getting an error. When I hit the login button, the page just refreshes now.

Grrrr, clean install time.

Anyone have any idea what might have happened? Doesn't feel like the site's been attacked or anything, especially since replacing .htaccess didn't help.
Title: Re: "You need to fill in a username."
Post by: ldb89 on July 18, 2015, 08:36:31 PM
Welp, just did a totally clean install, put the joint into maintenance mode, and I'm still having the same login problem when I try to go into the admin panel. I'm at a total loss. :|
Title: Re: "You need to fill in a username."
Post by: margarett on July 19, 2015, 07:47:16 PM
Clearly, after a clean install SMF isn't the problem anymore yet you are still experiencing problems. If you can drop me a pm with an admin login maybe I can check it for you ;)
Title: Re: "You need to fill in a username."
Post by: ldb89 on July 20, 2015, 05:04:28 PM
Before I do that lol, you think a new database might be worth trying?
Title: Re: "You need to fill in a username."
Post by: Steve on July 20, 2015, 05:34:59 PM
If you're worried about giving Bruno access, don't be. He's one of the most trustworthy people on the planet and he's not Lead Support Specialist for nothing. ;)
Title: Re: "You need to fill in a username."
Post by: ldb89 on July 20, 2015, 08:30:15 PM
Quote from: Steve on July 20, 2015, 05:34:59 PM
If you're worried about giving Bruno access, don't be. He's one of the most trustworthy people on the planet and he's not Lead Support Specialist for nothing. ;)

Well, there's a little bit of that, but also I figured I'd just try a couple of things from cpanel mself before bothering someone else do stuff. xU
Title: Re: "You need to fill in a username."
Post by: ldb89 on July 23, 2015, 06:55:28 PM
Oooookay. New database, yet ANOTHER new install, STILL SAME PROBLEM.

I'll be getting in touch with my host, since that's the only thing I can think of now. When I find out what the problem is, I'll report back and mark this thread solved I guess.