PDA

View Full Version : Failed user registration


Killgore
03-29-2009, 01:06 PM
A user of my claimed that they couldn't log in. So to test this to make sure They didn't forget something, I also tried creating a new account. However, i couldn't log into that one, either. Upon inspection of the database, there were 66 member as of 2 days ago (there's usually about 4 or 5 new members per day, and it hasn't gone up since 2 days ago) And i couldn't find the member's account, or my test account in the database. Any clue why this is happening? I haven't tried editing the register2.php file yet, if it helps :)

Rsmiley
03-29-2009, 02:14 PM
Did you recently install any mods such as currency and what not?

Did you receive any mysql errors when trying to register?

Killgore
03-29-2009, 02:37 PM
No mysql errors, and i haven't tried installing anything lately. I've been contemplating the currency mod, but i need to learn how to edit the file to suit the needs of my site, so i haven't done anything to it yet.

BMR777
03-29-2009, 07:44 PM
Any other recent changes? Try replacing your register.php and register2.php with the defaults from the download package and see if that helps.

Also, did you make any modifications to the users table in the database?

Killgore
03-29-2009, 09:12 PM
I added the "money" field to it for the currency mod, but then deleted it after i thought that i needed to make a new table for the system i want to put in place.

EIT: I tried uploading both register.php and register2.php from the release, and both come up as blank pages
http://sylonia.comyr.com/adoptables/register.php
http://sylonia.comyr.com/adoptables/register2.php

BMR777
03-30-2009, 08:22 AM
Try reuploading them. Also, the blank page may be interferrence from your web host. When I view the source of the register.php page I see:

<!-- www.000webhost.com Analytics Code -->
<script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
<noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
<!-- End Of Code -->


That could be interfering with something.

Also, make sure you restored the users table to the default as it was when you first installed as any changes to the users table would make user registration not work.

Brandon

Killgore
03-30-2009, 05:04 PM
Interesting, i tried re-uploading both files again and same blank page happened. When i tried editing the files, everything was on one line.

The users table has been back to the original way ever since about 3 minutes after i edited it ;)

BMR777
03-31-2009, 04:23 PM
Hmm, try re-downloading the zip file. Then make sure you extract it. Maybe the download was corrupt.

Killgore
04-01-2009, 04:49 PM
I've had it on it's current server for close to 2 months, and it's never done it before. Maybe it's an issue with the host, like RSmiley's hosting site? Could it be mine's getting too big and 000webhoist doesn't like that? (69 members, i had to manually add 3 users)

BMR777
04-01-2009, 04:52 PM
I don't know. I think though that the analytics code that 000webhost is forcing on your account though is the issue.

Killgore
04-01-2009, 05:38 PM
Analytics code? You mean the web stats? That shouldn't be 000webhost, it should be histats.com. In any case, should i take it off to see if that does the trick?

BMR777
04-01-2009, 05:40 PM
Yeah. :)