View Full Version : With our Apache configuration, the samples initialize freeze

3 Oct 2011, 7:15 AM
Today we are installed the ExtJS 4 from SVN. After a basic configuration of our apache server to the ExtJS 4 root document. We run firefox to this index.html on this root. If we click on "View the examples" button, the browser displays a new html page with "Ext JS 4.0 - sencha.com (http://www.sencha.com/) Initializing..." and the system freeze or keep quiet indefinitely. See the following snapshots.

On the Firebug console, we see this error :

"NetworkError: 404 Not Found - http://extjs/ext-all-debug.js" ext-all-debug.jsdetailed error: Ext is not defined
chrome://firebug/content/blank.gifExt.define('Ext.App', { App.js (ligne 6)

Ext is not defined
chrome://firebug/content/blank.gifExt.onReady(function(){ site.js (ligne 1)

Ext is not defined

chrome://firebug/content/blank.gifExt.ns('Ext.samples'); data.js (ligne 1)

Ext is not defined
error source line: chrome://firebug/content/blank.gifExt.ns('Ext.samples');

In all the ExtJs svn directory, the ext-all-debug.js does not exist. What is the problem ?


Apache configuration :

ServerAdmin webmaster@localhost

ServerName extjs
ServerAlias extjs.mydomain.fr

DocumentRoot "/var/www/extjs"
DirectoryIndex index.html

ErrorLog /var/log/httpd/errorJs_log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/httpd/accessJs_log combined

DeflateMemLevel 9
DeflateWindowSize 15
DeflateFilterNote ratio

LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate
CustomLog /var/log/httpd/deflate.log deflate

<directory "/var/www/extjs">
AddOutputFilterByType DEFLATE text/html
AllowOverride All
Allow from All


3 Oct 2011, 8:49 AM
After the svn checkout from http://svn.sencha.com/svn/sdk/branches/ext-4.0.x the extjs directory does not content "ext-all-debug.js" and "shared/extjs/App.js" have a bug at line 51 and change

"this.msgCt = Ext.DomHelper.insertFirst(document.body, {id:'msg-div'}, true);"
"this.msgCt = Ext.core.DomHelper.insertFirst(document.body, {id:'msg-div'}, true);"