KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

Bug in v. 4.5.0? #1273

Closed Eugene opened this topic on on Jan 23, 2020 - 5 comments

Eugene commented on Jan 23, 2020

Hi,

I updated v. 4.3.2 to v.4.5.0 (just copy new files to the directory example and koolreport)

It was broken my site. In error.log i see the following

 PHP Warning:  require(/***/koolreport/barcode/vendor/composer/../khanamiryan/qrcode-detector-decoder/lib/Common/customFunctions.php): failed to open stream: No such file or directory in /***/koolreport/barcode/vendor/composer/autoload_real.php on line 66
 PHP Stack trace:
 PHP   1. {main}() /*/index.php:0
 PHP   2. require_once() /*/index.php:5
 PHP   3. include_once() /***/koolreport/core/autoload.php:17
 PHP   4. ComposerAutoloaderInit3f460a43b52702978aca1dd4c24e7d05::getLoader() /***/koolreport/barcode/vendor/autoload.php:7
 PHP   5. composerRequire3f460a43b52702978aca1dd4c24e7d05() /***/koolreport/barcode/vendor/composer/autoload_real.php:56
 PHP Fatal error:  require(): Failed opening required '/***/koolreport/barcode/vendor/composer/../khanamiryan/qrcode-detector-decoder/lib/Common/customFunctions.php' (include_path='.:/opt/alt/php73/usr/share/pear') in /***/koolreport/barcode/vendor/composer/autoload_real.php on line 66
 PHP Stack trace:
 PHP   1. {main}() /*/index.php:0
 PHP   2. require_once() /*/index.php:5
 PHP   3. include_once() /***/koolreport/core/autoload.php:17
 PHP   4. ComposerAutoloaderInit3f460a43b52702978aca1dd4c24e7d05::getLoader() /***/koolreport/barcode/vendor/autoload.php:7
 PHP   5. composerRequire3f460a43b52702978aca1dd4c24e7d05() /***/koolreport/barcode/vendor/composer/autoload_real.php:56

When I return to 4.3.2 everything is nice.

KoolReport commented on Jan 23, 2020

We are sorry for the incidence, it seems one of dependency of barcode package requires php >=7.2 which causing trouble. We have told dev.team to investigate.

Serban Andreuta commented on Jan 23, 2020

I had same issue (see #1270). Got rid off error by renaming directory from 'common' to 'Common'. One of my pages works now. But another is getting TypeErrors like this:

TypeError: $ is not a function

at KoolReport.google.chart.loadLoader (googlechart.js:37)
at new KoolReport.google.chart (googlechart.js:21)
at reports_form.php:262
at KoolReport.js:105
at Array.forEach (<anonymous>)
at Object.checkScriptsAndCallback (KoolReport.js:102)
at Object.onScriptLoaded (KoolReport.js:88)

Is this related to dependency issue?

Eugene commented on Jan 23, 2020

My current PHP version is 7.3 >=7.2 I am not sure but it looks like something wrong with paths but not with the php version.

KoolReport commented on Jan 24, 2020

@Eugene: Our dev.team has updated the 4.5.0 version, please try to download again to see how.

Eugene commented on Jan 25, 2020

It looks like everything ok now. Thank you

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
bug
solved

None