GithubHelp home page GithubHelp logo

Comments (6)

Ande1232 avatar Ande1232 commented on June 25, 2024 1

@dead23angel It's working fine now thanks.

from smarty-combine.

dead23angel avatar dead23angel commented on June 25, 2024

Hi, @Ande1232!
Your error occurs because you have already found in the code JSMin_UnterminatedStringException class.

The easiest way to deal with this mistake is to rename JSMin_UnterminatedStringException class in C:\xampp\htdocs\beta\include\librerie\Smarty\plugins\minify\JSmin.php file
Lines 161, 203, 435
Calling for example, you can JSMin_UnterminatedString2Exception

from smarty-combine.

Ande1232 avatar Ande1232 commented on June 25, 2024

Hi @dead23angel,

I replaced everything as you suggested, unfortunately continues to give me error. The error I've only if I also want to compress css, if I remove the string for the CSS, It created the minify JS files without error.

Fatal error: Cannot redeclare class JSMin_UnterminatedString2Exception in C:\xampp\htdocs\beta\include\librerie\Smarty\plugins\minify\JSmin.php on line 435

from smarty-combine.

dead23angel avatar dead23angel commented on June 25, 2024

Hi @Ande1232!
Tell me which version you are using Smatry, so I tried to reproduce the bug

from smarty-combine.

dead23angel avatar dead23angel commented on June 25, 2024

@Ande1232 I made changes to avoid similar mistakes. Try to update the plugin.

from smarty-combine.

sergeevizh avatar sergeevizh commented on June 25, 2024

Hello.
{combine input=array('/design/default/css/bootstrap.css','/design/default/css/tip.css') output='/cache/main.css' age='30' debug=false}

When using style compression, the site stops working. A file is created in the cache folder, but with 0 weight.

Image of Yaktocat

from smarty-combine.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.