Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

Problem with minify

Don't sure that problem with the CMS rather server but maybe some one saw the same:
after opening error in errors admin page get new error
File: Minify.inc
Page: /administration/errors.php?aid=(--removed--)&rowstart=0&error_id=394
Line: 409
Error message: is_file(): open_basedir restriction in effect. File(new ClipboardJS(".copy-error");

 placeholder: '...',
 minimumResultsForSearch: 5,
 $('a<br/>#footer_debug').bind('click', function(e) {
 jQuery('html, body').animate({scrollTop:0}, 'slow');
 return false;

(--removed middle--)

is not within the allowed path(s): (--actual paths removed, but they are valid--)
As I understand variable $path at line 409 get value that is not some actual file path but some js code. Is it right?
As RobiNNN suggested, the function shouldn't be used and must be skipped. If you uncomment L409, the function always will return FALSE or do not return anything. Therefore $data is always $data.

When $data == $data, and shall always remain as a compiled bunch of JS code, not some readable file, therefore skipping $this->load($data) (which also will suggest a lot of speed improvements by avoiding loading it), which could be avoided in our use case. We don't use it to parse any base64 code in any case. It's just to compress codes so view-source could be better organized and clean on first parse, and op_cache speed it up x100 times on subsequent load.

Hope that answers your question earlier. I'm merely responding to the nature of $data variable only. As to whether how to solve the Minify problem, see if @RobiNNN's answer do solve your issue.
Thread Information
4 posts
374 times
Last Post
Last updated on 8 months ago
Related Threads
You can view all discussion threads in this forum.
You cannot set up a bounty in this discussion thread.
You can start a new discussion thread in this forum.
You cannot reply in this discussion thread.
You cannot start on a poll in this forum.
You cannot upload attachments in this forum.
You can download attachments in this forum.
You cannot up or down-vote on the post in this discussion thread.
Users who participated in discussion: Chan, RobiNN, dialektika