×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Error code {"html":"saved","error":false}

Error code {"html":"saved","error":false} 11 years 5 months ago #21008

  • Alan Henderson
  • Alan Henderson's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Error code after reinstalling CMC is:

{"html":"saved","error":false}

I get the Confirmation Email but this error code comes up in browser window after submitting email.

Joomla 2.5 latest version

Site may be down: equitywealthbuilders.com

Alan

Error code {"html":"saved","error":false} 11 years 5 months ago #21018

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Alan,
You have a javascript error on the page and the form is being submitted by the browser because of that.

Regards,
Daniel

Error code {"html":"saved","error":false} 11 years 5 months ago #21022

  • Alan Henderson
  • Alan Henderson's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Can I pay you to find it and fix it?

Error code {"html":"saved","error":false} 11 years 5 months ago #21026

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I cannot see your site, but the error is not generated by our extension for sure. In most cases users have like 20 different jquery libraries loaded on the same page. Use firebug for firefox and look at the console to get an idea what is wrong on your site.

Regards,
Daniel

Error code {'html':'saved','error':false} 11 years 4 months ago #21771

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi Daniel,

I'm relatively new with Joomla & having the same problem, so could you please help me troubleshoot a little further? Here is my website - www.gen-connect.com/index.php/about-us . It used to work no problem, but I recently just found this error.

I have a K2 Login module on the same page as CMC with the option of loading a JQuery Library, so since I didn't know how to check if there are multiple libraries running, I tried both options but neither fixed the problem. I used Firebug finding 2 errors on the page:

ReferenceError: jQuery is not defined
var $K2 = jQuery.noConflict();
k2.js?...epath=/ (line 9)

ReferenceError: Locale is not defined
Locale.use("en-GB");
about-us (line 63)

Any suggestions are much appreciated. This is the only bug on our entire website, so I want to get it fixed ASAP. I love the CMC module & am excited to get it back up & running!

Scott

Error code {'html':'saved','error':false} 11 years 4 months ago #21772

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The issue for you is that you load the k2.js files first and it has jquery.noConflict() as first line. But you actually load the jquery library later and that is why you have an error there.

Also it seems that mootools-more is not loaded. Do you use something to modify the order in which scripts are loaded?

Error code {'html':'saved','error':false} 11 years 4 months ago #21781

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hey Daniel,

Thanks for the quick response. I don't use anything I know of that would modify the order my scripts are loaded. My extensions/plug-ins are K2, yours (CMC), Document Seller, JCE Editor, AllVideoShare, AllVideos, Facebook Comments, AddThis, and the enhanced User Profile on the Meet Gavern template by Gavick. How do I correctly reorder the scripts also including mototools-more?

Thanks again for your help!

Scott

Error code {'html':'saved','error':false} 11 years 4 months ago #21784

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Okay, now the only error that I see is related to Locale.set

The problem comes from the fact that the mootools-more library is not loaded on the page. Does your template has a settings for this or maybe you have a plugin that disables it?

Whenever you enable mootools-more it should work as expected.

Regards,
Daniel

Error code {'html':'saved','error':false} 11 years 3 months ago #22163

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi Daniel,

I haven't replied recently because we were in the middle of upgrading our website from Joomla 3.0 to Joomla 3.1 as well as upgrading to the most current version of our template Meet Gavern by Gavick. I was hoping one of these upgrades would fix CMC (mototools-more library wasn't loading), but no such luck. Unfortunately I didn't see any options for enabling Mootools More within my template. Can you help out with further advice?

Here's one of our pages with the CMC module - www.gen-connect.com/index.php?option=com...=featured&Itemid=170

Thanks!

Scott

Error code {'html':'saved','error':false} 11 years 3 months ago #22166

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Scott,
I have no idea if the issues are created by your template or by a plugin, but here is what I see in the source code:
  <script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
  <script src="/media/system/js/core.js" type="text/javascript"></script>
  <script src="/components/com_k2/js/k2.js?v2.6.6&amp;sitepath=/" type="text/javascript"></script>
  <script src="/media/system/js/caption.js" type="text/javascript"></script>
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript"></script>

1. there is no mootools more
2. you load first the k2 javascript file, but the k2 javascript requires jquery => which causes a js error, since jquery is loaded later

Here is what I would do. I would switch to a default joomla template and will check to see if mootools-more is loaded and if the newsletter form is working. I'll also look if jquery is loaded in the correct position (before k2). If it does -> then the problem comes from your template and you should contact gavick for support.
If it doesn't then you most probably have a plugin that works on the page (most probably a system plugin). I'll go to the plugin manager and start disabling plugin after plugin till I find the plugin that causes that (don't disable the system - user plugin cause otherwise you risk being not able to login into your site :))

Regards,
Daniel

Error code {'html':'saved','error':false} 11 years 3 months ago #22224

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Hi Daniel,

Sorry I'm having so many problems. I still couldn't get it working even with your advice, so I uninstalled it & tried installing again hoping that would magically solve the problem. Now I can't even add the CMC Module because my Mailing List isn't available as an option (I already entered the List ID w/ no problem). Here's the error message - Warning: Invalid argument supplied for foreach() in /home/gencon5/public_html/modules/mod_cmc/library/fields/cmclists.php on line 25

Thanks!

Error code {"html":"saved","error":false} 11 years 3 months ago #22225

  • Scott
  • Scott's Avatar
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 0
Sorry Daniel the reinstall problem was purely user error. I entered the List ID instead of the API Key. I will let you know if the reinstall takes care of the problem. Thanks!

Scott

Error code {"html":"saved","error":false} 11 years 3 months ago #22238

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
So, is it working now?
  • Page:
  • 1
Time to create page: 0.128 seconds