sign up module keeps on loading after submition

  • yorgokastri
  • Topic Author
  • Visitor
  • Visitor
09 Sep 2014 20:39 #2421 by yorgokastri
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....

Please Log in or Create an account to join the conversation.

More
13 Sep 2014 17:04 #2424 by pete
Please set the error notification level to none in the global configuration. This should solve the problem.

Kind regards,
Pete

Please Log in or Create an account to join the conversation.

More
19 Sep 2014 19:54 #2433 by gfisch
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.

Please Log in or Create an account to join the conversation.

More
28 Sep 2014 14:58 #2438 by pete
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

Please Log in or Create an account to join the conversation.

More
18 Jan 2016 07:51 #2636 by charlene
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.

Please Log in or Create an account to join the conversation.

More
27 Dec 2016 16:27 #2679 by Seppppl
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

Please Log in or Create an account to join the conversation.