Comments (6)
@dead23angel It's working fine now thanks.
from smarty-combine.
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.
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.
Hi @Ande1232!
Tell me which version you are using Smatry, so I tried to reproduce the bug
from smarty-combine.
@Ande1232 I made changes to avoid similar mistakes. Try to update the plugin.
from smarty-combine.
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.
from smarty-combine.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smarty-combine.