Closed calvinsug closed 4 years ago
Here's my system.log when i enable LOG_TO_FILE variable in config/debug.php
2019-11-04 14:32:13.4661 [info][yii\db\Command::query] - SELECT * FROM `vtiger_tab`
2019-11-04 14:32:13.4662 [info][yii\db\Connection::open] - Opening DB connection: mysql:host=localhost;dbname=yetiforce;port=3306
2019-11-04 14:32:13.4715 [info][yii\db\Command::query] - SELECT * FROM `vtiger_currency_info`
2019-11-04 14:32:13.4746 [info][yii\db\Command::query] - SELECT * FROM `vtiger_links`
2019-11-04 14:32:13.4768 [info][yii\db\Command::query] - SELECT * FROM `vtiger_entityname`
2019-11-04 14:32:13.4806 [trace] - Start DateTimeField::__convertToUserFormat a:1:{i:0;s:9:"2019-11-4";} | dd-mm-yyyy
2019-11-04 14:32:13.4807 [trace] - End DateTimeField::__convertToUserFormat
2019-11-04 14:32:13.483 [info][yii\db\Command::query] - SELECT * FROM `u_yf_browsinghistory` WHERE `userid`=1 ORDER BY `id` DESC LIMIT 20
2019-11-04 14:32:13.4923 [trace] - Start DateTimeField::convertToUserTimeZone(today) method ...
2019-11-04 14:32:13.493 [trace] - Start DateTimeField::convertTimeZone(today, Asia/Bangkok, Asia/Bangkok)
2019-11-04 14:32:13.4932 [trace] - End DateTimeField::convertTimeZone
2019-11-04 14:32:13.4932 [trace] - End DateTimeField::convertToUserTimeZone
2019-11-04 14:32:13.4932 [trace] - Start DateTimeField::convertToUserTimeZone(yesterday) method ...
2019-11-04 14:32:13.4932 [trace] - Start DateTimeField::convertTimeZone(yesterday, Asia/Bangkok, Asia/Bangkok)
2019-11-04 14:32:13.4933 [trace] - End DateTimeField::convertTimeZone
2019-11-04 14:32:13.4933 [trace] - End DateTimeField::convertToUserTimeZone
2019-11-04 14:32:13.531 [info][yii\db\Command::query] - SELECT * FROM `vtiger_actionmapping`
2019-11-04 14:32:13.5372 [info][yii\db\Command::query] - SELECT * FROM `u_yf_dashboard_type`
2019-11-04 14:32:13.5385 [trace] - Entering Vtiger_DashBoard_Model::verifyDashboard(Home)
2019-11-04 14:32:13.5385 [trace] - getBlocksFromModule(Home, H2) method ...
2019-11-04 14:32:13.5389 [info][yii\db\Command::query] - SELECT * FROM `vtiger_module_dashboard_blocks` WHERE ((`tabid`=3) AND (`dashboard_id`=1)) AND (`authorized`='H2')
2019-11-04 14:32:13.5397 [trace] - Exiting Vtiger_DashBoard_Model::verifyDashboard
2019-11-04 14:32:13.54 [info][yii\db\Command::query] - SELECT `vtiger_links`.*, `mdw`.`userid`, `mdw`.`data`, `mdw`.`active`, `mdw`.`title`, `mdw`.`size`, `mdw`.`filterid`, `mdw`.`id` AS `widgetid`, `mdw`.`position`, `vtiger_links`.`linkid` AS `id`, `mdw`.`limit`, `mdw`.`cache`, `mdw`.`owners`, `mdw`.`isdefault` FROM `vtiger_links` LEFT JOIN `vtiger_module_dashboard_widgets` `mdw` ON vtiger_links.linkid = mdw.linkid WHERE (`mdw`.`userid`=1) AND (`vtiger_links`.`linktype`='DASHBOARDWIDGET') AND (`mdw`.`module`=3) AND (`active`=0) AND (`mdw`.`dashboardid`=1)
2019-11-04 14:32:13.5411 [info][yii\db\Command::query] - SELECT `vtiger_module_dashboard_widgets`.`module`, `vtiger_module_dashboard_blocks`.`tabid` FROM `vtiger_module_dashboard` LEFT JOIN `vtiger_module_dashboard_blocks` ON vtiger_module_dashboard_blocks.id = vtiger_module_dashboard.blockid LEFT JOIN `vtiger_module_dashboard_widgets` ON vtiger_module_dashboard_widgets.templateid = vtiger_module_dashboard.id WHERE ((`userid`=1) AND (`vtiger_module_dashboard_widgets`.`dashboardid`=1)) OR (`authorized`='H2') GROUP BY `module`, `tabid`
2019-11-04 14:32:13.5566 [trace] - Entering getColumnFields(Announcements) method ...
2019-11-04 14:32:13.5567 [info][yii\db\Command::query] - SELECT * FROM `vtiger_field` WHERE `tabid`=83
2019-11-04 14:32:13.5578 [trace] - Exiting getColumnFields method ...
2019-11-04 14:32:13.5607 [info][yii\db\Command::query] - SELECT `vtiger_field`.* FROM `vtiger_field` LEFT JOIN `vtiger_blocks` ON vtiger_field.block = vtiger_blocks.blockid WHERE `vtiger_field`.`tabid`=83 ORDER BY `vtiger_blocks`.`sequence`, `vtiger_field`.`sequence`
2019-11-04 14:32:13.5645 [info][yii\db\Command::query] - SELECT * FROM `vtiger_blocks` WHERE `blockid`=258 LIMIT 1
2019-11-04 14:32:13.5657 [info][yii\db\Command::query] - SELECT * FROM `vtiger_blocks` WHERE `blockid`=259 LIMIT 1
2019-11-04 14:32:13.5664 [info][yii\db\Command::query] - SELECT * FROM `vtiger_blocks` WHERE `blockid`=260 LIMIT 1
2019-11-04 14:32:13.5681 [info][yii\db\Command::query] - SELECT * FROM `vtiger_ws_fieldtype`
2019-11-04 14:32:13.5736 [info][yii\db\Command::query] - SELECT * FROM `vtiger_role` WHERE `roleid`='H2' LIMIT 1
2019-11-04 14:32:13.5746 [info][yii\db\Command::query] - SELECT `u_yf_announcement`.`announcementid` AS `id`, `u_yf_announcement`.`subject` AS `subject`, `vtiger_crmentity`.`description` AS `description`, `vtiger_crmentity`.`smownerid` AS `assigned_user_id`, `vtiger_crmentity`.`createdtime` AS `createdtime`, `u_yf_announcement`.`is_mandatory` AS `is_mandatory` FROM `u_yf_announcement` INNER JOIN `vtiger_crmentity` ON u_yf_announcement.announcementid = vtiger_crmentity.crmid WHERE (`vtiger_crmentity`.`deleted`=0) AND (`announcementstatus`='PLL_PUBLISHED')
2019-11-04 14:32:13.5949 [info] - Cannot translate this: 'LBL_MENU' for module '_Base', lang: en-US
2019-11-04 14:32:13.5971 [error] - Class '\App\YetiForce\Shop\Product\._YetiForceInstallInCloud' not found
Error: Class '\App\YetiForce\Shop\Product\._YetiForceInstallInCloud' not found in /opt/lampp/htdocs/yetiforce/app/YetiForce/Shop.php:80
Stack trace:
#0 /opt/lampp/htdocs/yetiforce/app/YetiForce/Shop.php(51): App\YetiForce\Shop::getProduct('._YetiForceInst...', '')
#1 /opt/lampp/htdocs/yetiforce/app/YetiForce/Shop.php(195): App\YetiForce\Shop::getProducts()
#2 /opt/lampp/htdocs/yetiforce/cache/templates_c/basic/42eea00e99249924612b5a1c0b9d0248cb1aaa7b_0.file.BodyHeader.tpl.php(83): App\YetiForce\Shop::verify()
#3 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5dbd0bde1659d0_09558361(Object(Smarty_Internal_Template))
#4 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#5 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#6 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#7 /opt/lampp/htdocs/yetiforce/cache/templates_c/basic/96a2034de6c41f2a3908401724d075149e9d631e_0.file.Body.tpl.php(31): Smarty_Internal_Template->_subTemplateRender('modules/Vtiger/...', NULL, NULL, 0, 3600, Array, 0, true)
#8 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5dbd0bdde5dff3_17118965(Object(Smarty_Internal_Template))
#9 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#10 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#11 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#12 /opt/lampp/htdocs/yetiforce/cache/templates_c/basic/fb774aef49747c7b6af2adaddf5c8609a943a367_0.file.Header.tpl.php(79): Smarty_Internal_Template->_subTemplateRender('modules/Vtiger/...', NULL, NULL, 0, 3600, Array, 0, true)
#13 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5dbd0bdde37d23_59471416(Object(Smarty_Internal_Template))
#14 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#15 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#16 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()
#17 /opt/lampp/htdocs/yetiforce/cache/templates_c/basic/2e39a44baa6f33c759aa5fc707901fbac613e687_0.file.DashBoardPreProcess.tpl.php(24): Smarty_Internal_Template->_subTemplateRender('modules/Vtiger/...', NULL, NULL, 0, 3600, Array, 0, true)
#18 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5dbd0bdddfcce8_12247956(Object(Smarty_Internal_Template))
#19 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))
#20 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))
#21 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 1)
#22 /opt/lampp/htdocs/yetiforce/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(134): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 1)
#23 /opt/lampp/htdocs/yetiforce/include/runtime/Viewer.php(206): Smarty_Internal_TemplateBase->display('modules/Home/da...')
#24 /opt/lampp/htdocs/yetiforce/app/Controller/View.php(180): Vtiger_Viewer->view('dashboards/Dash...', 'Home')
#25 /opt/lampp/htdocs/yetiforce/modules/Home/views/DashBoard.php(23): App\Controller\View->preProcessDisplay(Object(App\Request))
#26 /opt/lampp/htdocs/yetiforce/include/main/WebUI.php(261): Home_DashBoard_View->preProcess(Object(App\Request))
#27 /opt/lampp/htdocs/yetiforce/include/main/WebUI.php(181): Vtiger_WebUI->triggerPreProcess(Object(Home_DashBoard_View), Object(App\Request))
#28 /opt/lampp/htdocs/yetiforce/index.php(24): Vtiger_WebUI->process(Object(App\Request))
#29 {main}
2019-11-04 14:32:13.3613 [info][application] -
$_GET = []
$_POST = []
$_FILES = []
$_COOKIE = [
'csrftoken' => 'XGK6VuE40xtIi4rvJeeeMYwQI4IkF3PZ7Yrs3kF4rOgX2AKWNIpAG6NalJpnFIIm'
'YTSID' => 'd219cc4886522a0383d186120f0ba99d'
]
$_SESSION = [
'installation_success' => true
'last_activity' => 1572852733.4133
'config_file_info' => [
'db_server' => 'localhost'
'db_port' => '3306'
'db_username' => 'root'
'db_password' => ''
'db_name' => 'yetiforce'
'db_type' => 'mysql'
'default_timezone' => 'Asia/Bangkok'
'site_URL' => 'http://localhost:8080/yetiforce/'
'user_name' => 'admin22130'
'password' => '*********'
'retype_password' => '**********'
'firstname' => 'Yeti'
'lastname' => 'Administrator'
'admin_email' => 'calvin@adamar.com'
'dateformat' => 'dd-mm-yyyy'
'currency_code' => 'IDR'
'currency_symbol' => 'Rp'
'currency_name' => 'Indonesia, Rupiahs'
'authentication_key' => 'c4e37c3ca174286d15f050d1515c442d64d86a9d'
]
'UserAuthMethod' => 'PASSWORD'
'authenticated_user_id' => 1
'app_unique_key' => '2fcc470eb33e2e3ad959264dc1d4c553e6daa4c9'
'user_name' => 'admin22130'
'full_user_name' => 'Administrator Yeti'
'fingerprint' => ''
]
$security = [
'HTTPS' => 'Off'
'public_html' => 'Off'
'display_errors' => 'On'
]
$libraries = [
'OPcache' => 'LBL_NO'
'apcu' => 'LBL_NO'
'imagick' => 'LBL_NO'
]
$database = [
'innodb_lock_wait_timeout' => '50'
'max_allowed_packet' => '1.00 MB'
'character_set_server' => 'utf8mb4'
'character_set_database' => 'utf8mb4'
]
$performance = [
'opcache.enable' => 'Off'
'opcache.enable_cli' => 'Off'
]
$functionalVerification = [
'branding' => 'No'
]
====================================================================================================================================
yeah, i have read this and enable the system log and have posted the logs above
Try on PHP 5.2
Hi, i'm trying to install Yetiforce 5.2.0 from YetiForceCRM-5.2.0-complete.zip
on my MAC (MacOS Catalina) in localhost using Web Server XAMPP with the latest version which is support PHP 7.3.10
i have changed the configuration php.ini using this: https://github.com/YetiForceCompany/YetiForceCRM/blob/5.2.0/tests/setup/php_dev.ini
and when i set it up and install it, it redirected to the dashboard with error message "Class '\App\YetiForce\Shop\Product._YetiForceInstallInCloud' not found" and i cannot do anything, can't click every menu and everything
You can see the screenshot of error here: https://drive.google.com/open?id=1RW5VViGsltj2lW4JRm6AMIBTKneUtJiX
i have searched that error from google and found nothing
What am i doing wrong here?