1. bob
  2. CMC - Mailchimp for Joomla!
  3. Tuesday, 23 September 2014
  4.  Subscribe via email
Hi,

First: thanks for this great and useful component. It worked great until the following issue.
Since the last update (com_cmc-1.5.1.zip), i have an error in the module as follow: It seems that there is an error building the newsletter form. Most probably one of your fields contains invalid characters. If the problem persist, contact support on compojoom.com
I know they are only php warnings but here is what i can see wen i turn on error reporting in joomla:
Warning: SimpleXMLElement::__construct(): Entity: line 39: parser error : xmlParseEntityRef: no name in /Applications/MAMP/htdocs/btj321/libraries/joomla/form/form.php on line 740
Warning: SimpleXMLElement::__construct(): /option><option value="Manufacturing">Manufacturing</option><option value="Oil & in /Applications/MAMP/htdocs/btj321/libraries/joomla/form/form.php on line 740
Warning: SimpleXMLElement::__construct(): ^ in /Applications/MAMP/htdocs/btj321/libraries/joomla/form/form.php on line 740
Warning: SimpleXMLElement::__construct(): Entity: line 39: parser error : xmlParseEntityRef: no name in /Applications/MAMP/htdocs/btj321/libraries/joomla/form/form.php on line 740
Warning: SimpleXMLElement::__construct(): tion value="Manufacturing">Manufacturing</option><option value="Oil & Gas">Oil & in /Applications/MAMP/htdocs/btj321/libraries/joomla/form/form.php on line 740
Warning: SimpleXMLElement::__construct(): ^ in /Applications/MAMP/htdocs/btj321/libraries/joomla/form/form.php on line 740

I've checked the options of my mailchimp signup form and there is no strange character or anything wrong i can see. I've also looked at the logs and apart from the warnings i added above, i could not see anything relevant.

I've tried the solution posted here: https://compojoom.com/forum/cmc-mailchimp-for-joomla/19547-error-after-update-to-1-5-1 but without any luck.
I'm developing on Mac using MAMP with the following:
- Joomla! 3.3.3
- Apache 2.2.26
- php 5.5.10
-mySQL 5.5.34

Any help or indication of what could cause this issue would be greatly appreciated.

Thank you in advance.

Cheers
Responses (1)
Accepted Answer Pending Moderation
well i think i found the issue.

For one of my list field (on mailchimp), i had many option to choose for. And in some of them i was using a slash "/".
For example: Architecture/Engineering or Advertising/Marketing/PR .
As soon as i replaced the slashes "/" with dashes "-", then everything was showing properly.

I'm not a php guru but my conclusion is that the script does not escape slashes "/" if any in the option value, therefore breaking the output code, resulting in displaying error without php errors.

I hope that will help others and hopefully see a fix very soon.

Cheers
  1. more than a month ago
  2. CMC - Mailchimp for Joomla!
  3. # 1
  • Page :
  • 1


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

Last questions

Trying to resize the image in the comments
Hey everyone, Basically I am trying to make the images in the comments smalle...
9 Replies
Posted on Wednesday, 12 August 2009
J5 compatibility for Hotspots
Hi guys, Just started to update my old J3x website. Is there J5 compatibility p...
2 Replies
Posted on Monday, 24 February 2025
  • #Hotspots
  • #hotspots Joomla 5
error message when adding/cofiguring email address
When configuring the email plugin that send a email message to admin when a new ...
0 Replies
Posted on Friday, 09 May 2025
CMigrator: Path from Drupal 6 to J5?
(Category s/b CMigrator, but didn't see it on the list) I'm interested in usi...
0 Replies
Posted on Monday, 28 April 2025
Dowload all Hotspots entries
Hi there, I'm looking for a way to dowload all the Hotspots entries. I've got t...
0 Replies
Posted on Sunday, 06 April 2025
  • #kml
  • #download