Spam Protect create an error by activation 3 years 11 months ago #1

  • Per Hanson
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 13
I'm sorry to have to inform that the Spam Protect Factory extension creates an error. The activation link sent by email for activation of newly created user accounts do not work. One receive the following Error message on activation:

"Registration failed: Failed to save activation data: Could not parse email address."

This error goes away when disabling the Spam Protect Factory plugin.
The administrator has disabled public write access.

Spam Protect create an error by activation 3 years 11 months ago #2

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 4856
What email are you using?
thePHPfactory Customer Support
The administrator has disabled public write access.

Spam Protect create an error by activation 3 years 11 months ago #3

  • Per Hanson
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 13
Alexandru wrote:
What email are you using?

I've been testing with different email addresses. There're no special characters in the email addresses, just basic ASCII characters being used (a-z).
The administrator has disabled public write access.

Spam Protect create an error by activation 3 years 11 months ago #4

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 4856
Unable to replicate issue on local test server.

For debugging purposes, edit administrator/components/com_spamprotect/models/spamprotect.php and changes lines:
if (!$parsed['success']) {
            throw new Exception('Could not parse email address.');
        }
to:
if (!$parsed['success']) {
            var_dump($parsed);
            die;
            throw new Exception('Could not parse email address.');
        }
and try again. Paste here the message you receive.
thePHPfactory Customer Support
The administrator has disabled public write access.

Spam Protect create an error by activation 3 years 11 months ago #5

  • Per Hanson
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 13
Thanks, I'll run a test.
The administrator has disabled public write access.

Spam Protect create an error by activation 3 years 11 months ago #6

  • Per Hanson
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 13
The message I receive is:

array(3) { ["success"]=> bool(false) ["reason"]=> string(24) "No email addresses found" ["email_addresses"]=> array(0) { } }
The administrator has disabled public write access.

Spam Protect create an error by activation 3 years 11 months ago #7

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 4856
What did you set Global Configuration / Users / New user account activation to?
thePHPfactory Customer Support
The administrator has disabled public write access.

Spam Protect create an error by activation 3 years 11 months ago #8

  • Per Hanson
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 13
Alexandru wrote:
What did you set Global Configuration / Users / New user account activation to?

Self
The administrator has disabled public write access.

Spam Protect create an error by activation 3 years 11 months ago #9

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 4856
And you receive the error when clicking on the activation link?
thePHPfactory Customer Support
The administrator has disabled public write access.

Spam Protect create an error by activation 3 years 11 months ago #10

  • Alexandru
  • Alexandru's Avatar
  • Senior Developer
  • Bucharest
  • Localtime: 11:32
  • Europe/Bucharest
  • Posts: 4856
We've just issued a new build (same version) of the extension that contains a fix regarding this.
thePHPfactory Customer Support
The administrator has disabled public write access.