1. josev814
  2. JEvents 3.4 (Free Access)
  3. Monday, 13 December 2021
I've installed JEvents 3.6.23 on Joomla 4.0.4 running PHP8.0 The install went fine, but when accessing the Dashboard and the Manage Events areas in the Admin section, I get "An Error has occurred. Path cannot be empty". JEvents is the first component I've installed and the default Joomla Themes haven't been modified as of yet either.
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

Can we get access to that please? We don't natively support PHP 8 yet as we are still implementing some fixes.

Many thanks
Tony
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Tony,

What do you want access to? I'm running this setup locally within Docker on Debian 9.

Jose'
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 2
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Ahh ok, can enable debug and also max error reporting and provide a snapshot of the error so I can isolate it. With the exact steps to recreate it?
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
I'm not seeing anything in the apache logs that's showing the error. I also enabled display errors, but that had no effect on the message Joomla is showing:

"An error has occurred.
0 Path cannot be empty"


Apache Requests Logged when accessing JEvents Manage Events

172.17.0.1 - - [23/Dec/2021:19:30:17 +0000] "GET /administrator/index.php?option=com_jevents&view=cpanel HTTP/1.1" 500 29429 "http://localhost:8081/administrator/index.php?option=com_jevents&task=icalevent.list" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.57"

Apache Requests Logged when accessing JEvents Dashboard

172.17.0.1 - - [23/Dec/2021:19:31:01 +0000] "GET /administrator/index.php?option=com_jevents&task=icalevent.list HTTP/1.1" 500 29321 "http://localhost:8081/administrator/index.php?option=com_jevents&view=cpanel" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36 Edg/96.0.1054.57"

I additionally turned on debug mode in my apache settings, but it just output that it was granting access to the URLs requested. It seems like the ManageEvents is looking for icalevent.list, but I'm not seeing that method unless it's in a parent class.
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
I enabled debug mode in Joomla and this is the stack output

Dashboard:
Call stack
# Function Location
1 () JROOT/libraries/src/Cache/Storage/FileStorage.php:351
2 fopen() JROOT/libraries/src/Cache/Storage/FileStorage.php:351
3 Joomla\CMS\Cache\Storage\FileStorage->lock() JROOT/libraries/src/Cache/Cache.php:404
4 Joomla\CMS\Cache\Cache->lock() JROOT/libraries/src/Cache/Controller/OutputController.php:54
5 Joomla\CMS\Cache\Controller\OutputController->get() JROOT/components/com_jevents/libraries/helper.php:4403
6 JEVHelper::setUpdateUrls() JROOT/administrator/components/com_jevents/views/cpanel/view.html.php:63
7 AdminCpanelViewCpanel->cpanel() JROOT/administrator/components/com_jevents/views/abstract/abstract.php:91
8 JEventsAbstractView->display() JROOT/administrator/components/com_jevents/controllers/cpanel.php:172
9 AdminCpanelController->cpanel() JROOT/libraries/src/MVC/Controller/BaseController.php:730
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_jevents/jevents.php:268
11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
18 require_once() JROOT/administrator/index.php:32


Manage Events:
Call stack
# Function Location
1 () JROOT/libraries/src/Cache/Storage/FileStorage.php:351
2 fopen() JROOT/libraries/src/Cache/Storage/FileStorage.php:351
3 Joomla\CMS\Cache\Storage\FileStorage->lock() JROOT/libraries/src/Cache/Cache.php:404
4 Joomla\CMS\Cache\Cache->lock() JROOT/libraries/src/Cache/Controller/OutputController.php:54
5 Joomla\CMS\Cache\Controller\OutputController->get() JROOT/components/com_jevents/libraries/helper.php:4403
6 JEVHelper::setUpdateUrls() JROOT/administrator/components/com_jevents/views/icalevent/view.html.php:32
7 AdminIcaleventViewIcalevent->overview() JROOT/administrator/components/com_jevents/views/abstract/abstract.php:91
8 JEventsAbstractView->display() JROOT/administrator/components/com_jevents/controllers/icalevent.php:84
9 AdminIcaleventController->overview() JROOT/libraries/src/MVC/Controller/BaseController.php:730
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_jevents/jevents.php:268
11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
18 require_once() JROOT/administrator/index.php:32


Locations/Venues
Call stack
# Function Location
1 () JROOT/libraries/src/Cache/Storage/FileStorage.php:351
2 fopen() JROOT/libraries/src/Cache/Storage/FileStorage.php:351
3 Joomla\CMS\Cache\Storage\FileStorage->lock() JROOT/libraries/src/Cache/Cache.php:404
4 Joomla\CMS\Cache\Cache->lock() JROOT/libraries/src/Cache/Controller/OutputController.php:54
5 Joomla\CMS\Cache\Controller\OutputController->get() JROOT/components/com_jevents/libraries/helper.php:4403
6 JEVHelper::setUpdateUrls() JROOT/administrator/components/com_jevents/views/icalevent/view.html.php:32
7 AdminIcaleventViewIcalevent->overview() JROOT/administrator/components/com_jevents/views/abstract/abstract.php:91
8 JEventsAbstractView->display() JROOT/administrator/components/com_jevents/controllers/icalevent.php:84
9 AdminIcaleventController->overview() JROOT/libraries/src/MVC/Controller/BaseController.php:730
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_jevents/jevents.php:268
11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
18 require_once() JROOT/administrator/index.php:32


Tags:

Call stack
# Function Location
1 () JROOT/libraries/src/Cache/Storage/FileStorage.php:351
2 fopen() JROOT/libraries/src/Cache/Storage/FileStorage.php:351
3 Joomla\CMS\Cache\Storage\FileStorage->lock() JROOT/libraries/src/Cache/Cache.php:404
4 Joomla\CMS\Cache\Cache->lock() JROOT/libraries/src/Cache/Controller/OutputController.php:54
5 Joomla\CMS\Cache\Controller\OutputController->get() JROOT/components/com_jevents/libraries/helper.php:4403
6 JEVHelper::setUpdateUrls() JROOT/administrator/components/com_jevents/views/icalevent/view.html.php:32
7 AdminIcaleventViewIcalevent->overview() JROOT/administrator/components/com_jevents/views/abstract/abstract.php:91
8 JEventsAbstractView->display() JROOT/administrator/components/com_jevents/controllers/icalevent.php:84
9 AdminIcaleventController->overview() JROOT/libraries/src/MVC/Controller/BaseController.php:730
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_jevents/jevents.php:268
11 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:69
12 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:389
14 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
15 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
16 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:278
17 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:63
18 require_once() JROOT/administrator/index.php:32
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
when you look at your debug results the specific files at those specific positions there are some values or variables that has it's values as string rather than an array. e.g. '' or "" should be surrounded by [] to give [''] or [""] or just [] but currently there is an awful lot to be fixed to work with PHP 8.0. Actually a lot of Joomla components have this problem. For the time being, I'm still using PHP 7.4 to solve the problem for now. I really hope jevents can fix compatibility with PHP 8 soon. Thanks jevents for a great product.
I love life!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 6
tonyp
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

No problem! We actually fixed a core issue in the Joomla! Cache recently to the Joomla! Core. Let's see if it's still there in the next release of Joomla!

Many thanks
Tony
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.