SugarCRM CE 部署除错
部署环境
Centos 6.5
Xampp php/6.5 Apache/2.4.26
SugarCE V6.5.9 Build 8653
GAP 1
安装完毕后报错
Creating default Sugar data
Creating default users...
Notice: crypt(): No salt parameter was specified. You must use a randomly generated salt and a strong hash function to produce a secure hash. in /home/wwwroot/SugarCE/modules/Users/User.php on line 711
解决方案:
在/home/wwwroot/SugarCE/modules/Users/User.php第711行,新增红色字段
public static function getPasswordHash($password){if(!defined('CRYPT_MD5') || !constant('CRYPT_MD5')) {// does not support MD5 crypt - leave as isif(defined('CRYPT_EXT_DES') && constant('CRYPT_EXT_DES')) {return crypt(strtolower(md5($password),'$6$rounds=5000$usesomesillystringforsalt$'),"_.012".substr(str_shuffle('./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'), -4));}// plain crypt cuts password to 8 chars, which is not enough// fall back to old md5return strtolower(md5($password));}return crypt(strtolower(md5($password)),'$6$rounds=5000$usesomesillystringforsalt$'); }
GAP 2
安装完毕后报500错误
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@admin.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
解决方案
在httpd-xampp.conf中,将SugarCRM对应的虚拟目录配置中的
AllowOverride AuthConfig Limit
更改为
AllowOverride all
转载于:https://www.cnblogs.com/bionexit/p/7765941.html
SugarCRM CE 部署除错相关推荐
- nutanix部署文件服务器,Nutanix CE部署手册资料新.docx
Nutanix Nutanix PAGE 31 | PAGE 31? REF _Ref313629135 Hadoop on Nutanix | PAGE 31? Nutanix CE 安装使用手册2 ...
- SugarCRM 插件介绍
[转自 陈沙克日志:http://hi.baidu.com/chenshake/item/5d76203fe6a598fede22219d] 经常有朋友问关于sugar的插件,我这里就整理一下,不过其 ...
- 云网融合助力大型企业网络底座布局
[作者介绍] 支敏慧:中国移动云能力中心技术咨询委员会委员,云网管理产品部产品规划组组长.目前负责云网产品体系规划和商用推进工作,深入研究云网融合关键技术,对5G.SDN/NFV和云网一体化智能调度有 ...
- Ubuntu 17.04 x64 安装 Docker CE 初窥 Dockerfile 部署 Nginx
Docker 是个划时代的开源项目,它彻底释放了计算虚拟化的威力,极大提高了应用的运行效率,降低了云计算资源供应的成本!使用 Docker,可以让应用的部署.测试和分发都变得前所未有的高效和轻松! 无 ...
- 开发Windows Mobile和Wince(Windows Embedded CE)的部署项目(Deploy Project)时,如何修改注册表...
由于fele问我一个问题:在进行Windows Mobile部署项目的开发,也就是打安装包,如何修改注册表?我把自己的经验blog下来. 1.打开Deploy项目的注册表编辑器,如下图 2.根据需求修 ...
- Ubuntu 17.04 x64 安装 Docker CE 初窥 Dockerfile 部署 Ngi
Docker 是个划时代的开源项目,它彻底释放了计算虚拟化的威力,极大提高了应用的运行效率,降低了云计算资源供应的成本!使用 Docker,可以让应用的部署.测试和分发都变得前所未有的高效和轻松! 无 ...
- wince程序转Linux,Qt在程序WinCE5.0下部署时“XXX不是有效的Windows CE应用程序”
文章参看这里.这个一般是由于我们编译的Qt使用了WinCE CoreDll.dll中不存在的API导致的 我们需要使用一个工具qtverify.zip 具体下载目录在 /2012年资料/8月/14日/ ...
- gitlab ce 7部署问题小结
git服务部署在CentOS7和gitlab-ce 7.10.0-omnibus.2 超级管理员密码遗忘 [root@ycx bin]# gitlab-rails console production ...
- Centos7下部署本地的gitlab(CE版本)
1)操作步骤(基本参照官方文档https://about.gitlab.com/downloads/#centos7) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 ...
最新文章
- python电脑发音-Python如何实现文本转语音
- Linux 常见的六大 IPC 通信方式
- shell之字体颜色显示
- Hadoop详解(十一):Yarn设计理念与基本架构
- 原生php实现账单功能
- node process
- 设计模式 里氏替换原则
- 阿里年薪80w数据总监分享:一张图了解数据分析完整流程
- Spring系列(一):Spring的基本概念及其核心
- HDU 3594 Cactus (强连通+仙人掌图)
- Python自动化运维之21、CSS
- 软件功能测试点---总结大全
- 光环PMP 二模错题知识点
- 完整的Java软件开发学习路线
- 华硕e202s安装linux系统,华硕笔记本E202S原装win10系统可以改win7吗?
- java线段的平移和旋转,几何变换(旋转、缩放、平移)
- vc++指定区域截屏
- python写后端提供api_python写后端api
- 单片机毕业设计 stm32火灾报警系统
- 文档中如何插入计算机剪贴画,在Word 2007文档中插入剪贴画 -电脑资料