Jump to content

Recommended Posts

Posted

Hey guys,

On registration, people are just redirected back to the registration page with no confirmation message. They seem to be registering several times because they think it hasn't been processed properly.

Could somebody point me out as to where i could, for example, place a php include() so I can show a confirmation?

Detailed answers are appreciated.

Thanks!

Posted

I tried using the reCaptcha but I need to prioritse, so I removed it and replaced the registration scripts with the factory-fresh ones.

It isn't redirecting as such, but it is inserting the user registration into the database, then showing the registration form again (even if it is correct).

This may be a result of my shifty attempts to add an external captcha, though I'm sure I re-installed all of the scripts that I edited.

I can post any scripts at your request.

Thanks,

Kieran

Posted

Im also on the newest version and  when a user registers it says"Confirmation Sent

Thanks for registering for Sunset Airlines, you will be notified via email of your registration status."

So maybe  fresh re-install?

Just my input

Posted

Thanks for the input, but I've been developing the site for some time and a fresh install would be tedious and unnecessary.

Perhaps there is a way to fix this using alternative methods?

Posted

Re-uploaded the original 'Templates' and 'Modules', still nothing.

Upon taking a second glance, the registrations are not even being inserted into the database!

Posted

When I enabled Debug mode, the registration actually procecced (but I got a whole load of errors with my SMTP settings, even though they are all correct, also an RSS write error which is easily solved). When I re-disabled debug mode, it didn't process.

Log file is empty :s

Posted

The log file is completely empty :s. Do you happen to have a complete list of scripts included in the registration process so that I could restore them?

Thanks.

Posted

Ah now this is funny -

I disabled all of my Custom fields and it seemed to register users correctly!

But I really need those custom fields. I'll look in to it and get back to you by tomorrow.

Thanks for your assistance Nabeel, when I am accustomed tot he phpVMS system I will almost certainly write some scripts for it in return!

Posted

My custom fields have been removed from the registration form and are now only displaying on the user's profile.

It MAY have something to do with I had to edit the database to get the textarea to work correctly.

I edited the field type from 'text' to 'textarea'.

Is there any sort of scripts that need coding right now?

  • Administrators
Posted

Hmm, if there was an error it should have shown up in the logs. I'll investigate further as well. But yes, that edit may have to do with it. I'm not sure I enabled textfields.

Posted

Come to think of it, my log file may not have been writable (it was on default permissions).

EDIT: Now it isn't letting me register regardless of whether the custom fields are disabled on registration or not!  :o

If I have any custom fields At all, this error occurs :s

Hopefully that added fuel to the fire.

Also, what path do I put for the New Pilots RSS Feed?

Does it start from /public_html/ or is it relative? Currently the error is:

An Error Was Encountered

public_html/lib/rss/latestpilots.rss is not writeable!

The permissions of latestpilots.rss are 777.

Posted

Now something's showing up in the log! EGLL is London Heathrow's ICAO code.

Caller: DB::write_debug->DB::query->OperationsData::AddAirport->Operations->add_airport_post->Operations->airports->call_user_func_array->MainController::RunAllActions

INSERT INTO airports

( `icao`, `name`, `country`, `lat`, `lng`, `hub`, `chartlink`, `fuelprice`)

VALUES (

'EGLL', 'Heathrow', 'United Kingdom',

51.4711455584879, -0.456490516662598, 1, '', 1.2)

Duplicate entry 'EGLL' for key 2

Caller: DB::write_debug->DB::query->SettingsData::AddField->Settings->add_field_post->Settings->customfields->call_user_func_array->MainController::RunAllActions

INSERT INTO customfields (title, fieldname, value, type, public, showonregister)

VALUES ('VATSIM ID', 'VATSIM_ID', '', 'text', 1, 1)

Duplicate entry 'VATSIM_ID' for key 2

Caller: DB::write_debug->DB::query->SettingsData::AddField->Settings->add_field_post->Settings->customfields->call_user_func_array->MainController::RunAllActions

INSERT INTO customfields (title, fieldname, value, type, public, showonregister)

VALUES ('VATSIM ID', 'VATSIM_ID', '', 'text', 1, 1)

Duplicate entry 'VATSIM_ID' for key 2

Caller: DB::write_debug->DB::query->SettingsData::AddField->Settings->add_field_post->Settings->customfields->call_user_func_array->MainController::RunAllActions

INSERT INTO customfields (title, fieldname, value, type, public, showonregister)

VALUES ('VATSIM ID', 'VATSIM_ID', '', 'text', 1, 1)

Duplicate entry 'VATSIM_ID' for key 2

Caller: DB::write_debug->DB::query->SettingsData::AddField->Settings->add_field_post->Settings->customfields->call_user_func_array->MainController::RunAllActions

INSERT INTO customfields (title, fieldname, value, type, public, showonregister)

VALUES ('VATSIM ID', 'VATSIM_ID', '', 'text', 1, 1)

Duplicate entry 'VATSIM_ID' for key 2

Caller: DB::write_debug->DB::query->SettingsData::AddField->Settings->add_field_post->Settings->customfields->call_user_func_array->MainController::RunAllActions

INSERT INTO customfields (title, fieldname, value, type, public, showonregister)

VALUES ('VATSIM ID', 'VATSIM_ID', '', 'text', 1, 1)

Duplicate entry 'VATSIM_ID' for key 2

When I register putting either NO Vatsim ID in or an ID that has already been used then it gives me this error. Weird :S.

  • Administrators
Posted

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?

Posted

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

  • Administrators
Posted

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)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...