Kieran Posted January 18, 2010 Report Share Posted January 18, 2010 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! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 18, 2010 Administrators Report Share Posted January 18, 2010 What version are you using? Did you upgrade from 1.0 Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 18, 2010 Author Report Share Posted January 18, 2010 I'm currently on the latest build, clean install. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 18, 2010 Administrators Report Share Posted January 18, 2010 If it's redirecting back, there's an error somewhere. Is the captcha showing up? Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 18, 2010 Author Report Share Posted January 18, 2010 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 Quote Link to comment Share on other sites More sharing options...
JohnMck93 Posted January 18, 2010 Report Share Posted January 18, 2010 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 Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 18, 2010 Author Report Share Posted January 18, 2010 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? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 18, 2010 Administrators Report Share Posted January 18, 2010 Did you reupload the registration module after you had modified it? Reupload the original one and then try Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 18, 2010 Author Report Share Posted January 18, 2010 Re-uploaded the original 'Templates' and 'Modules', still nothing. Upon taking a second glance, the registrations are not even being inserted into the database! Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 19, 2010 Administrators Report Share Posted January 19, 2010 Can you set DEBUG_MODE to true in the local.config.php file, try registering, and then attach the core/logs/log.txt file? Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 19, 2010 Author Report Share Posted January 19, 2010 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 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 19, 2010 Administrators Report Share Posted January 19, 2010 Hmm, that log being on wouldn't make a difference in terms of processing. In the core/logs/log.txt file, are there any errors? Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 19, 2010 Author Report Share Posted January 19, 2010 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. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 19, 2010 Administrators Report Share Posted January 19, 2010 Well, reupload the entire core/common and core/modules folders. Also core/templates. Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 19, 2010 Author Report Share Posted January 19, 2010 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! Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 19, 2010 Author Report Share Posted January 19, 2010 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? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 19, 2010 Administrators Report Share Posted January 19, 2010 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. Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 20, 2010 Author Report Share Posted January 20, 2010 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! 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. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 That's probably the right path. Yeah, set the log to writable, and try again, see if anything shows up Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 20, 2010 Author Report Share Posted January 20, 2010 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::RunAllActionsINSERT 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. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 So these show up when you register? Hmm. Ok, remove any custom fields, then try to register, do they show up? Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 20, 2010 Author Report Share Posted January 20, 2010 When I remove the fields, the registration does not process and the log file does not change. Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 20, 2010 Administrators Report Share Posted January 20, 2010 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? Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 20, 2010 Author Report Share Posted January 20, 2010 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 Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 22, 2010 Author Report Share Posted January 22, 2010 I don't see how the registration script can be corrupt if it's factory fresh? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 22, 2010 Administrators Report Share Posted January 22, 2010 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) Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 25, 2010 Author Report Share Posted January 25, 2010 I just tried a completely fresh install - STILL NO LUCK! Does anybody else have this problem? Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 25, 2010 Administrators Report Share Posted January 25, 2010 Can you register on http://dev.phpvms.net And try to duplicate it there? Quote Link to comment Share on other sites More sharing options...
Kieran Posted January 25, 2010 Author Report Share Posted January 25, 2010 I'll need access to the administrative backend. user ID TAY0137 Quote Link to comment Share on other sites More sharing options...
Administrators Nabeel Posted January 25, 2010 Administrators Report Share Posted January 25, 2010 Ok, you're added into admin. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.