Registration Redirection

So these show up when you register? Hmm. Ok, remove any custom fields, then try to register, do they show up?

When I remove the fields, the registration does not process and the log file does not change.

I think you’re gonna have to do a fresh install, I can’t duplicate any of these errors either on the test site, or my dev site.

Can you run:

/install/checkdb.php

and

/install/checkinstall.php

And paste the results in here?

CheckDB All OK

Check Install Returned:

Checking PHP version

[OK] PHP version is 5.2.x

Checking connectivity…

[OK] Can contact outside servers

Checking for SimpleXML module…

[OK] SimpleXML module exists!

Checking file hashes for corrupt or mismatched files

[Checksum failed] /install/templates/s3_setup_finished.tpl did not match, possibly corrupt or out of date

[Checksum failed] /core/modules/Registration/Registration.php did not match, possibly corrupt or out of date

[Checksum failed] /admin/lib/layout/footer.tpl did not match, possibly corrupt or out of date

– Checked 164 files, found 3 errors

I don’t see how the registration script can be corrupt if it’s factory fresh?

I don’t see how the registration script can be corrupt if it’s factory fresh?

It could get corrupted on upload (FTP does that sometimes)

I just tried a completely fresh install - STILL NO LUCK!

Does anybody else have this problem?

Can you register on

http://dev.phpvms.net

And try to duplicate it there?

I’ll need access to the administrative backend.

user ID TAY0137

Ok, you’re added into admin. Thanks

Error has been recreated.

Try to register.

What are the steps? I don’t have time to look in detail ATM, but the exact steps and all so I can fix it up

Thanks!!

  1. Add a field called ‘VATSIM ID’, set it to both Profile and Register.

  2. Logout and try to register.

  3. Experience the wrath of the error ;D

Hmm I was able to register just fine.

Registration Confirmation

Thanks for joining us! Your registration has been completed! You can login using your pilot ID (TAY0138), and the password you used during registration.

I left debug text in there, try again and paste whatever is outputted into here

ezDB (v3.00) Debug..

Query [8] – [iNSERT INTO phpvms_pilots (firstname, lastname, email, code, location, hub, password, salt, confirmed, joindate) VALUES (‘Test’, ‘Hello’, ‘hello@hotmail.biz’, ‘VMA’, ‘CV’, ‘KJFK’, ‘1f9e9d76c60169af08000ada76deb7c5’, ‘ef3e9a4ed7d0eea6db6bc9791b241dc2’, 0, NOW())]

Query Result..

No Results

If ezDB has helped make a donation!? 

custom fields found:

Array

(

    [0] => stdClass Object

        (

            [fieldid] => 4

            [title] => VATSIM ID

            [fieldname] => VATSIM_ID

            [value] =>

            [type] => text

            [public] => 1

            [showonregister] => 1

        )

)

value for VATSIM_ID is “45235234”

Query [11] – [iNSERT INTO phpvms_fieldvalues (fieldid, pilotid, value)

VALUES (4, 140, ‘45235234’)]

Query Result..

No Results

If ezDB has helped make a donation!? 

Registration Confirmation

Thanks for joining us! Your registration has been completed! You can login using your pilot ID (VMA0140), and the password you used during registration.

Seems like it worked

Hmmm…

I Might rewrite a registration module…

How do I access the variables for the database name, table prefix etc that are required for the mysql query?

Also, where are the list of custom fields stored?

Hmmm…

I Might rewrite a registration module…

How do I access the variables for the database name, table prefix etc that are required for the mysql query?

Also, where are the list of custom fields stored?

It’s all done through the API’s RegistrationData::AddUser() function.

So, are you still not able to register?

Nope :S.

Does it rely on having correct mail settings?