dqbhdsec59405 2018-02-05 15:15
浏览 52
已采纳

vTiger CRM 6:本地设置适用于/ var / www但不适用于不同的分区。 为什么?

I have first got cloneed vtiger at different partition which is mounted at /data/and checked out to 6.5.0

Installed php5.6 and necessary plugins(don't suggest installing php7.x I cannot) from ondrej launchpad.

Created a VHost in apache2/site-enabled/crm.conf

<VirtualHost *:80>
    ServerName "vtiger-local.host.com"
    DocumentRoot "/data/CRM/"
<Directory "/data/CRM/">
   Options Indexes FollowSymLinks Includes ExecCGI MultiViews
   AllowOverride None
   Require all granted
</Directory>
</VirtualHost>

Edited /etc/hosts file

127.0.0.1 vtiger-local.host.com

After that I did a chmod -R 777 but It is throwing

Call to a member function Execute() on null in /data/CRM/vtigercrm/include/database/PearDatabase.php

But same exact configuration is running smoothly when I git clone at /var/www

Anything I am missing?

P.S Edited $root_directory as well as $site_URL Forgot to add with the original question.

  • 写回答

3条回答 默认 最新

  • dqwmhrxt68679 2019-06-17 14:46
    关注

    Just copied the folder and changed the root path and it started working.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 2024-五一综合模拟赛
  • ¥15 如何将下列的“无限压缩存储器”设计出来
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口