Hi there,
I am running into a major problem. I have putting some files online after testing it on a test-domain. I made a copy of the online version and a copy of the test-domain version. After putting some of the test-domain files onto the online version, the webshop seemed to be missing the layout or css. In the backend I set the shop on closed. Then I set the "Rebuild cache automaticly" to On. Then under Administration I clicked on "Empty cache". After that I couldn't get into the backend anymore. In my log I see this error:
Got error 'PHP message: PHP Fatal error: Uncaught exception 'RuntimeException' with message 'Unclosed string at position: 93173' in /var/www/vhosts/nr1print.nl/httpdocs/app/lib/vendor/tedivm/jshrink/src/JShrink/Minifier.php:476\nStack trace:\n#0 /var/www/vhosts/nr1print.nl/httpdocs/app/lib/vendor/tedivm/jshrink/src/JShrink/Minifier.php(231): JShrink\\Minifier->saveString()\n#1 /var/www/vhosts/nr1print.nl/httpdocs/app/lib/vendor/tedivm/jshrink/src/JShrink/Minifier.php(144): JShrink\\Minifier->loop()\n#2 /var/www/vhosts/nr1print.nl/httpdocs/app/lib/vendor/tedivm/jshrink/src/JShrink/Minifier.php(110): JShrink\\Minifier->minifyDirectToOutput('/*\\nATTENTION! P...', Array)\n#3 /var/www/vhosts/nr1print.nl/httpdocs/app/functions/smarty_plugins/block.scripts.php(70): JShrink\\Minifier::minify('/*\\nATTENTION! P...', Array)
Then I put the copy of the onlineversion back in his total. Then I deleted the var/cache file. But the backend is still unavailable and the frontend still without the proper layout.
I have absolutly no idea how to set it all back to normal. Please help!!!
EDIT
/app/lib/vendor/tedivm/jshrink/src/JShrink/Minifier.php) seems to be conflicting. When I remove this file, the backend is available again. But then the frontend runs into an error of that file missing. Obviously. But how to fix this conflict? And why did it happen (after the shop running already for 2 years)?