VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: wajcha001 on May 02, 2014, 16:06:29 PM

Title: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 02, 2014, 16:06:29 PM
Hello,

I made new topic due some discussion about suggestions in previous one. Sorry  ::)

VirtueMart 2.9.1 from http://dev.virtuemart.net/attachments/download/702/com_virtuemart.2.9.1_extract_first.zip
Apache 2.4.3/PHP 5.4.7/MySQL 5.5.27
Testing on clean Joomla 3.3.0 Stable (template: Protostar)

When VirtueMart Cart module published I'm getting following error:

http://localhost/modules/mod_virtuemart_cart/assets/js/update_cart.js 404 (Not Found)
pattern-caps-detail:31

... and I think it should to be http://localhost/j330vm291/modules/mod_virtuemart_cart/assets/js/update_cart.js

It seems like missing baseURL somewhere.

Thanks
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 02, 2014, 16:10:26 PM
Quick fix about above (maybe not the best one ;) ):

File: /modules/mod_virtuemart_cart/mod_virtuemart_cart.php
Line: 14:
$doc->addScript("/modules/mod_virtuemart_cart/assets/js/update_cart.js");

I replaced it with:
$doc->addScript("modules/mod_virtuemart_cart/assets/js/update_cart.js");

Thanks
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 02, 2014, 17:00:38 PM
Thank you very much. You have a pn.
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 02, 2014, 19:23:02 PM
Milbo thanks. I sent you a reply via PM.
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 03, 2014, 09:59:24 AM
Hello,

VirtueMart Products Module

Language Variables (for example: COM_VIRTUEMART_CART_ADD_TO) doesn't work when a product module is published for example on Joomla Front Page or other default Joomla page (for example: Using Joomla! from the default Joomla sample content). When I open a VirtueMart product details page or other VirtueMart page (module has been assigned to all pages) then variable works and I see "Add to cart" instead of COM_VIRTUEMART_CART_ADD_TO.

This bugs appears only if a VirtueMart Front Page menu item is published.

Thanks
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 04, 2014, 11:30:07 AM
Additionally in Joomla Administrator Panel in the top menu VirtueMart menu item changed the name to menu item alias name and drop down menu stop working.
When I removed VirtueMart front page menu item from my menu then VirtueMart menu item works again in Joomla Admin Panel.
I checked this issue on 2 different J3.3 and VirtueMart 2.9.1 installations on different servers.

Also, when I click PDF icon in product details I'm getting a white screen. No errors or warnings - just white screen. I have set an Errors reporting to Maximum.

Thanks
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: zbig on May 04, 2014, 12:27:13 PM
Welcome. I installed VM 2.9.1, Joomla 3.3.0, PHP Version 5.3.27.
For menu items I can not add VM Category layout
I choose in "Menu Item Type *" - "Category Layout"
After selecting this option, I have an empty box in the "Select a Category"
Of course, I assumed categories, but the menu item does not see them.
Categories I have as "Published". What's going on?
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 04, 2014, 12:47:15 PM
Product Details page - prices

There is some problem with price update. When I select an option from custom field a price should be automatically updated with an additional charge. For example Jumper product from the default VirtueMart sample data; I select L +12,00€ and nothing change. The main price is still the same. This was working properly in 2.6 and below.

Thanks
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: CatsEye on May 05, 2014, 11:15:15 AM
Hi All

We are doing some testing:

The Custom Fields are not working correctly. Custom fields can be created, but when adding them to a product, the addition and information entered is not saved.

This applies to both Custom Fields native to Virtuemart (i.e. Related products) and User created custom fields.

Thanks :)
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 05, 2014, 12:43:32 PM
Quote from: wajcha001 on May 03, 2014, 09:59:24 AM
VirtueMart Products Module

Language Variables (for example: COM_VIRTUEMART_CART_ADD_TO) doesn't work when a product module is published for example on Joomla Front Page or other default Joomla page (for example: Using Joomla! from the default Joomla sample content). When I open a VirtueMart product details page or other VirtueMart page (module has been assigned to all pages) then variable works and I see "Add to cart" instead of COM_VIRTUEMART_CART_ADD_TO.

I was not able to reproduce this

Quote from: zbig on May 04, 2014, 12:27:13 PM
For menu items I can not add VM Category layout
Thanks, was already reported. Is fixed in svn.

