Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

syntax error in gziped picker.date.js file after upgrading to 3.2.1.3

9 years 8 months ago
  • Petr's Avatar
    Topic Author
  • Petr
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi I upgraded to 3.2.1.3 version of Jomsocial, and firebug console shows me syntax error when using jomsocial :

SyntaxError: missing : in conditional expression
and this piece of code:
...Array(c)?c=+c[0]*e++c[1]:h.isInteger(c)||(c=i.now(a,c,f)),"max"==a&&c<i.item.mi

When i copy error it show that its here: (changed my site to example)
SyntaxError: missing : in conditional expression
www.example.com/cache/template/gzip.php?...combined-4c82edca.js
Line 17


I found that ungziped file picker.combined.js in this directory
components/com_community/assets/pickadate/

So should i put missing ":" somewhere in the showed piece of code in that file, and where ? Or what to do with this?

Thank you

Petr

9 years 7 months ago
Licenses:

Hi, Petr.

It's because your template has enabled minified option.
JomSocial scripts are already minified and will be damaged when combined or minified again.
I disabled this in template and issue is gone.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 7 months ago
  • Petr's Avatar
    Topic Author
  • Petr
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Licenses:
JomSocial Expired

Yeah issue is gone, but my site loading slower, from 1.5 seconds to 6.5 seconds. Is there another solution?

9 years 7 months ago
  • Petr's Avatar
    Topic Author
  • Petr
  • Offline
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Licenses:
JomSocial Expired

OK solved,turned back combining, minifying a gziping in my template settings and i exclude that file (picker.date.js) from minifying in Jbetolo extension. Thanks

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW