Author |
Message |
southern
Client

Joined: Jan 29, 2004
Posts: 624
|
Posted:
Thu Sep 02, 2004 11:46 am |
|
Got a similar problem. Just from curiosity I tried registering as a new user on my own site
but no matter what username I chose I keep getting the error: Username already taken.
What can be causing this and how can I fix it? I'm using nuke 7.1. Thanks |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Thu Sep 02, 2004 1:23 pm |
|
When did your registration stop working? Can you backtrack as to what you have done since the last time it worked? |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 1:47 pm |
|
I downloaded your autoactivate mod,
backed up my Your_Account/index.php
and put on the mod,
got the error username already exists...
restored the backup index.php, still got the error. |
|
|
|
 |
Raven

|
Posted:
Thu Sep 02, 2004 1:51 pm |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 1:56 pm |
|
I'm using nuke 7.1, not 7.4.
I have downloaded your and chatserv's patched
7.4 but haven't put it on yet as this bug came up.
I am thinking of going ahead and putting on the 7.4...
Would this error be gone then? |
|
|
|
 |
Raven

|
Posted:
Thu Sep 02, 2004 2:00 pm |
|
Your post is in the 7.4 forum - that's why I responded the way I did, sorry. I am moving this to the 7.1 forum. |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 2:04 pm |
|
My mistake, sorry. It said 7.x  |
|
|
|
 |
Raven

|
Posted:
Thu Sep 02, 2004 2:07 pm |
|
The mod, yes. The forum, well, that's to quickly ascertain what nuke release you are having problems with. Have you gone back over all the installation instructions and verified that you installed it correctly? Also, if you restored the original, that would seem to indicate something else is wrong, wouldn't you agree? |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 2:17 pm |
|
Yes I would agree... except that recent new members were able to register with no problems. I ought to have tried to register
myself before putting on the mod but I had no reason
to be scientific, and restoring the backup ought
to have removed any incorrect install of the mod. |
|
|
|
 |
Raven

|
Posted:
Thu Sep 02, 2004 2:48 pm |
|
Just to rule out an obvious issue, please clear your cache and delete your cookies. |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 3:04 pm |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 3:14 pm |
|
That worked, I could register as a new user...
but now I don't know if the problem was the autoactivate mod
or the cookies and cache confusing registration. I'm inclined
to think it was the latter, since your codes work. |
|
|
|
 |
Raven

|
Posted:
Thu Sep 02, 2004 3:17 pm |
|
Now, install the auto-activate mod. If you have an immediate problem, take another enema and try it again  |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 3:30 pm |
|
OK off I trot I think I should do the 'enema' thing before I try the auto activation, once I have it on... running out of email addresses to try haha
BTW the fact that my signature pic shows proves the showpic.php you
mentioned on your front page works.  |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 4:11 pm |
|
Autoactivate worked fine this time
after flushing cookies and cache first, so I'm sure
it'll work with any new membeers... I picked a name to try that describes me sometimes.
Thanks Raven, you rule! |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 8:50 pm |
|
Now it seems the security image on my admin.php login doesn't show up, though on the new user registration page it does. It worked fine before today.
I know there is a topic or topics about this somewhere but I can't seem to find it. I've made sure there are no spaces after the closing tags in config.php, auth.php and admin.php but still no security image
on admin login. |
|
|
|
 |
Raven

|
Posted:
Thu Sep 02, 2004 9:04 pm |
|
Check the FAQ  |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 10:01 pm |
|
Checked the FAQ
Quote: |
My security code shows a big red X
Make sure you have the GD package installed. Save this script to a file and call it phpinfo.php
<? phpinfo(); ?> and then run it. That will show whether you have GD installed.
Assuming you have the GD package installed, the most often cause is a blank line either before or after the php tags in your config.php or one of your language files or some include files. This is usually the result of using Notepad or Wordpad. You need to use a better programmer's editor like Textpad.
|
And there are no blank spaces before or after either tag in config.php.
Could this have to do with autoactivation somehow? |
|
|
|
 |
Raven

|
Posted:
Thu Sep 02, 2004 10:05 pm |
|
southern wrote: | Checked the FAQ
Quote: |
My security code shows a big red X
Make sure you have the GD package installed. Save this script to a file and call it phpinfo.php
<? phpinfo(); ?> and then run it. That will show whether you have GD installed.
Assuming you have the GD package installed, the most often cause is a blank line either before or after the php tags in your config.php or one of your language files or some include files. This is usually the result of using Notepad or Wordpad. You need to use a better programmer's editor like Textpad.
|
And there are no blank spaces before or after either tag in config.php.
Could this have to do with autoactivation somehow? | How about in "or one of your language files or some include files"? That's almost 100% of the time what it is. You have edited a file that gets included and it has blank lines. |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 10:15 pm |
|
If I was a gambling man I wouldn't bet against you...
but I can't figure what it might be. I'll go look at include files and language, too, though
I only use English and I haven't touched those.
BUT I KNOW you are right 100% of the time, so off I go to look. |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 10:35 pm |
|
There were no blank lines in any files except modules.php in my root and in language/sentinel/lang-english.php and I tamped up those and still a red X on admin login. |
|
|
|
 |
Raven

|
Posted:
Thu Sep 02, 2004 10:44 pm |
|
Honestly, there is a blank line somewhere. Have you added any include statements to footer.php, mainfile.php, etc? |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 10:55 pm |
|
I believe you, there must be a blank line somewhere, in some file called by admin.php.
I just haven't found any blank lines... yet.
The only files I've touched today are the index.php in Your_Account and the modules and lang-english files to tamp them up.
I'm going back to my root and look again. |
|
|
|
 |
Raven

|
Posted:
Thu Sep 02, 2004 11:03 pm |
|
|
|
 |
southern

|
Posted:
Thu Sep 02, 2004 11:23 pm |
|
It wasn't hosed and, yup, it was a blank line in footer.php which I hadn't checked.
I went through every .php file in my root, looked in all files called from /includes and looked again in language files...
and what do you know, a blank line in footer.php.
I tamped that up and the security image shows now.
Thanks very much, Raven, I never doubted you- just myself!
It's been a long day so I'm turning in... |
|
|
|
 |
|