News:

Looking for documentation? Take a look on our wiki

Main Menu

Custom fields PROBLEMS

Started by niosme, September 19, 2022, 13:16:09 PM

Previous topic - Next topic

niosme

Custom fields ordering in product dont work.
Custom fields editor dont show up.
Cannot add multiple same custom field and if there is only one custom field valid you cannot add it in product. There must be two or more for some reason.
Also custom fields editing dont work.

You act like you dont care so should we keep develop extensions for this component? Should we create websites with virtuemart?
Will there any solution on those and on all problems here soon? that makes the virtuemart ιnappropriate to use or we should start looking for another platform?

We cant work on joomla 3 which is not supported and updates already have stopped. In one and half year joomla 5 will be out. What is your plans on upgrading virtuemart to a stable version without all those thousand of errors or there is no plan and you abbandoning it?
We have to know because it dont work on joomla 4 and php 8 which are Required for security reasons.

We just need an answer to know how to continue because this is worser than an abandoned component with so much error.Its not a solution to blame Joomla or to do our changes direct from database.Its a complete mess.
You just fixed e.g. shipping methods but not custom fields. That's like a developer that dont care so why should we care, develop and trust this component or developing extensions? You dont even care of problems announced and as i can see when joomla 5 will be released it looks like your component will still have all those childish problems in joomla 4.
Fullstack Developer and Joomla Expert

hazael

#1
These issues have been reported before.
The makers of Virtuemart know most of these bugs, but you need to know that it's not possible to do everything in an instant.
There are minor and critical mistakes and the latter are the priority. Virtuemart is a free Open Source component.
If you find a bug and want to fix it quickly, you can always do it yourself. :)

I recommend reading this content:
https://boyter.org/posts/the-three-f-s-of-open-source

Quote from: niosme on September 19, 2022, 13:16:09 PMWe cant work on joomla 3 which is not supported and updates already have stopped (...)
Interestingly, I personally have several stores running on Joomla 3 and there are no signs that these sites will suddenly stop working. I will say more - they work great! (Even with PHP 8 ) :)
It's the same as with the new car model - do I really need the latest version to drive it?
Do I need to have the latest iPhone model to be able to communicate with people?  ::)

Joomla 3 Lifecycle - I see  there August 17, 2023 ;-)
https://endoflife.software/applications/cms/joomla

GJC Web Design

QuoteJoomla 3 Lifecycle - I see  there August 17, 2023 ;-)

and even then there will be 1000s of happily working sites -- I have clients still very happy with their J1.5/VM1.1 sites ( amazingly quick they are too!!!  )
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

niosme

So witch version runs without problem then with witch  joomla and php version?
lets build in joomla 3 then or even better on joomla 1.5 and vm 1.1?

And the bugs are uncountable even in joomla 3 with coupons e.g. Exclude Shopper Groups in combination with categories dont work.
Its not possible to do a lot of edits cause in each update all those will be ovewritten.And actually this is what i do because its a mess.
I have done a lot of fixes to get it work on joomla 4 and it dont run in php 8 as you said (in joomla 4).

Joomla 3 will have only security updates from now on.
Joomla 5 will be released in October 2023. Are we looking forward or in one year we will be still on joomla 3 with the joomla 5 have been released?
https://www.joomla.org/announcements/release-news/5868-joomla-5-panta-rhei-the-follow-up.html

By this virtuemart is doing bad in joomla community and it will be better to abandon it. When someone goes to download section it says download vm4 now and we all know vm4 is buggy enought.
When someone writes a part of code and dont testing it is like writing with closed eyes. This is what happening here. Even if the solutions on problems posted here is like we write or talk to a wall.

So the answer on all this is better going to a more stable platform if there is no plan and no fixes on problems with known solutions posted in forum? this is childish..
Fullstack Developer and Joomla Expert

hazael

#4
Quote from: niosme on September 20, 2022, 08:29:52 AM
Joomla 3 will have only security updates from now on(..)
Joomla 5 will be released in October 2023
And what updates in this Joomla 3 do you need? What's wrong with her? It would be worth considering the transition to the not yet created version of Joomla 6 - I am sure that this version will also appear! ;-)
This is how marketing works - some application developers sometimes change their versions of products to improve sales ;-)

niosme

Joomla 5 will be released in a year and you will be still in joomla 3. Every component and developer that respect his self and the community updated his moodule and component in joomla 4.
Its easy enought to migrate to joomla 4 and i dont understand the reason why this is taking so much time.

By the way a lot of important things imported in joomla 4.

1) Improved Interface

2) More Powerful Codebase ( PHP namespacing allows for a better organization by grouping classes that work together to perform a task. It also allows you to use the same class name for frontend and backend classes )

3) Accessibility - (WCAG) 2.0 AA Compliance ( built-in accessibility for both frontend and backend templates )

4) New Media Manager ( Joomla 4 comes with a cleaner UI and new image editing ( crop , compress , cut ) capabilities, multi-files upload and drop & drag uploading )

