Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.1
Author Message
southern
Client



Joined: Jan 29, 2004
Posts: 624

PostPosted: Thu Sep 02, 2004 11:46 am Reply with quote

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
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Thu Sep 02, 2004 1:23 pm Reply with quote

When did your registration stop working? Can you backtrack as to what you have done since the last time it worked?
 
View user's profile Send private message
southern







PostPosted: Thu Sep 02, 2004 1:47 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 1:51 pm Reply with quote

As I said, it was not designed for 7.4. Have you tried what Chat posted in http://www.ravenphpscripts.com/posts2664-highlightautoactivate.html
 
southern







PostPosted: Thu Sep 02, 2004 1:56 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 2:00 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 2:04 pm Reply with quote

My mistake, sorry. It said 7.x Smile
 
Raven







PostPosted: Thu Sep 02, 2004 2:07 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 2:17 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 2:48 pm Reply with quote

Just to rule out an obvious issue, please clear your cache and delete your cookies.
 
southern







PostPosted: Thu Sep 02, 2004 3:04 pm Reply with quote

OK... back soon.
 
southern







PostPosted: Thu Sep 02, 2004 3:14 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 3:17 pm Reply with quote

Now, install the auto-activate mod. If you have an immediate problem, take another enema and try it again Laughing
 
southern







PostPosted: Thu Sep 02, 2004 3:30 pm Reply with quote

OK off I trot Smile 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. Smile
 
southern







PostPosted: Thu Sep 02, 2004 4:11 pm Reply with quote

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. Smile
Thanks Raven, you rule!
 
southern







PostPosted: Thu Sep 02, 2004 8:50 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 9:04 pm Reply with quote

Check the FAQ Wink
 
southern







PostPosted: Thu Sep 02, 2004 10:01 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 10:05 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 10:15 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 10:35 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 10:44 pm Reply with quote

Honestly, there is a blank line somewhere. Have you added any include statements to footer.php, mainfile.php, etc?
 
southern







PostPosted: Thu Sep 02, 2004 10:55 pm Reply with quote

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







PostPosted: Thu Sep 02, 2004 11:03 pm Reply with quote

Make sure that your security image is not hosed in http://your_domain.com/images/admin/code_bg.jpg . It should display when you enter that link.
 
southern







PostPosted: Thu Sep 02, 2004 11:23 pm Reply with quote

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. Smile
Thanks very much, Raven, I never doubted you- just myself!
It's been a long day so I'm turning in...
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> phpnuke 7.1

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©