Sugar's pages on my dev machine are completely unreadable. I suspect this was caused by a software upgrade.
I've attached a screenshot of what I see in Firefox or IE if I visit 'http://sugarcrm.dev/index.php'. Visits to 'http://sugarcrm.dev/install.php' correctly display the 'installer locked page' so the Apache vhost is still generally able to serve pages.
Using Fiddler (debugging proxy) I see the HTTP request/response looks like:
Request:
Code:
GET /index.php?action=Login&module=Users&login_module=Home&login_action=index HTTP/1.1
Accept: */*
Accept-Language: en-gb
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022)
Host: sugarcrm.dev
Connection: Keep-Alive
Pragma: no-cache
Cookie: PHPSESSID=3ca30c3007fe537c43e2593c018022d4
Response:
Code:
HTTP/1.1 200 OK
Date: Mon, 19 Oct 2009 09:54:02 GMT
Server: Apache/2.2.14 (Debian)
X-Powered-By: PHP/5.2.11-1
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding
Keep-Alive: timeout=15, max=98
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
Content-Length: 4716
�
If I use the hex view I see complete binary jibberish (the fourth character is a null which, I think is why only 3 characters of the response show above).
Initially I was using some version of 5.2.0. I used 'silentUpgrade.php' (since I couldn't log in) to upgrade to 5.2.0.j with no change.
Can anybody shed some light on this? I'm at my wits end.
Thanks.
Ian
-------------------------------------------------
Probably superfluous information follows:
/etc/apache2/modules-enabled:
Code:
actions.load auth_basic.load authz_default.load autoindex.conf dav_svn.conf dir.conf info.load negotiation.conf php5.load status.conf
alias.conf auth_digest.load authz_groupfile.load autoindex.load dav_svn.load dir.load ldap.load negotiation.load rewrite.load status.load
alias.load authn_file.load authz_host.load cgi.load deflate.conf env.load mime.conf perl.load setenvif.conf
apreq.load authnz_ldap.load authz_user.load dav.load deflate.load info.conf mime.load php5.conf setenvif.load
/etc/apache2/sites-available/sugarcrm
Code:
<VirtualHost *>
ServerAdmin it@x
ServerName sugarcrm.dev.x
ServerAlias sugarcrm.dev
DocumentRoot /var/www/sugarcrm
<Directory /var/www/sugarcrm>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
<Files ~ "\.inc$">
Order allow,deny
Deny from all
</Files>
<Location />
Order allow,deny
Allow from 10.4.1.26/32
Allow from 10.4.4.0/24
Allow from 127.0.0.1/32
Satisfy Any
</Location>
</VirtualHost> All software is Debian-packaged apart from Sugar
dpkg --get-selections |egrep 'apache|php'
Code:
apache-common install
apache2 install
apache2-doc install
apache2-mpm-prefork install
apache2-threaded-dev install
apache2-utils install
apache2.2-bin install
apache2.2-common install
libapache2-mod-apreq2 install
libapache2-mod-perl2 install
libapache2-mod-perl2-dev install
libapache2-mod-perl2-doc install
libapache2-mod-php5 install
libapache2-reload-perl install
libapache2-request-perl install
libapache2-svn install
libphp-adodb install
libphp-simplepie install
php-elisp install
php-geshi install
php5 install
php5-cli install
php5-common install
php5-curl install
php5-idn install
php5-imap install
php5-ldap install
php5-mysql install
php5-suhosin install
php5-sybase install
phpldapadmin install
Versions:
- libapache2-mod-php5 5.2.11.dfsg.1-1
- php5 5.2.11.dfsg.1-1
- apache2 2.2.14-1
- apache2-mpm-prefork 2.2.14-1
Bookmarks