VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: giriga on February 10, 2017, 16:42:20 PM

Title: update error 3.0.18 - 3.0.19
Post by: giriga on February 10, 2017, 16:42:20 PM


hi,
I upgraded virtuemart 3.0.18 with VirtueMart 3.0.19.5 Blue Corvus 9444, all the categories and the products have been deleted. Joomla version is 3.6.5 :-[ :-[
Title: Re: update error 3.0.18 - 3.0.19
Post by: jenkinhill on February 10, 2017, 17:01:05 PM
Deleted? You mean gone from the backend?

If you mean the frontend, then check your Menu configurations and the Shopfront settings in Vm Configuration/Templates.
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on February 10, 2017, 20:24:44 PM
We confirm you have been eliminated in the backend
Title: Re: update error 3.0.18 - 3.0.19
Post by: jjk on February 10, 2017, 23:48:20 PM
Do the products still show in the frontend? Are the products still stored in the database? Did you see any error message when you updated your site?
My own update to that version did work. Perhaps clear all administration and site cache files and also your browser cache and try to install it again.
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on February 11, 2017, 16:43:15 PM
I confirm the database products exist, even in the frontend the products do not exist
is the second time I try to update, I always make the same mistake, the installation is successful
Title: Re: update error 3.0.18 - 3.0.19
Post by: jjk on February 11, 2017, 23:33:51 PM
The only thing which comes into my mind at present is to check if 'Italian' is still selected in VM configuration. There was a change in the behavior of the selected admin language. Previously VirtueMart used the Joomla site (frontend) language as the default language in VM administration. The latest versions use the selected Joomla admin language as the default language in the VM Administration. I don't see the language tags of the product tables in your database screenshot. If you entered your products for example into a product table jos_virtuemart_products_en_gb, you will probably not see your products if you have 'Italian' in your VM Configurtion > Language Settings.

BTW - you seem to use both, the Joomla SEO suffix and the VirtueMart SEO suffix ...-details.html
You can disable the .html suffix in Joomla. Its not required anymore since many years ago. 
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on February 12, 2017, 12:44:03 PM
Hello ,
I'm using PHP Version: 5.5.32
phpMyAdmin 4.5.4.1

joomla and virtuemart set as predifinita language Italian I always updated vituemart without problems, it is the first time that happens this error
It may be the fault of the theme using the theme of www.virtuemarttemplates.net.
Title: Re: update error 3.0.18 - 3.0.19
Post by: GJC Web Design on March 13, 2017, 18:24:58 PM
try selecting the Protostar template and also check e.g. the vm category admin settings and if u have menus to VM check these settings
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 13, 2017, 19:56:19 PM
There is a config, which stops the language fallbacks to work. but it is an hidden one, so if you dont know about, .... it wont be the case.
Title: Re: update error 3.0.18 - 3.0.19
Post by: sabikeuk on March 13, 2017, 21:33:29 PM
Quote from: giriga on February 10, 2017, 16:42:20 PM


hi,
I upgraded virtuemart 3.0.18 with VirtueMart 3.0.19.5 Blue Corvus 9444, all the categories and the products have been deleted. Joomla version is 3.6.5 :-[ :-[

Assuming you have backed up your site ? Try to instal the last working version of virtuemart.

See also this:  https://forum.virtuemart.net/index.php?topic=119993.0 Or   https://docs.virtuemart.net/faqs/113-products-vanished.html
Title: Re: update error 3.0.18 - 3.0.19
Post by: sabikeuk on March 13, 2017, 22:03:09 PM
Just updated to 3.0.19 and had the same issue. I have sorted it now like this:

Go to Vm/ Shop. Under Vendor tab there is Image information and languages, after update languages were deleted so I just selected both languages and all done.
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 14, 2017, 12:27:54 PM
Hi,
I did an experiment on local copy
I've installed one by one version

com_virtuemart.3.0.18.1
com_virtuemart.3.0.18.2
com_virtuemart.3.0.18.3
com_virtuemart.3.0.18.4
com_virtuemart.3.0.18.5
com_virtuemart.3.0.18.6
com_virtuemart.3.0.18.7
com_virtuemart.3.0.18.8

Up to this version all right,

I installed com_virtuemart.3.0.18.9

Categories and products deleted
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 15, 2017, 07:38:23 AM
They are not deleted! I am 100% sure. It is as Jörg already tried to explain a problem with your selected language.

Set your joomla default languageS (FE and BE) to italian. Enter your vm config and select on the first tab also italian. Then you should see your products again. If not,.. check the ending of your language tables. When your store is setup in italian, you should see _it_it, in case you see en_gb, you must rename the table to it_it.

More detailed explanations here https://docs.virtuemart.net/manual/general-concepts/214-multilanguage-and-multlingual.html
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 15, 2017, 07:43:10 AM
Quote from: giriga on March 14, 2017, 12:27:54 PM
com_virtuemart.3.0.18.8

Yepp, there I introduced the new language system. As Jörg already said, it uses the selected Backend language for loading. The reason is quite simple, administrators of multilanguage shops can change the BE language and directly see and edit the products in the correct language. The language fallback shows you always the products as long the main language is filled. Before you only saw the already translated products.
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 15, 2017, 09:51:15 AM
hi,
excuse me are not very experienced ....
I attach images
the joomla language is FE and BE in Italian
setting in virtuemart in languages I added language Italian (IT) and does not work, help as I do?
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 15, 2017, 12:54:17 PM
I am not able to read your picture before the "senza label". Which tables have your language data?
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 16, 2017, 09:34:55 AM
Hi, I attach the greatest images, there is no tutorials or video tutorials?
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 16, 2017, 09:48:40 AM
Great :-) as far I can see correct values, but please check also the language settings of "administrator", your pic just shows "sito"

But I need the pic of the phpmyadmin. You must check your "language tables", the one with the suffix it_it. And when you have bad luck, they are en_gb.
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 16, 2017, 12:49:44 PM
hi,
attach image database and BE
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 16, 2017, 17:12:11 PM
So you have products en_gb and it_it. Now you must set the vm language to the one with the data. or better, remove the empty tables and rename the filled ones
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 16, 2017, 18:45:06 PM
Hi, Ok !! I renamed all folders en-en in en-empty and deleted those products and categories have returned, but there is still a problem does not work product selection, when I add the product in the shopping cart and choose the color in the cart out all colors, attach image.

Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 17, 2017, 20:05:05 PM
Hi, Help ! what can I do the selection does not work
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 17, 2017, 20:09:30 PM
I also tried with the demo of my template, it does not work
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 17, 2017, 21:23:34 PM
Yes, I just found this error, is fixed, was just one line. But the selection is correctly stored in the order.
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 18, 2017, 13:22:33 PM
Hi, the error also remains in the order
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 19, 2017, 19:59:50 PM
Hi, I made the 3.0.19.9 upgrade to 3.2.0 now as opposed to before do not select any color (see image)
Title: Re: update error 3.0.18 - 3.0.19
Post by: Pitpan on March 20, 2017, 13:49:22 PM
I have the same problem with custom fields, after 3.0.18--->3.2 update.

No custom fields loaded in cart (no overrides and with native template used)
Title: Re: update error 3.0.18 - 3.0.19
Post by: jenkinhill on March 20, 2017, 15:27:00 PM
For fix see http://forum.virtuemart.net/index.php?topic=136963.msg479108#msg479108
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 21, 2017, 09:25:27 AM
Hi, I changed customfield.php code line 658 there is still an error
I attach images
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 21, 2017, 10:15:49 AM
So the "Area di testo" should be NOT there? Maybe you set the customfield accidently as cart attribute?
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 21, 2017, 11:35:45 AM
Hi, if you look at the image before (3.0.18) there is
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 21, 2017, 19:14:22 PM
You may mislabeled them, the image "after" has "Area di testo"
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 21, 2017, 20:11:57 PM
Sorry, I do not understand the question?
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 21, 2017, 20:52:18 PM
the image "after" has "Area di testo"

not the image "before". So for me it looks like, that you updated to vm3.2 and the "Area di testo" appeared. And I wonder about this customfield. Is it a plugin?
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 22, 2017, 10:42:14 AM
Hi, I enclose picture BE
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 22, 2017, 18:24:13 PM
and the golden start is there, so it is a customfield, which should be shown in the cart. Edit the customprototype and remove the "is cart attribute"
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 22, 2017, 19:59:56 PM
Hi, this problem with version 3.0.18 there was
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 22, 2017, 20:28:00 PM
Hi,
this problem was not with the 3.0.18, after upgrading to the 3.0.19 version came many problems
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 22, 2017, 21:26:20 PM
Why do you downgrade? Stick with vm3.2. You must just configure the prototype (the customfield itself) correctly
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 22, 2017, 22:35:13 PM
I'm sorry I speak little English I do not understand
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 23, 2017, 10:34:36 AM
What does it mean to configure the prototype?
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 23, 2017, 14:13:00 PM
to enter /administrator/index.php?option=com_virtuemart&view=custom and pick the customfield which should not appear there and change the option that it should be cart attribute. It should not
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 23, 2017, 19:36:11 PM
Excuse me, can you tell me what folder is located, thanks
Title: Re: update error 3.0.18 - 3.0.19
Post by: Milbo on March 24, 2017, 07:21:44 AM
not folder, that is a link ! http://mydomain.it/administrator/index.php?option=com_virtuemart&view=custom
Title: Re: update error 3.0.18 - 3.0.19
Post by: giriga on March 24, 2017, 10:30:09 AM
Hi, thank you very much! solved  :D :D
Title: Re: update error 3.0.18 - 3.0.19
Post by: henry_osn on June 26, 2017, 15:59:33 PM
How did you solve it?