laziali Posted August 4, 2014 Share Posted August 4, 2014 (edited) Hello people, i am using 1.5.3.1. on a shared server. some of my client complained about and when i check it turns out that if i enable compress inline java script some product pages are crushing in blank(no favicon loaded - just blank page with the correct url), but only for logged in customers. on my error report i get: PHP Fatal error: Uncaught exception 'JSMin_UnterminatedStringException' with message 'JSMin: Unterminated String at byte 231: ',' in /home/domain/public_html/tools/js_minify/jsmin.php:192 Stack trace: #0 /public_html/tools/js_minify/jsmin.php(143): JSMin->action(2) #1/public_html/tools/js_minify/jsmin.php(83): JSMin->min() #2 /public_html/classes/Media.php(134): JSMin::minify('$('#share-vouch...') #3 /public_html/classes/Media.php(121): MediaCore::packJS('$('#share-vouch...') #4 [internal function]: MediaCore::packJSinHTMLpregCallback(Array) #5 /public_html/classes/Media.php(104): preg_replace_callback('/\s*(<script\b[...', Array, '<a class="produ...') #6 /public_html/config/smarty.config.inc.php(148): MediaCore::packJSinHTML('<a class="produ...') #7 /public_html/tools/smarty/sysplugins/smarty_internal_filter_handler.php(60): smartyPackJSinHTML('<a class="produ...', Object(Smarty_Internal_Template)) #8 /public_ht in /public_html/tools/js_minify/jsmin.php on line 192 any ideas? Thanks in advance Edited: ok, turns out old prodlem, solution here: https://github.com/PrestaShop/PrestaShop/commit/dc5526c84c06dd2898961ea284bed625c814c7b2 Edited August 12, 2014 by laziali (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now