joomlamailer.com

sign up module keeps on loading after submition

sign up module keeps on loading after submition

joomlamailer version: 2 3
Joomla! version: 3 3 3
PHP version:
MySQL version:

the gif image keeps on loading and loading i replaced the image with a blank one.  p.s. the confirmation email comes after all....

Administrator has disabled public posting. Please login or register in order to proceed.

Re: sign up module keeps on loading after submition

Please set the error notification level to none in the global configuration. This should solve the problem.

Kind regards,
Pete

Administrator has disabled public posting. Please login or register in order to proceed.

Re: sign up module keeps on loading after submition

Success!

After much gnashing of teeth (ajax calls can be so hard to debug), I found an error in the code. If the users are not logged in ($userId = 0) this module will work once. Then it throws a MySQL error trying to insert the user into #__joomailermailchimpintegration. Duplicate entry.

I changed this line in the component controller:

if ($userIdSubscribed === null) {

to

if ($userIdSubscribed === null && $userId) {


OPTIONAL
It is helpful to show errors in the ajax call. In the file media/mod_mailchimpsignup/js/mailchimpsignup.js
I added this option to the ajax call:


,
    error: function (request, status, error) {
        alert(request.responseText);
    }

Also note you may not see the actual error if your template has it's own error.php file. Rename that file while testing.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: sign up module keeps on loading after submition

Hello gfisch,

Thanks for your effort and sharing the solution. We have fixed this problem in the latest version 2.0.5 by changing the index of the table #__joomailermailchimpintegration.

Kind regards,
Pete

Administrator has disabled public posting. Please login or register in order to proceed.

Re: sign up module keeps on loading after submition

Hello,

I facing the same problem. The module keep loading after sign up.
I set the error reporting in the system global configuration to none. but the problem did not solve.
Please assist me what should I do?
Much appreciate with prompt response.

Administrator has disabled public posting. Please login or register in order to proceed.

Re: sign up module keeps on loading after submition

Hello everybody,
I am facing the same problem too. The confirmation mails are being sent. But the animated icon are still in progress. No confirmation text is showing up.
Using 2.5.3 and Joomla 3.6.5
Error reporting is set to off.

Especially, when I activate "preferences" it leads to that effect. When I only use the list/fields "name,email,lastname,salutation" it works pretty well.

Thank you in advance.
Seppppl

Edited by: Seppppl - 27-Dec-2016 16:52:34

Administrator has disabled public posting. Please login or register in order to proceed.