- Posts: 105
- Thank you received: 8
Issue on tax configuration
1 year 7 months ago - 1 year 7 months ago #365911
by Rusty
Issue on tax configuration was created by Rusty
-- HikaShop version -- : 5.1.5
-- Joomla version -- : 5.2.4
-- PHP version -- : 8.4.4
-- Browser(s) name and version -- : Chrome 133.0.6943.127
-- Error-message(debug-mod must be tuned on) -- : 0
Call to undefined function parse_ini_file()
Hi!
I tried to change the name of the pre defined default "tax category" to "19% MwSt.". But that doesn't worked. After clicking "save" I got the following error (in backend):
Since then, I can not open the shop (products listing) in the frontend. If I do so (click on menu point in frontend), I get the following error:
That happens since I tried to change the name of the "default tax category".
Rusty
P.S. I also can not change products prices anymore. Get the same error.
-- Joomla version -- : 5.2.4
-- PHP version -- : 8.4.4
-- Browser(s) name and version -- : Chrome 133.0.6943.127
-- Error-message(debug-mod must be tuned on) -- : 0
Call to undefined function parse_ini_file()
Hi!
I tried to change the name of the pre defined default "tax category" to "19% MwSt.". But that doesn't worked. After clicking "save" I got the following error (in backend):
Code:
0 Call to undefined function parse_ini_file()
Call Stack
# Function Location
1 () JROOT/administrator/components/com_hikashop/helpers/translation.php:118
2 hikashopTranslationHelper->translateAlias() JROOT/administrator/components/com_hikashop/classes/category.php:72
3 hikashopCategoryClass->addAlias() JROOT/administrator/components/com_hikashop/classes/category.php:123
4 hikashopCategoryClass->saveForm() JROOT/administrator/components/com_hikashop/helpers/helper.php:2278
5 hikashopController->store() JROOT/administrator/components/com_hikashop/helpers/helper.php:2218
6 hikashopController->apply() JROOT/libraries/src/MVC/Controller/BaseController.php:730
7 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2443
8 hikashopController->execute() JROOT/administrator/components/com_hikashop/hikashop.php:73
9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:150
13 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:205
14 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
15 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:58
16 require_once() JROOT/administrator/index.php:32
Since then, I can not open the shop (products listing) in the frontend. If I do so (click on menu point in frontend), I get the following error:
Code:
0
Call to undefined function parse_ini_file()
ERROR 0 - Call to undefined function parse_ini_file() in /var/www/vhosts/path_to_website/administrator/components/com_hikashop/helpers/translation.php:118
Call Stack
# Function Location
1 () JROOT/administrator/components/com_hikashop/helpers/translation.php:118
2 hikashopTranslationHelper->translateAlias() JROOT/administrator/components/com_hikashop/classes/product.php:1818
3 hikashopProductClass->addAlias() JROOT/administrator/components/com_hikashop/classes/product.php:2456
4 hikashopProductClass->loadProductsListingData() JROOT/components/com_hikashop/views/product/view.html.php:923
5 ProductViewProduct->listing() JROOT/components/com_hikashop/views/product/view.html.php:29
6 ProductViewProduct->display() JROOT/libraries/src/MVC/Controller/BaseController.php:697
7 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_hikashop/helpers/helper.php:2465
8 hikashopController->display() JROOT/components/com_hikashop/controllers/product.php:46
9 productController->listing() JROOT/libraries/src/MVC/Controller/BaseController.php:730
10 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_hikashop/helpers/helper.php:2443
11 hikashopController->execute() JROOT/components/com_hikashop/hikashop.php:88
12 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
13 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
14 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
15 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/SiteApplication.php:218
16 Joomla\CMS\Application\SiteApplication->dispatch() JROOT/libraries/src/Application/SiteApplication.php:272
17 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:306
18 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:58
19 require_once() JROOT/index.php:32
That happens since I tried to change the name of the "default tax category".
Rusty
P.S. I also can not change products prices anymore. Get the same error.
Last edit: 1 year 7 months ago by Rusty.
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365914
by nicolas
Replied by nicolas on topic Issue on tax configuration
Hi,
The PHP function parse_ini_file is a standard function of PHP and is supposed to be always available on any hosting.
The error you have indicates that the system administrator has disabled its use. As far as I know, there is no valid reason to do that.
It might be an error in the server setup.
Someone else reported the same issue in the past here :
wordpress.org/support/topic/exception-wh...from-php-7-4-to-8-0/
You'll have to contact your hosting support for help. That function not being available on your hosting is not normal and it should be possible to enable it back.
The PHP function parse_ini_file is a standard function of PHP and is supposed to be always available on any hosting.
The error you have indicates that the system administrator has disabled its use. As far as I know, there is no valid reason to do that.
It might be an error in the server setup.
Someone else reported the same issue in the past here :
wordpress.org/support/topic/exception-wh...from-php-7-4-to-8-0/
You'll have to contact your hosting support for help. That function not being available on your hosting is not normal and it should be possible to enable it back.
The following user(s) said Thank You: Rusty
Please Log in or Create an account to join the conversation.
1 year 7 months ago #365926
by Rusty
Replied by Rusty on topic Issue on tax configuration
That helped. Thanks! Don't know why this was deactivated.nicolas wrote: The PHP function parse_ini_file is a standard function of PHP and is supposed to be always available on any hosting.
The error you have indicates that the system administrator has disabled its use. As far as I know, there is no valid reason to do that.
Please Log in or Create an account to join the conversation.
Time to create page: 0.146 seconds