1. Jacob
  2. CMC - Mailchimp for Joomla!
  3. Tuesday, 22 September 2020
  4.  Subscribe via email
Facing an issue with CMC that when someone tried to signup for newsletter on the site, it keeps waiting for response.

Did check the network tab and it makes an ajax call to :
/component/cmc/?format=raw&task=subscription.exist

and that throws error:
The most recent request was denied because it had an invalid security token. Please refresh the page and try again.

Narrowed it down to :
public_html/components/com_cmc/controllers/subscription.raw.php
and if i comment the session check on exist() & save() functions, the newsletter subscribe works perfectly.
-----------------------

public function exist()
{
//JSession::checkToken() or jexit(JText::_('JINVALID_TOKEN'));

-----------------------

Is there a way to fix the issue without modifying the core component.
Responses (0)


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Last questions

J5 compatibility for Hotspots
Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
1 Replies
Posted on Monday, 24 February 2025
  • #Hotspots
  • #hotspots Joomla 5
Text size in the comment input form
Hello. How can I increase the font size in the comment input field? For examp...
0 Replies
Posted on Wednesday, 26 February 2025
  • #CComment 6
Problem with enlarged image
Hello. When you click on the image in the comments, it does not appear in the ce...
1 Replies
Posted on Wednesday, 26 February 2025
Black square instead of images in comments
Hello. In comments instead of images I see black squares. Here is an example. h...
0 Replies
Posted on Wednesday, 26 February 2025
  • #ccoment pro
Link bug in comment emails
Hello. The site has three languages. For example, a user left a comment on an a...
3 Replies
Posted on Saturday, 15 April 2023