Quote from: wajcha001 on May 04, 2014, 11:30:07 AM
Additionally in Joomla Administrator Panel in the top menu VirtueMart menu item changed the name to menu item alias name and drop down menu stop working.
When I removed VirtueMart front page menu item from my menu then VirtueMart menu item works again in Joomla Admin Panel.
I am sorry, I do not really understand what you did.

Quote from: wajcha001 on May 04, 2014, 11:30:07 AM
Also, when I click PDF icon in product details I'm getting a white screen. No errors or warnings - just white screen. I have set an Errors reporting to Maximum.
You must enable the vmdebug. I am going to change it. The reason is that there are people who think it makes sense to have error reporting activated in a live shop. They do not understand the difference between strict standard, notice, warning, error and fatal errors. For some people it is always "there is an error".
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 05, 2014, 13:03:11 PM
Quote
VirtueMart Products Module

Language Variables (for example: COM_VIRTUEMART_CART_ADD_TO) doesn't work when a product module is published for example on Joomla Front Page or other default Joomla page (for example: Using Joomla! from the default Joomla sample content). When I open a VirtueMart product details page or other VirtueMart page (module has been assigned to all pages) then variable works and I see "Add to cart" instead of COM_VIRTUEMART_CART_ADD_TO.

I was not able to reproduce this

I have done following:
1. Published Product Module to all the pages (till now everything works properly)
2. In Menus > Main Menu I added new menu item (type: VirtueMart FrontPage)

Once I added VirtueMart Front Page menu item to my main menu following happen:
1. VirtueMart menu in Joomla Backend main menu stop working. Instead of VirtueMart I see virtuemart-frontpage (which I think is actually an alias of my VirtueMart FrontPage link)
2. Language variables for VirtueMart Products module not working any more.


Quote
Also, when I click PDF icon in product details I'm getting a white screen. No errors or warnings - just white screen. I have set an Errors reporting to Maximum.
You must enable the vmdebug. I am going to change it. The reason is that there are people who think it makes sense to have error reporting activated in a live shop. They do not understand the difference between strict standard, notice, warning, error and fatal errors. For some people it is always "there is an error".

I turned on vmdebug and I'm getting following error now:
Fatal error: Call to undefined method TCPDF::AliasNbPages() in \htdocs\j330vm291\libraries\joomla\document\pdf\pdf.php on line 230
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: CatsEye on May 06, 2014, 09:20:47 AM
Hi

I hope I am posting in the correct place.

Working on a new installation of VM2.9.1.

If I try add a payment method and 'Save', I get the following error:
SQL=SELECT `virtuemart_currency_id` AS value ,CONCAT_WS(" ",`currency_name`,`currency_symbol`) as text FROM `wtij3_virtuemart_currencies` WHERE `virtuemart_currency_id` IN () and (`virtuemart_vendor_id` = "1" OR `shared`="1") AND published = "1" ORDER BY `ordering`,`currency_name`

Thank you :)
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: CatsEye on May 06, 2014, 10:53:43 AM
Quote from: CatsEye on May 05, 2014, 11:15:15 AM
Hi All

We are doing some testing:

The Custom Fields are not working correctly. Custom fields can be created, but when adding them to a product, the addition and information entered is not saved.

@Milbo, I was wondering if you have covered this yet in your development.

Have a great day and thanks for everything

This applies to both Custom Fields native to Virtuemart (i.e. Related products) and User created custom fields.

Thanks :)

Following on to this, we also dont seem to have "Cart Variant' available in the drop downs.

Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 06, 2014, 11:03:39 AM
Not sure if this was already mentioned. There is a small problem with an images on a cart. What I did is following:

1. Go to Components > VirtueMart -- Configuration tab
2. Open 'Checkout' tab
3. Select 'Show product images' and click Save button

What happened after I selected Save button is following:
1. The 'Show product images' check box is still unchecked
2. An images on cart view does not appear

Thanks
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 06, 2014, 13:16:43 PM
Hello,

there is another problem. When I tried to use VirtueMart Manufacturer module I received following error:

Warning: require(\xampp\htdocs\j330vm291\test3/administrator/administrator/components/com_virtuemart/helpers/config.php): failed to open stream: No such file or directory in \xampp\htdocs\j330vm291\test3\modules\mod_virtuemart_manufacturer\helper.php on line 16

