humhub / calendar

Create one-time or recurring events, invite and manage attendees, and keep track of all your events with the Calendar module.
28 stars 46 forks source link

Exception &#039 // status: 500 #134

Closed sebKopp closed 4 years ago

sebKopp commented 6 years ago

Hi there,

I have one problem with the calendar-module - it didn't work with humhum 1.2.3 and now I have version 1.2.5 and it also does not work.

The error path:

Then the error occures and it is not possible to create an entry into the calendar

May I ask you for help? Thank you very much

The errorlog:

"url": "/index.php?r=calendar%2Fentry%2Fedit&start=2018-05-18+00%3A00%3A00&end=2018-05-19+00%3A00%3A00&uguid=6b3a528a-6bbe-4fe0-a0af-b278aa2be00e",
"status": 500,
"response": "<pre>Exception &#039;Error&#039; with message &#039;Class &#039;humhub\\widgets\\Link&#039; not found&#039; \n\nin /data/web/e59421/html/aNetzwerk/protected/humhub/widgets/views/selectTimeZoneDropdown.php:5\n\nStack trace:\n#0 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(330): require()\n#1 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(250): yii\\base\\View-&gt;renderPhpFile(&#039;/data/web/e5942...&#039;, Array)\n#2 /data/web/e59421/html/aNetzwe...",
"textStatus": "error",
"xhr": {
    "readyState": 4,
    "responseText": "<pre>Exception &#039;Error&#039; with message &#039;Class &#039;humhub\\widgets\\Link&#039; not found&#039; \n\nin /data/web/e59421/html/aNetzwerk/protected/humhub/widgets/views/selectTimeZoneDropdown.php:5\n\nStack trace:\n#0 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(330): require()\n#1 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(250): yii\\base\\View-&gt;renderPhpFile(&#039;/data/web/e5942...&#039;, Array)\n#2 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(152): yii\\base\\View-&gt;renderFile(&#039;/data/web/e5942...&#039;, Array, Object(humhub\\widgets\\TimeZoneDropdownAddition))\n#3 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/Widget.php(234): yii\\base\\View-&gt;render(&#039;selectTimeZoneD...&#039;, Array, Object(humhub\\widgets\\TimeZoneDropdownAddition))\n#4 /data/web/e59421/html/aNetzwerk/protected/humhub/widgets/TimeZoneDropdownAddition.php(48): yii\\base\\Widget-&gt;render(&#039;selectTimeZoneD...&#039;, Array)\n#5 /data/web/e59421/html/aNetzwerk/protected/humhub/components/Widget.php(57): humhub\\widgets\\TimeZoneDropdownAddition-&gt;run()\n#6 /data/web/e59421/html/aNetzwerk/protected/modules/calendar/views/entry/edit-basic.php(80): humhub\\components\\Widget::widget(Array)\n#7 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(330): require(&#039;/data/web/e5942...&#039;)\n#8 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(250): yii\\base\\View-&gt;renderPhpFile(&#039;/data/web/e5942...&#039;, Array)\n#9 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(152): yii\\base\\View-&gt;renderFile(&#039;/data/web/e5942...&#039;, Array, Object(humhub\\widgets\\Tabs))\n#10 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/Widget.php(234): yii\\base\\View-&gt;render(&#039;@calendar/views...&#039;, Array, Object(humhub\\widgets\\Tabs))\n#11 /data/web/e59421/html/aNetzwerk/protected/humhub/widgets/Tabs.php(75): yii\\base\\Widget-&gt;render(&#039;@calendar/views...&#039;, Array)\n#12 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/Widget.php(138): humhub\\widgets\\Tabs-&gt;beforeRun()\n#13 /data/web/e59421/html/aNetzwerk/protected/modules/calendar/views/entry/edit.php(39): yii\\base\\Widget::widget(Array)\n#14 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(330): require(&#039;/data/web/e5942...&#039;)\n#15 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(250): yii\\base\\View-&gt;renderPhpFile(&#039;/data/web/e5942...&#039;, Array)\n#16 /data/web/e59421/html/aNetzwerk/protected/humhub/components/View.php(112): yii\\base\\View-&gt;renderFile(&#039;/data/web/e5942...&#039;, Array, Object(humhub\\modules\\calendar\\controllers\\EntryController))\n#17 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/web/Controller.php(49): humhub\\components\\View-&gt;renderAjax(&#039;edit&#039;, Array, Object(humhub\\modules\\calendar\\controllers\\EntryController))\n#18 /data/web/e59421/html/aNetzwerk/protected/modules/calendar/controllers/EntryController.php(102): yii\\web\\Controller-&gt;renderAjax(&#039;edit&#039;, Array)\n#19 [internal function]: humhub\\modules\\calendar\\controllers\\EntryController-&gt;actionEdit(NULL, &#039;2018-05-18 00:0...&#039;, &#039;2018-05-19 00:0...&#039;, NULL)\n#20 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)\n#21 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/Controller.php(156): yii\\base\\InlineAction-&gt;runWithParams(Array)\n#22 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/Module.php(523): yii\\base\\Controller-&gt;runAction(&#039;edit&#039;, Array)\n#23 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/web/Application.php(102): yii\\base\\Module-&gt;runAction(&#039;calendar/entry/...&#039;, Array)\n#24 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/Application.php(380): yii\\web\\Application-&gt;handleRequest(Object(humhub\\components\\Request))\n#25 /data/web/e59421/html/aNetzwerk/index.php(25): yii\\base\\Application-&gt;run()\n#26 {main}</pre>",
    "status": 500,
    "statusText": "Internal Server Error"
},
"dataType": "html",
"html": "<pre>Exception &#039;Error&#039; with message &#039;Class &#039;humhub\\widgets\\Link&#039; not found&#039; \n\nin /data/web/e59421/html/aNetzwerk/protected/humhub/widgets/views/selectTimeZoneDropdown.php:5\n\nStack trace:\n#0 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(330): require()\n#1 /data/web/e59421/html/aNetzwerk/protected/vendor/yiisoft/yii2/base/View.php(250): yii\\base\\View-&gt;renderPhpFile(&#039;/data/web/e5942...&#039;, Array)\n#2 /data/web/e59421/html/aNetzwe...",
"error": {},
"errorThrown": "Internal Server Error",
"validationError": false

}

kesselb commented 6 years ago

Could you try to install the latest calendar version?

sebKopp commented 6 years ago

Hi Daniel, I have already installed the latest calendar version. Thanks for your response!

buddh4 commented 4 years ago

You probably have to update your humhub core version.