kartik-v / yii2-export

A library to export server/db data in various formats (e.g. excel, html, pdf, csv etc.)
http://demos.krajee.com/export
Other
165 stars 126 forks source link

Error on yii\base\ErrorException #293

Closed asimakos closed 5 years ago

asimakos commented 5 years ago

I have installed this particular library and i receive the following error exportbase My composer version is 1.8.4, the composer.json (require section) "php": ">=5.4.0", "yiisoft/yii2": "~2.0.14", "yiisoft/yii2-bootstrap": "~2.0.0", "yiisoft/yii2-swiftmailer": "~2.0.0", "kartik-v/yii2-widget-datepicker": "@dev", "kartik-v/yii2-widget-fileinput": "@dev", "kartik-v/yii2-detail-view": "@dev", "kartik-v/yii2-widgets": "", "kartik-v/yii2-grid": "@dev", "slavkovrn/yii2-lightbox": "", "kartik-v/yii2-krajee-base": "*", "kartik-v/yii2-export": "@dev"

and of course php version
php_info

Any idea what could be wrong? I could send you some files for better view if possible!!!

Regards (congrats for Fileinput widget)

asimakos commented 5 years ago

Congrats one more time for this great widget! I just found the solution to my problem by updating composer php path to version 7.1 instead of 5.5.12 that was set by default. When i press pdf export i get an php error, the other links work excel, etc OK.

Regards

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.