Fatal error: require(): Failed opening required '\xampp\htdocs\j330vm291\test3/administrator/administrator/components/com_virtuemart/helpers/config.php' (include_path='.;\xampp\php\PEAR') in \xampp\htdocs\j330vm291\test3\modules\mod_virtuemart_manufacturer\helper.php on line 16

Thanks
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 06, 2014, 15:22:19 PM
Quote from: CatsEye on May 05, 2014, 11:15:15 AM
Hi All

We are doing some testing:

The Custom Fields are not working correctly. Custom fields can be created, but when adding them to a product, the addition and information entered is not saved.

This applies to both Custom Fields native to Virtuemart (i.e. Related products) and User created custom fields.

Thanks :)

I think it is the same as here http://forum.virtuemart.net/index.php?topic=123664.0 When you update manually, then you must execute the tableupdater.

Quote from: wajcha001 on May 05, 2014, 13:03:11 PM
Fatal error: Call to undefined method TCPDF::AliasNbPages() in \htdocs\j330vm291\libraries\joomla\document\pdf\pdf.php on line 230
Yepp, thanks missed to write that I fixed it.
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 06, 2014, 15:36:44 PM
Not sure what is happening with these modules or Joomla templates. I had a problem with Category, Manufacturers and VM Search modules (reported above).
I switched the template to Beez3 and they works properly. I switched back to Protostar template and they still works. No errors. Before I got an errors on Protostar.

Is this some caching problem? LOL... will go crazy  ;D
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 06, 2014, 15:48:03 PM
Quote from: wajcha001 on May 06, 2014, 13:16:43 PM
Warning: require(\xampp\htdocs\j330vm291\test3/administrator/administrator/components/com_virtuemart/helpers/config.php): failed to open stream: No such file or directory in \xampp\htdocs\j330vm291\test3\modules\mod_virtuemart_manufacturer\helper.php on line 16

Fixed in vm2.9.1, did you update the AIO?
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 06, 2014, 15:50:45 PM
Quote from: wajcha001 on May 06, 2014, 11:03:39 AM
Not sure if this was already mentioned. There is a small problem with an images on a cart. What I did is following:

1. Go to Components > VirtueMart -- Configuration tab
2. Open 'Checkout' tab
3. Select 'Show product images' and click Save button

What happened after I selected Save button is following:
1. The 'Show product images' check box is still unchecked
2. An images on cart view does not appear

Thanks

Thank you fixed. Was a kind of typo. The whole config view is rewritten to use more

echo VmHTML::row('checkbox','COM_VIRTUEMART_ADMIN_ONCHECKOUT_SHOW_PRODUCTIMAGES','oncheckout_show_images',VmConfig::get('oncheckout_show_images',0));

and there was just the VmConfig::get('oncheckout_only_registered',0) of the line above. This is the main problem in vm3. We had to change all JText, all JRequest. So there was a lot routine stuff todo but it is almost impossible todo it without errors.
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 06, 2014, 15:54:01 PM
Like a dog with a bone... sorry ;)

Template: Protostar

When a search module is published to position-0 everything works great:
<jdoc:include type="modules" name="position-0" style="none" />
mentioned problem does not appear.

When I changed a module position to position-7 then a problem appears.
<jdoc:include type="modules" name="position-7" style="well" />

Warning: require(\xampp\htdocs\j330vm291\test3/administratorcomponents/com_virtuemart/helpers/config.php): failed to open stream: No such file or directory in \xampp\htdocs\j330vm291\test3/\modules\mod_virtuemart_search\mod_virtuemart_search.php on line 17

Fatal error: require(): Failed opening required '\xampp\htdocs\j330vm291\test3/administratorcomponents/com_virtuemart/helpers/config.php' (include_path='.;\xampp\php\PEAR') in \xampp\htdocs\j330vm291\test3/modules\mod_virtuemart_search\mod_virtuemart_search.php on line 17

I was trying if this happens when I change:
<jdoc:include type="modules" name="position-7" style="well" />
to:
<jdoc:include type="modules" name="position-7" style="none" />
but no. The same problem appears. When position-0 everything is great.
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 06, 2014, 15:56:36 PM
Quote from: Milbo on May 06, 2014, 15:48:03 PM
Quote from: wajcha001 on May 06, 2014, 13:16:43 PM
Warning: require(\xampp\htdocs\j330vm291\test3/administrator/administrator/components/com_virtuemart/helpers/config.php): failed to open stream: No such file or directory in \xampp\htdocs\j330vm291\test3\modules\mod_virtuemart_manufacturer\helper.php on line 16

