Hello i am new at Joomla+VirtueMart environment and i have a small issue which i can't fix.
Whenever i press the option to create new product category at virtuemart extension, it loads the extension's menu with a wrong way, with an error at the bottom of the page(0 Undefined constant "IMG_GIF")
Also when i press the "Shop" option to set a currency (duo to a warning error at the home page "No Shop Currency defined!"), it also goes to the "bugged menu".
Can anyone help me fix this?
Joomla 3.9.28
VirtueMart 3.8.9
PHP: 8.0.11
First printscreen is the error which can't load the new product catergory option and the Shop option and the second is the "bugged menu".
enable Joomla debug so you get a trace for the php error so it can be fixed
Okay, i ran the debug system and those are the results at Database Queries.
Has nothing to do with it .. your looking for the error trace
http://forum.virtuemart.net/index.php?topic=117042.0
oh there it is i guess..
And how can i fix this?
Really a strange problem.
Quote from: Miron on October 27, 2021, 17:10:50 PM
oh there it is i guess..
And how can i fix this?
Maybe just use the new version https://dev.virtuemart.net/attachments/1291/com_virtuemart.3.8.9.10557_package_or_extract.zip
as I said "maybe"
Maybe a PHP 8 related problem ? Check with php 7.
Jörgen
look at this solution https://forum.virtuemart.net/index.php?topic=95387.0
Certainly you have not active the GD library in PHP 8 settings
i downloaded older version of xampp (i had the lastest (8.0.12 with PHP 8.0.12 and now the 7.4.25 / PHP 7.4.25) and i installed the com_virtuemart.3.8.9.10557_package_or_extract.zip
and the compination of those may fixed it. I thought php was not a problem but it seems it had a part of the bug. (maybe php 8 is made for joomla 4 i guess?)
for now everything works fine, i can create product and use shop option.
Quote from: Studio 42 on October 28, 2021, 10:37:47 AM
look at this solution https://forum.virtuemart.net/index.php?topic=95387.0
Certainly you have not active the GD library in PHP 8 settings
Good hint, I think there is the problem
The GD library can be set to work on XAMP PHP8
https://write.corbpie.com/how-to-enable-gd-library-with-xampp-php-8-on-windows/