YetiForceCompany / YetiForceCRM

Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
https://yetiforce.com
Other
1.74k stars 749 forks source link

[Question] Problem wiht installation #13384

Closed gsportelli73 closed 4 years ago

gsportelli73 commented 4 years ago

Oh hi there! 😄 I have problem with my yeti installation on vps and cpanel tool. My website https://crm.example.com point to /home/example.com/public_html. Into this foleder i have uploaded yeti soruce latest version. Now i have configured server request.nd the .htaccccess file with the apache directive that it requests. CRM doesn't recognize htaccess on. I have tried with assistance of my vps and they say that htaccess it is enabled. How do i resolve ? Thank you for attenion. https://ibb.co/3mk2z8L

mariuszkrzaczkowski commented 4 years ago

github

gsportelli73 commented 4 years ago

OK i have installed yeticrm 5.3 on my vps centos with cpanel. Now i have configured all option in Apache, PHP, ecc. My big problem it is that crm report that .htaccess it is off. It is on for me, i don't have nothing in the logs of apache.

<------------------------------> The screen shows yeti configuration ![Uploading ConfReport.png…](

I have actived debug mode in yeti file error_log is located in root of crm not in cache/logs I have in this folder system.log, update.log, cron.log, error_l I attach error_log e system.log system.log error_log.log

My system config Apache 2.4, php 7.3, mysql 5.7, php-fpm active. System OS Centos 7 with Cpanel Docroot of yeti /home/officeadok/public_html/public_html Browser Edge, Chrome any version.

gsportelli73 commented 4 years ago

Hi, the image screenshoot ConfReport

mariuszkrzaczkowski commented 4 years ago

you have a lot of misconfiguration you need to correct all of them. start with setting the same php version for Cli as www

gsportelli73 commented 4 years ago

Hi, now i have solved problem with php version. I'm editing php.ini to reach same configuration to php.ini in both cases cron e apache. I have problem too with .htaccess. My site point to /home/domain/public-html/public_html and in this foleder i have .htaccess active. Yryi doesn't discover it. I'm sure that .htaccess is activated because i have tried to enter a mistake value in it. Apache adiveses that there is an error in htaccess, and so i think that .htaccess has enaned. I attach screenschoot of configuration reports thank you. yeti_config_18_08_2020)

gsportelli73 commented 4 years ago

Hi, i have an other questio. If my .htaccess of crm it has updated with php directive, can yeti display an error on the .htaccess ? I think that yeti doesn't knows the .htaccess when i update it with other lines. Thank you.

gsportelli73 commented 4 years ago

Hello again. I.m problem too with Yetiforce and .htaccess dicovery. I'm sure that .htaccess it is active, because i have added in file RewriteCond to change document root. My vps doesn't use DSO apache module to handle php. I have a warning in Yeti on disable funcion too, i have setted it in .user.ini of php configuration file in correct mode. How do i solve ? I a5tach screenshoot of yeti

However i have had another problem with cron.php

----- Log php Extract /home/officeadok/public_html/app_data/cron.php on line 33 [26-Aug-2020 08:30:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected ',', expecting end of file in /home/officeadok/public_html/app_data/cron.php on line 33 [26-Aug-2020 08:35:01 Europe/Amsterdam] PHP Parse error: syntax error, unexpected ',', expecting end of file in /home/officeadok/public_html/app_data/cron.php on line 33 [26-Aug-2020 08:40:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected ',', expecting end of file in /home/officeadok/public_html/app_data/cron.php on line 33 --- End of Extract. I have deleted the file. I attach screen shot of mycron latest_config

mycrontab
bpabiszczak commented 4 years ago

The developer must check this.

gsportelli73 commented 4 years ago

Hello again, i have seen that my problem with this installation it is cron too. Infact i have a new php error when i try to open configuration menu on backend.

bug_cron

This is a extract of error log in yeti root


[28-Aug-2020 21:45:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 21:45:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 21:50:01 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 21:50:01 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 21:50:01 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 21:55:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 21:55:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 21:55:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 22:00:01 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 22:00:01 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 22:00:01 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 22:05:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 22:05:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36 [28-Aug-2020 22:05:02 Europe/Amsterdam] PHP Parse error: syntax error, unexpected '=>' (T_DOUBLE_ARROW) in /home/officeadok/public_html/app_data/cron.php on line 36

The file cron.php in app_data is created by the crm. It is contain syntax error in php. I can resolve the problem deleting it, but at new cron script the problem it again here.. Thank

rskrzypczak commented 4 years ago

This should fix the problem: https://github.com/YetiForceCompany/YetiForceCRM/commit/b14961d1e19d6b1c10a61777bc288fcd93c21b4c https://github.com/YetiForceCompany/YetiForceCRM/issues/13005 https://github.com/YetiForceCompany/YetiForceCRM/issues/13251 https://github.com/YetiForceCompany/YetiForceCRM/issues/13190