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

Comment input field is not displayed
If I want to leave a comment on a post, I click on the button and a new page wit...
2 Replies
Posted on Friday, 20 December 2024
  • New
  • HotSpots Pro 6.0.12 crashes on FrontEnd with Conso
    Hi there, Not sure what happened but all of a sudden nothing shows up and giv...
    3 Replies
    Posted on Wednesday, 11 December 2024
    CComment - field - website address
    Hello In previous versions of CComment, it was possible to enable a field in ...
    0 Replies
    Posted on Saturday, 14 December 2024
  • New
  • Profile image for admin not showing
    Hi, profile image for administrator is not showing in comment. https://www.hu...
    0 Replies
    Posted on Friday, 13 December 2024
    How can I integrate the CComment input field into
    I’ve created com_content and a module for displaying the latest comments, which ...
    3 Replies
    Posted on Friday, 06 December 2024
    • #CComment
    • #comments
    • #module
    • #comments editor
    • #Ccomment Pro
    • #Joomla 5