我在Ubuntu 12.04上安装了6.5.10版。
安装后我登录时我的主页是空白的(没有破折号 - 只允许模块的快捷方式)我可以进入每个模块,除了报告模块,它打开了我完全空白的页面?
可能是什么问题以及如何解决?
谢谢
这是来自错误日志
[Thu Mar 07 16:20:00 2013] [error] [client 192.168.0.122] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 516171 bytes) in /var/www/crmpro/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crmpro/index.php?module=Calendar&action=index
[Thu Mar 07 17:08:19 2013] [error] [client 192.168.0.122] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 516171 bytes) in /var/www/crmpro/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crmpro/index.php?module=Calendar&action=index
[Thu Mar 07 21:40:29 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 594552 bytes) in /var/www/crm/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crm/index.php?action=Login&module=Users&login_module=Home&login_action=index
[Thu Mar 07 21:40:39 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 600349 bytes) in /var/www/crm/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crm/index.php?action=Login&module=Users&login_module=Home&login_action=index
[Thu Mar 07 21:41:02 2013] [error] [client 192.168.254.26] PHP Warning: session_destroy(): Trying to destroy uninitialized session in /var/www/crm/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 350, referer: http://192.168.0.202/crm/index.php?module=Home&action=index
[Thu Mar 07 21:41:22 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 574099 bytes) in /var/www/crm/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crm/index.php?module=Users&action=Login&login_language=en_UK
[Thu Mar 07 21:41:46 2013] [error] [client 192.168.254.26] PHP Warning: session_destroy(): Trying to destroy uninitialized session in /var/www/crm/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 350, referer: http://192.168.0.202/crm/index.php?module=Home&action=index
[Thu Mar 07 21:42:12 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 578184 bytes) in /var/www/crm/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crm/index.php?module=Users&action=Login&login_language=sr_RS
[Thu Mar 07 21:42:45 2013] [error] [client 192.168.254.26] PHP Warning: session_destroy(): Trying to destroy uninitialized session in /var/www/crm/modules/Users/authentication/SugarAuthenticate/SugarAuthenticate.php on line 350, referer: http://192.168.0.202/crm/index.php?module=Home&action=index
[Thu Mar 07 21:44:45 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 596391 bytes) in /var/www/crm/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crm/index.php?module=Users&action=Login
[Fri Mar 08 00:01:48 2013] [notice] caught SIGTERM, shutting down
[Fri Mar 08 00:01:49 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.5 with Suhosin-Patch configured -- resuming normal operations
[Fri Mar 08 00:04:04 2013] [notice] caught SIGTERM, shutting down
[Fri Mar 08 00:04:05 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.5 with Suhosin-Patch configured -- resuming normal operations
[Fri Mar 08 00:04:37 2013] [notice] caught SIGTERM, shutting down
[Fri Mar 08 00:04:56 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.5 with Suhosin-Patch configured -- resuming normal operations
[Fri Mar 08 00:05:13 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 596370 bytes) in /var/www/crm/include/nusoap/nusoap.php on line 8488
[Fri Mar 08 00:05:39 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 414782 bytes) in /var/www/crm/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crm/
[Fri Mar 08 00:05:47 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 412645 bytes) in /var/www/crm/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crm/
[Fri Mar 08 00:05:47 2013] [error] [client 192.168.254.26] File does not exist: /var/www/favicon.ico
[Fri Mar 08 00:06:22 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 604665 bytes) in /var/www/crm/include/nusoap/nusoap.php on line 8488
[Fri Mar 08 00:10:22 2013] [error] [client 192.168.254.26] PHP Fatal error: Allowed memory size of 136314880 bytes exhausted (tried to allocate 695686 bytes) in /var/www/crmpro/include/nusoap/nusoap.php on line 8488, referer: http://192.168.0.202/crmpro/index.php?action=Login&module=Users&login_module=Home&login_action=index
这是来自/ proc / meminfo内存信息
root@crmdemo:/var/log/apache2# cat /proc/meminfo
MemTotal: 1019080 kB
MemFree: 477272 kB
Buffers: 7752 kB
Cached: 91496 kB
SwapCached: 29236 kB
Active: 137384 kB
Inactive: 254092 kB
Active(anon): 97864 kB
Inactive(anon): 196360 kB
Active(file): 39520 kB
Inactive(file): 57732 kB
Unevictable: 0 kB
Mlocked: 0 kB
答案 0 :(得分:2)
根据您发布的日志,看起来PHP内存限制就是问题。
SugarCRM非常需要内存,因此需要增加大多数服务器上的默认PHP内存限制。通常需要128 MB或更高(我在安装时使用256)。
您可以通过编辑SugarCRM安装根目录中的php.ini
文件,或编辑php.ini
中的默认服务器/etc/php5/apache2/
文件来增加默认的PHP内存限制。