News:

Looking for documentation? Take a look on our wiki

Main Menu

Error 0 path cannot be empty

Started by woodhouse, November 07, 2024, 17:33:35 PM

Previous topic - Next topic

woodhouse

Hi there,
I want to clone a working site but I receive the error "Error 0 path cannot be empty" when I try to access some of the Virtuemart admin pages and I have the same error if I try to access the site front end.
The admin pages effected by the error are
Control Panel
Configuration
Product Categories

I copied all the files and tables from the original working site to the new one.
I changed the settings in Joomla configuration and fixed the safe path setting in the virtuemart config table.
Both sites have the same php version (8.3.11)
Joomla version is 4.4.9
Virtuemart version is 4.2.4 10922

The Joomla debug shows the following:
Call stack
#    Function    Location
1    ()    JROOT/libraries/src/Cache/Storage/FileStorage.php:327
2    fopen()    JROOT/libraries/src/Cache/Storage/FileStorage.php:327
3    Joomla\CMS\Cache\Storage\FileStorage->lock()    JROOT/libraries/src/Cache/Cache.php:384
4    Joomla\CMS\Cache\Cache->lock()    JROOT/libraries/src/Cache/Controller/OutputController.php:56
5    Joomla\CMS\Cache\Controller\OutputController->get()    JROOT/administrator/components/com_virtuemart/models/category.php:62
6    VirtueMartModelCategory->__construct()    JROOT/administrator/components/com_virtuemart/helpers/vmmodel.php:567
7    VmModel::getModel()    JROOT/administrator/components/com_virtuemart/views/config/view.html.php:87
8    VirtuemartViewConfig->display()    JROOT/administrator/components/com_virtuemart/helpers/vmcontroller.php:126
9    VmController->display()    JROOT/libraries/src/MVC/Controller/BaseController.php:693
10    Joomla\CMS\MVC\Controller\BaseController->execute()    JROOT/administrator/components/com_virtuemart/virtuemart.php:77
11    require_once()    JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
12    Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}()    JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
13    Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch()    JROOT/libraries/src/Component/ComponentHelper.php:361
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:293
17    Joomla\CMS\Application\CMSApplication->execute()    JROOT/administrator/includes/app.php:61
18    require_once()    JROOT/administrator/index.php:32

Thank everybody for the help

Jumbo!

Delete all folders inside the "cache" directory at your site's root.

woodhouse

Thank you Jumbo!
The site is working!
Your help is always perfect.

Jumbo!