0

我在 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
4

1 回答 1

2

鉴于您发布的日志,看起来 PHP 内存限制是问题所在。

SugarCRM 非常需要内存,因此需要在大多数服务器上增加默认的 PHP 内存限制。通常需要 128 MB 或更高(我在我的安装中使用 256)。

您可以通过php.ini在 SugarCRM 安装的根目录中编辑文件,或php.ini/etc/php5/apache2/.

于 2013-03-08T00:12:19.213 回答