Fixed in vm2.9.1, did you update the AIO?

Yes, AIO from 2.9.1 package you posted before. Clean installation.
Sorry, trying my best to check everything.

Maybe I'm testing too long ;) LOL
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 06, 2014, 16:05:34 PM
Quote from: olejenya on May 04, 2014, 17:09:05 PM
Hello.Joomla 3.2.3. VM 2.9.1
Some problems for screenshot

Thanks for the first screenshot, is fixed.
the seconed is already fixed,
I do not understand the 3rd screenshot.
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 06, 2014, 16:25:56 PM
Quote from: Milbo on May 06, 2014, 15:48:03 PM
Quote from: wajcha001 on May 06, 2014, 13:16:43 PM
Warning: require(\xampp\htdocs\j330vm291\test3/administrator/administrator/components/com_virtuemart/helpers/config.php): failed to open stream: No such file or directory in \xampp\htdocs\j330vm291\test3\modules\mod_virtuemart_manufacturer\helper.php on line 16

Fixed in vm2.9.1, did you update the AIO?

Please pass my appologie. I had to have something cached. What I did now is following:

1. Installed again J3.3.0 and VM2.9.1 (again downloaded from http://dev.virtuemart.net/projects/virtuemart/files 10 minutes ago)
2. Published all the modules to home page
3. Change the template to Beez3 and everything works
4. Change the template back to Protostar and eveerything seems to work

Sorry... it was me panic  :-X

Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 06, 2014, 17:41:17 PM
Quote from: wajcha001 on May 06, 2014, 15:54:01 PM
Like a dog with a bone... sorry ;)

Actually very good. Thumbs up, you help us very much.

Quote from: wajcha001 on May 06, 2014, 16:25:56 PM
Quote from: Milbo on May 06, 2014, 15:48:03 PM
Quote from: wajcha001 on May 06, 2014, 13:16:43 PM
Warning: require(\xampp\htdocs\j330vm291\test3/administrator/administrator/components/com_virtuemart/helpers/config.php): failed to open stream: No such file or directory in \xampp\htdocs\j330vm291\test3\modules\mod_virtuemart_manufacturer\helper.php on line 16

Fixed in vm2.9.1, did you update the AIO?

Please pass my appologie. I had to have something cached. What I did now is following:

1. Installed again J3.3.0 and VM2.9.1 (again downloaded from http://dev.virtuemart.net/projects/virtuemart/files 10 minutes ago)
2. Published all the modules to home page
3. Change the template to Beez3 and everything works
4. Change the template back to Protostar and eveerything seems to work

Sorry... it was me panic  :-X

No, nothing to say sorry. You found a bug and you are absolutly right. The problem appeared due different ordering loading the modules. Some modules had still a wrong path. I rechecked it. I am going to upload the vm2.9.2 now.
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 06, 2014, 17:55:00 PM
Ok, thank you. LOL ... I was sure I'm crazy becasue these modules.

Lets hope this is the last RC before Stable ;)
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 07, 2014, 19:44:07 PM
Quote from: Milbo on May 06, 2014, 17:41:17 PM
No, nothing to say sorry. You found a bug and you are absolutly right. The problem appeared due different ordering loading the modules. Some modules had still a wrong path. I rechecked it. I am going to upload the vm2.9.2 now.

Milbo any news about 2.9.2 release?
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 07, 2014, 21:01:35 PM
http://dev.virtuemart.net/attachments/download/706/com_virtuemart.2.9.2_extract_first.zip

Olejenya, ahhrgh,.. yes.... damn. The edit address loads it correctly in the cart and for the cart edit address, but not in the normal view edit address. Strange. Cant take long, cause it is the same view, just another layout. Hmm but now I uploaded already. So please just test so long anything else (address input for cart should work!).
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Anne M on May 13, 2014, 14:12:02 PM
Cannot delete product from cart
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: wajcha001 on May 13, 2014, 15:38:25 PM
Quote from: Anne M on May 13, 2014, 14:12:02 PM
Cannot delete product from cart

The same problem appears on 2.9.2. Update button works properly but Delete not
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 13, 2014, 20:55:37 PM
yes, thanks I found that myself. vm2.9.3 is coming this night
Title: Re: VirtueMart 2.9.1 - Bugs and problems
Post by: Milbo on May 14, 2014, 00:02:27 AM
uploaded