5) Email Templating ( There's no need to use third-party extensions anymore to modify your emails from the Joomla core )

6) Improved Security

7) HTTP Headers Plugin - Here you can make adjustments to X-Frame Options, the Referrer-Policy, Cross-Origin-Opener-Policy ,Force HTTP Headers, Strict-Transport-Security (HSTS), Content Security Policy and add more custom headers per need from this plugin

8) Joomla 4 SEO & Faster page loading times ( The Joomla 4's key features and core benefits have greater potential than other CMS to rank very high if a website and pages are set up properly. Joomla 4 comes with a built-in plugin for Lazy Load. Once it is enabled, it will automatically lazy load all the images resulting in faster-loading pages, better user experience, and better organic rankings for your website. )

9) Site compression. e.g. we have the file custom.css but when we turn gzip on it will load the custom.css.gz file if exists. Same for js files.
Fullstack Developer and Joomla Expert

hazael

Better interface? Will J5 have a better Interface than J4?  ::)

niosme

Fullstack Developer and Joomla Expert

Darko F.

Here I have one more problem
I import from J3 to J4 custom fields and they work ok from product, I can select them and enter strings.

But cant enter custom fields in administrator and I cant create new custom fields in administrator get 500 error.

and also if I try to enter from front page   let  view PDF /en/shop/tmpl/component/view/productdetails/virtuemart_product_id/92/format/pdf or submit review I also get 500 error
Failed to load resource: the server responded with a status of 500 ()

Could be all this because a ruter not working jet?

J4  with VirtueMart 4.0.7 10701
There in no problem if you fall. Problem is if you don't get up

Darko F.

So when I try to enter custom fields from administrator i get following error.

Fatal error: Maximum execution time of 300 seconds exceeded in /home/xxxx/domains/mysite/private_html/libraries/src/Form/Form.php on line 1394
This line apparently cause trouble in l/libraries/src/Form/Form.php:1394:
   
            $validNames = \array_slice($group, 0, $i + 1);

I also get from some but not all custom fields in front page these debug message

Warning: Undefined variable $custom_title in /mysite/com_virtuemart/sublayouts/customfields.php on line 25


And Error
Fatal error: Uncaught Joomla\Database\Exception\PrepareStatementFailureException: MySQL server has gone away in //private_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php:141 Stack trace: #0 /private_html/libraries/vendor/joomla/database/src/Mysqli/MysqliDriver.php(1048): Joomla\Database\Mysqli\MysqliStatement->__construct() #1 //private_html/libraries/vendor/joomla/database/src/DatabaseDriver.php(1900): Joomla\Database\Mysqli\MysqliDriver->prepareStatement() #2 //private_html/libraries/src/Table/User.php(103): Joomla\Database\DatabaseDriver->setQuery() #3 //private_html/libraries/src/User/User.php(807): Joomla\CMS\Table\User->load() #4 /private_html/libraries/src/User/User.php(864): Joomla\CMS\User\User->load() #5 [internal function]: Joomla\CMS\User\User->__wakeup() #6 //private_html/libraries/vendor/joomla/registry/src/Registry.php(80): unserialize() #7 //private_html/libraries/src/Session/Storage/JoomlaStorage.php(134): Joomla\Registry\Registry->__clone() #8 [internal function]: Joomla\CMS\Session\Storage\JoomlaStorage->close() #9 {main} thrown in //private_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 141

Warning: Unknown: Failed to write session data using user defined save handler. (session.save_path: /opt/alt/php80/var/lib/php/session) in Unknown on line 0

Hope this should point where I have trouble, I also cant create new custom field.
J4 and  VirtueMart 4.0.7 10701. with same version  VirtueMart I can do enter on J3.
There in no problem if you fall. Problem is if you don't get up

Milbo

The customfield editing problem is solved. But from my point of view a pure joomla bug. They added a loop. I rearranged loading of the form from the xml file and now it works. https://dev.virtuemart.net/attachments/1332/com_virtuemart.4.0.7.10714_package_or_extract.zip

Hazael, thank you for your nice words. Joomla 4 is just not stable, sorry. We did all the offical changes already the last year, but j4 created more and more new problems. The latest Joomla, j4.2.3 creates a new problem with the logins, so I have to work on the vm login again. Crazy shit, really.

The biggest shit is their template policy. New Joomla Main version, new template. That is just not the way to go. Tooo overmarket.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Darko F.

I tested com_virtuemart.4.0.7.10714_package_or_extract.zip

On existing test J4 website and can't enter from admin to custom field and cant create new one,
When I trying to create I get danger
vmError: TableCustoms Field Type in record is missing! Can't save the record with no Field Type.

On J3 custom fields work

Thanks
There in no problem if you fall. Problem is if you don't get up

Darko F.

#12
Milbo

thank you for all the hard work you done, especially when majority of us including me, just use product and complain.

Here joomla  they explain their plan about new realises

https://www.joomla.org/announcements/release-news/5868-joomla-5-panta-rhei-the-follow-up.html

I think they made quite good decision from future.
There in no problem if you fall. Problem is if you don't get up