Anonymous | Login | Signup for a new account | 2024-04-18 21:28 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Relationship Graph | [ View Issue ] [ Dependency Graph ] | |||
|
||||
|
Viewing Issue Simple Details | |||||
ID | Category | Type | Reproducibility | Date Submitted | Last Update |
0000943 | [In-Portal CMS] Other | bug report | always | 2010-12-01 15:37 | 2011-03-30 09:53 |
Reporter | Dmitry | View Status | public | ||
Assigned To | alex | ||||
Priority | normal | Resolution | fixed | ||
Status | closed | ||||
Summary | 0000943: Minor Issue with generating JS/CSS compressed files | ||||
Description |
There is an issue on some hosting server with generating JS/CSS compressed files. This issue is related to recent improvement which adds ability to use JAVA Class to do a better compression. The following code haven't full worked as expected on examined hosting server: [code] $command = 'java -jar ' . dirname(__FILE__) . DIRECTORY_SEPARATOR . 'yuicompressor-2.4.2.jar --type ' . $extension . ' --charset utf-8 ' . $tmp_file; $compressed_string = shell_exec($command); unlink($tmp_file); if (!is_null($compressed_string)) { $string = $compressed_string; return ; } [/code] The solution is to add check if $compressed_string has any length. |
||||
Additional Information |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |