gk_contact error message

GK User
Thu Jan 01, 2015 2:58 am
If you check out www.TheEyePlace.com and submit a contact us at the bottom, an error message appears. I have verified access and path to k2.js is valid.

I also had to turn off recaptcha because it wasn't appearing.

Thank you for looking into this error.
User avatar
Fresh Boarder

teitbite
Fri Jan 02, 2015 10:10 am
Hi

This error is coming from js compression script. Not all files can be compressed, so I believe this one can't please exclude it from compression in template configuration.
User avatar
Moderator

GK User
Fri Jan 02, 2015 3:38 pm
I can confirm that disabling "minify javascript," clearing the cache, and re-enabling "minify javascript" in JCH Optimize does allow the reCaptcha to appear, but with the k2.js error remaining.

Disabling minify javascript allows it to work fine, but increases the page load time due to increased .js sizes.

Excluding C:\inetpub\wwwroot\SteakHouse-1214\components\com_k2\js\k2.js and excluding www.theeyeplace.com/components/com_k2/js/k2.js does not fix the issue. I will consult with JCH team for further support.
User avatar
Fresh Boarder

teitbite
Sat Jan 03, 2015 11:20 am
Hi

Is "minify javascript" an option in JCH or some file ? If it's an option than I believe it's removing empty spaeces from files. This should makes no difference if correct files are combined. So I believe there is another file messing here. Try do it like I proceed in such situations. First disable all cache, than look at website source code and exclude all javascript files. Than start removing a file after file from exclusion while checking the console on frontend. This way You will find all files causing problems and which should be left in exclusion field.
User avatar
Moderator


cron