Jump to content

[Problem Front Office PS 1.4.9] with Javascript compression


Recommended Posts

Hi all!

 

I write here to report a failure in my front office after updating to PS 1.4.9.

 

Few days ago I installed PS 1.4.9 from installation cleared (not update), my previous version was PS 1.4.7.8.

 

All was working OK, and I have only installed modules in my shop. I always have enable CCC options in my back-office and everything have gone OK till yesterday!!!. Suddenly I saw that my front office was disappeared (center column and right column), I was looking for the problem and I realised that If I disable JAVASCRIPT COMPRESSION, then my front office came back working OK, and If I enable JAVASCRIPT COMPRESSION , then my front office disappear again...

 

I activate debug on, and a error messages is shown in my front-office after enabling JAVASCRIPT COMPRESSION:

 

Fatal error: Uncaught exception 'JSMinException' with message 'Unterminated string literal.' in /var/www/vhosts/liestores.com/httpdocs/tools/js_minify/jsmin.php:94 Stack trace: #0 /var/www/vhosts/liestores.com/httpdocs/tools/js_minify/jsmin.php(235): JSMin->action(1) #1 /var/www/vhosts/liestores.com/httpdocs/tools/js_minify/jsmin.php(64): JSMin->min() #2 /var/www/vhosts/liestores.com/httpdocs/classes/Tools.php(1401): JSMin::minify('jQuery(document...') #3 /var/www/vhosts/liestores.com/httpdocs/classes/Tools.php(1389): ToolsCore::packJS('jQuery(document...') #4 [internal function]: ToolsCore::packJSinHTMLpregCallback(Array) #5 /var/www/vhosts/liestores.com/httpdocs/classes/Tools.php(1372): preg_replace_callback('/\s*(<script\b[...', Array, '<script src="js...') #6 /var/www/vhosts/liestores.com/httpdocs/config/smarty.config.inc.php(186): ToolsCore::packJSinHTML('<script src="js...') #7 /var/www/vhosts/liestores.com/httpdocs/tools/smarty/sysplugins/smarty_internal_filter_handler.php(60): smartyPackJSinHTML('<script src="js.. in /var/www/vhosts/liestores.com/httpdocs/tools/js_minify/jsmin.php on line 94

 

I don't know why it is hapening in my shop...I always had enable CCC options and my shop always worked OK...I don't know what mean this error messages...

 

Please I need support to resolve this...I am thankful for any support from everybody.

 

Regards from Spain!!!

post-266486-0-29988000-1346949202_thumb.jpg

Edited by JoaquinBM (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...