VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Ventsi Genchev on November 27, 2017, 12:01:32 PM

Title: Update of VM 3.2.6 - Problems and Solutions
Post by: Ventsi Genchev on November 27, 2017, 12:01:32 PM
Since there are a repetition of the same questions in the forum, I decided to unite the ones I noticed.

1. Tables do not exist
( Fixed in version 3.2.8 )
Frontend (FE) message comes out that table (s) do not exist or 404 error.
Example:
Table '.#__virtuemart_products_en_gb' doesn't exist
Solution:
Backend (BE) -> Virtuemart -> Configuration -> Shop -> Language Settings -> Select the main language of the site in "Shop Language".
https://forum.virtuemart.net/index.php?topic=138926.0
(Thanks to p.barg)


2. When creating a new coupon, after pressing the "NEW" button a message appears:
( Fixed in version 3.2.8 )
An error has occurred.
0 DateTime::__construct(): Failed to parse time string (XXXXXXXXXX) at position X (X): Unexpected character
Solution:
franzpeter: Suggestion: I would set - with phpmyadmin - those datetime columns: coupon_start_date and coupon_expiry_date both  with a Standard of: 0000-00-00 00:00:00
https://forum.virtuemart.net/index.php?topic=138931.msg487643#msg487643
(Thanks to franzpeter)


3. Payments and Shipments logos (FE) not found
( Fixed in version 3.2.8 )
Solution:
http://forum.virtuemart.net/index.php?topic=138927.0
(Thanks to Milbo)


4. VM does not redirect to page 404
The option BE -> VirtueMart -> Configuration -> Shop -> Enable VirtueMart 404 error handling is always on. Whether the option is on or off.
Solution:
There is no solution for now.


5. All products by manufacturer - number of products per page can not be changed
( Fixed in version 3.2.8 )
Example:
https://demo.virtuemart.net/manufacturer/producer/
Solution:
There is no solution for now.



A problem that exists in previous versions of VM:

1. Backend (BE) -> Virtuemart -> Products -> Products -> Media File column - Very wide column with very small pictures of the products
( Fixed in version 3.2.8 )
Reason:
The size of the thumb picture is used for the width of the column (according to Virtuemart -> Configuration -> Template -> Thumbnail Image Width), but the size of the photo itself is 50px and is set to:
administrator/components/com_virtuemart/assets/css/admin.styles.css (.vm_mini_image{max-height:50px;max-width:80px;vertical-align:middle})
Solution:
(The solution is temporary until the team solves the problem.)
In CSS: administrator/components/com_virtuemart/assets/css/admin.styles.css
Or by overwriting the file:
administrator/components/com_virtuemart/views/product/tmpl/default.php
from:
if(empty($imgWidth)) $imgWidth = 80;
to:
if(!empty($imgWidth)) $imgWidth = 80;
(Just for example. It can be solved in many ways. :) )

If I notice anything else, I will add it.
------------------------------------------
Thanks to the entire team for the work and development of this project.
Good luck to all!
Title: Re: Update of VM 3.2.6 - Problems and Solutions
Post by: Ventsi Genchev on November 28, 2017, 17:03:00 PM
Added:
4. VM does not redirect to page 404

Modified:
2. When creating a new coupon, after pressing the "NEW" button a message appears:
Title: Re: Update of VM 3.2.6 - Problems and Solutions
Post by: Ventsi Genchev on November 28, 2017, 17:51:57 PM
Added:
5. All products by manufacturer - number of products per page can not be changed
Title: Re: Update of VM 3.2.6 - Problems and Solutions
Post by: Milbo on November 28, 2017, 21:58:16 PM
Quote from: Venci Gentchev on November 28, 2017, 17:03:00 PM
Added:
4. VM does not redirect to page 404

Modified:
2. When creating a new coupon, after pressing the "NEW" button a message appears:
There is a 404, but looks almost as your homepage, you can also disable it and use the 404 of joomla.

Quote from: Venci Gentchev on November 28, 2017, 17:51:57 PM
Added:
5. All products by manufacturer - number of products per page can not be changed

I cannot reproduce this
Title: Re: Update of VM 3.2.6 - Problems and Solutions
Post by: Ventsi Genchev on November 29, 2017, 08:52:43 AM
Hi Max. Thank you for your reply.

Quote from: Milbo on November 28, 2017, 21:58:16 PM
There is a 404, but looks almost as your homepage, you can also disable it and use the 404 of joomla.
Yes, as I wrote above, there is an option Enable VirtueMart 404 error handling but it does not work.
It may be due to any of the added redirect features. I do not know.
Please share if you know another place where this option can be set.

Quote from: Milbo on November 28, 2017, 21:58:16 PM
I cannot reproduce this
Please open this link and change the number of products per page (Results 1 - 11 of 11)
https://demo.virtuemart.net/manufacturer/istraxx?keyword=
The number of products per page is always 24. Whatever you do.

You can only change the number of products per page if you choose "all manufacturers". Select for example 60 and then re-select "iStraxx". Now change the number of products to 15. It will not happen because the number of products will remain 60.
Title: Re: Update of VM 3.2.6 - Problems and Solutions
Post by: Milbo on November 30, 2017, 22:42:39 PM
thx, found and fixed.
Title: Re: Update of VM 3.2.6 - Problems and Solutions
Post by: Ventsi Genchev on December 08, 2017, 15:53:52 PM
All detected issues are fixed in version 3.2.8, except "VM does not redirect to page 404".

Thanks to Max and the whole team for the wonderful work.
Be healthy!