Jump to content
Darius1990

JS files have unreadable TOKEN and broke Prestashop

Recommended Posts

Hi,

never before had so strange behavior. My website working online fine. But when I pull all file with FileZilla and try to work locally all JS files have strange TOKEN. It seems it is not UTF-8... If I add new JS files it start working perfectly. How can i regenerate TOKEN? Any help appreciated.

Already tired:

- Cache clear

- changing from PHP 7.0 to 7.1

- turning off "increased security mode" in Preferences / General

- delete /var/cache

Share this post


Link to post
Share on other sites

What do you mean by strange token? Getting the "unexpected token..." error after editing any files? If so, change your editor, try a simple text file.

  • Like 1

Share this post


Link to post
Share on other sites
5 minutes ago, NemoPS said:

What do you mean by strange token? Getting the "unexpected token..." error after editing any files? If so, change your editor, try a simple text file.

image.png.eb6c59d70a310a6ef531ba056a99eef6.png

image.png.9700879b2575a0bf6e68362b1f5a9659.png

Second screenshoot of /*! jQuery UI - v1.10.3. If I add brand new jquery and another files it's starting working. But there is few problems. First too much to change and why in first place it happen?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More