Bug #6567

2.2pl2 compress_js by default

Added by Anton Romanov 4 months ago. Updated 3 months ago.

Status:Resolved Start date:01/04/2012
Priority:Minor Due date:
Assignee:Jason Coward % Done:

0%

Category:Manager Controllers
Target version:Revolution-2.2.1-pl
JiraID: Resolution:Fixed
Environment:PHP Version 5.3.5
Mysql Version 5.5.8
Affects Revolution Version:Revolution-2.2.0-pl2

Description

New installation of 2.2pl2. modx folder cache is empty, browser cache flushed.

After running the manager - blank page with modx top menu.

After manually disabled compress_js in DB, deleted cache in modx and browser - loaded fine, but still has error "b[d.xtype || e] is not a constructor" in ext-all.js file

History

Updated by Alexis Bradley-Mills 4 months ago

Similar problem.

Upgraded to 2.2 pl2 and received the warning that suhosin.max_value_length is set too low. The warning says it will automatically set compress_js to 0.

Logged into manager - the dashboard and top menu loads but no left hand menu. Navigating to any manager pages produce a blank screen.

Checking the database via phpmyadmin shows that compress_js is still 1. Setting it to 0 and clearing core/cache/system_settings resolves the issue.

Updated by Shaun McCormick 4 months ago

  • Target version set to Revolution-2.2.1-pl

Updated by Jason Coward 4 months ago

  • Category set to Manager Controllers
  • Status changed from Open to Resolved
  • Assignee set to Jason Coward
  • Resolution set to Fixed

Fixed via pull request from dvio — https://github.com/modxcms/revolution/pull/262

Updated by Zaenal Muttaqin 3 months ago

That's did not fix the issue (only disable js min), but this one:

https://github.com/modxcms/revolution/commit/4f21c50c19b2404735651e80d86116dc5ba6f439

Updated by Zaenal Muttaqin 3 months ago

It's should be

if (!empty($min_documentRoot)) {
$min_documentRoot = str_replace('\\', '/', realpath($min_documentRoot));
}

as mentioned here http://tracker.modx.com/issues/6509#note-19

Also available in: Atom PDF