kir,
the issue in view.edit.php with the wrong capital letter is a typo which you fixed properly. Thank you, changed this here as well.
Re JSMin - this is interesting. I developed and installed on 6.5.* and there it is not an issue. In any case. Edit view.detail.php and change around line 20 as follows:
PHP Code:
require_once('modules/KReports/utils.php');
require_once('modules/KReports/KReportVisualizationManager.php');
if(!class_exists('JSMin'))
require_once('modules/KReports/jsmin.php');
global $dictionary;
So if the calss is defined it is not again included. For whtever reason JSMin seems to be included already. Not sure if sugar i doing this or another addon you installed. Yet this should fix it.
regards, christian.

Originally Posted by
kir
Hi
I used 2.7.7 and it worked OK.
I installed new version.
I had to change path in view.detail.php line 18 to make it work - from Kreports to KReports - because of case sensitive for directory name
Now problems
During saving created report - error shows -
Fatal error: Cannot redeclare class JSMin in /var/www/vhosts/t3/modules/KReports/jsmin.php on line 48
Saved Report not shows
Any ideas how to fix?
Sugar 6.3, linux, php 5.2
Thanks in advance!
Bookmarks