BDTask Sales ERP - Internal Server Error
Solution :
Enable logs in the file saleserp_v10/application/config/config.php
$config['log_threshold'] = 0;Check error in logs application/logs
to
$config['log_threshold'] = 1;
if it is
ERROR - 2023-xx-xx xx:xx:xx --> Severity: error --> Exception: Unsupported operand types: string + int /var/www/html/saleserp_v10/application/modules/dashboard/views/home/home.php 452Update file /var/www/html/saleserp_v10/application/modules/dashboard/views/home/home.php
Change
value='<?php $seperatedData = explode(',', $chart_data); echo html_escape(($seperatedData[0] + 10));?>' name=""
to
value='<?php $seperatedData = explode(',', $chart_data); echo html_escape(((int)$seperatedData[0] + 10));?>' name=""Now try again.
No comments:
Post a Comment