Hi, I have standard newsletter installed and when somebody want to add his e-mail second time and he's now in database I get error instead of nice information :(
How can I change it to have page that inform user that he's in database?
Source
618 'Member',
619 sprintf(
620 "\"%s\" = '%s' %s",
621 $identifierField,
622 Convert::raw2sql($this->$identifierField),
623 $idClause
624 )
625 );
626 if($existingRecord) {
627 throw new ValidationException(new ValidationResult(false, sprintf(
628 _t(
629 'Member.ValidationIdentifierFailed',
630 'Can\'t overwrite existing member #%d with identical identifier (%s = %s))',
631 PR_MEDIUM,
632 'The values in brackets show a fieldname mapped to a value, usually denoting an existing email address'
633 ),
Trace
* Member->onBeforeWrite()
Line 936 of DataObject.php
* DataObject->write()
Line 238 of SubscriptionPage.php
* SubscriptionPage_Controller->doSubscribe(Array,Form,SS_HTTPRequest)
Line 300 of Form.php
* Form->httpSubmission(SS_HTTPRequest)
Line 137 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 155 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
* Controller->handleRequest(SS_HTTPRequest)
Line 199 of ContentController.php
* ContentController->handleRequest(SS_HTTPRequest)
Line 67 of ModelAsController.php
* ModelAsController->handleRequest(SS_HTTPRequest)
Line 281 of Director.php
* Director::handleRequest(SS_HTTPRequest,Session)
Line 124 of Director.php
* Director::direct(/newsletter/Form)
Line 127 of main.php