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


Print Track
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");

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

(--removed middle--)
 $('ul<br/>#app_search_result').html(result).show();
 }
 });
 });
 )

is not within the allowed path(s): (--actual paths removed, but they are valid--)

3 replies

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.
author dialektika
forumSystem Administration - 9
replies4 posts
viewed258 times
activeLast updated on 4 months ago

Related

Problem with (IMG) (/IMG)
Started by
C
conans2 - 6 posts
Upload problem - cant upload anything
Started by
P
peto - 2 posts
"contact me" problem
Started by
N
neophytos - 1 post
Problem with "new flag"
Started by
B
Bene - 1 post
Register Problem! users can register
Started by
U
uncast - 5 posts
Problem: Forum panel level vs other panel level
Started by
S
schlumpf - 5 posts

Hot Questions

daimonbok1
Database Backup Failure
daimonbok1 - 15 posts
daimonbok1
Missing link on Content Admin Menu
daimonbok1 - 9 posts
jjwichter
Septenary Theme error
jjwichter - 8 posts
Wanabo
Send mail via contact
Wanabo - 4 posts
ikandi
djdandi
You can view all discussion threads in this forum.
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.
Users who participated in discussion: Chan, RobiNN, dialektika