I re-applied the permissions as layed out in the wiki.
To be exact, I did the following (according to the wiki page) to make sure permissions are set properly:
Code:
cd /var/www/sugarcrm
chmod 664 config.php config_override.php sugarcrm.log
chmod -R 775 cache custom data modules
- All other files are 644 and all other directories 755.
- All files in the sugarcrm root are owned by the webserver user (www-data in Debian).
The following error message ocured in the sugarcrm.log when I repeated the attempt to disable/enable a module:
Code:
Mon Jul 12 15:21:33 2010 [16345][1][FATAL] HTTP Error: no data present after HTTP headers
Mon Jul 12 15:21:33 2010 [16345][1][FATAL] HTTP/1.0 500 Internal Server Error
Date: Mon, 12 Jul 2010 13:21:33 GMT
Server: Apache/2.2.3 (CentOS)
Set-Cookie: PHPSESSID=tree84258ppn9r736aasbslrf7; path=/
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
Content-Length: 0
Connection: close
Content-Type: text/html; charset=UTF-8
On a contextual note:
Also, when I upgraded from SugarCRM 5.5.0RC1 -> 5.5.0 -> 5.5.1 -> 5.5.4, the schema file appeared not to be found in the upgradeWizard.log:
Code:
Sat, 10 Jul 2010 15:56:53 +0200 [UpgradeWizard] - *** ERROR: Schema change script [/var/www/sugarcrm/cache/upload/upgrades/temp/CqJFxk/scripts/551_to_554_mysql.sql] could not be found!
And a little later (with more contextual logging):
Code:
Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Starting post_install()...
Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Entered post_install function.
Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Upgrading the database from 550 to version 550
Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Running SQL file /var/www/sugarcrm/cache/upload/upgrades/temp/GC7F8B/scripts/550_to_550_mysql.sql
Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - *** ERROR: Schema change script [/var/www/sugarcrm/cache/upload/upgrades/temp/GC7F8B/scripts/550_to_550_mysql.sql] could not be found!
Sat, 10 Jul 2010 15:46:24 +0200 [UpgradeWizard] - Applying .htaccess update security fix.
However, I manually applied the database updates, so this should not be an issue.
More clue's?
Bookmarks