Author Topic: VirtueMart 2.9.1 - Bugs and problems  (Read 15054 times)

wajcha001

  • Beginner
  • *
  • Posts: 37
VirtueMart 2.9.1 - Bugs and problems
« 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

wajcha001

  • Beginner
  • *
  • Posts: 37
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #1 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

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10094
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #2 on: May 02, 2014, 17:00:38 pm »
Thank you very much. You have a pn.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

wajcha001

  • Beginner
  • *
  • Posts: 37
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #3 on: May 02, 2014, 19:23:02 pm »
Milbo thanks. I sent you a reply via PM.

wajcha001

  • Beginner
  • *
  • Posts: 37
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #4 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

wajcha001

  • Beginner
  • *
  • Posts: 37
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #5 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

zbig

  • Beginner
  • *
  • Posts: 9
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #6 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?

wajcha001

  • Beginner
  • *
  • Posts: 37
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #7 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

CatsEye

  • Beginner
  • *
  • Posts: 8
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #8 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 :)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10094
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #9 on: May 05, 2014, 12:43:32 pm »
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

For menu items I can not add VM Category layout
Thanks, was already reported. Is fixed in svn.

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.

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 should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

wajcha001

  • Beginner
  • *
  • Posts: 37
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #10 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

CatsEye

  • Beginner
  • *
  • Posts: 8
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #11 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 :)

CatsEye

  • Beginner
  • *
  • Posts: 8
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #12 on: May 06, 2014, 10:53:43 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.


wajcha001

  • Beginner
  • *
  • Posts: 37
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #13 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

wajcha001

  • Beginner
  • *
  • Posts: 37
Re: VirtueMart 2.9.1 - Bugs and problems
« Reply #14 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