VirtueMart Forum

VirtueMart 2 + 3 => Virtuemart Development and bug reports => Topic started by: Milbo on February 16, 2012, 02:42:31 am

Title: New pre subrelease VirtueMart 2.0.1 N
Post by: Milbo on February 16, 2012, 02:42:31 am
This is a new pre subrelease VirtueMart 2.0.1 compatible to j1.5 and j1.7 and j2.5  PLEASE USE VM2.0.2! now

Before you test it. Work at best with a copy of your system first and never with your live system. This is very important, we do this release first in the forum, because there are really a lot of different systems outside. The installer worked fine for most of the crew, but on one system it did not work. Be aware that the 2.0.1 version is only an updater for 2.0.0, when you have an other version, then please look here http://forum.virtuemart.net/index.php?topic=96941.msg318963#msg318963

Do NOT use the built-in ars updater,.. it will downgrade your version to 2.0.0 again, because the 2.0.1 is not official.

Except that the stockable variants are still not working we are quite confident now.

Update N:
- new custom, which chooses automatically all childs of a product (without category) and creates a dropdown list.
   You can use this to create variants of a product. At the moment it is only a quick thing using the product name, using product attributes will follow
- Customisable Page titles per category and product
- the cart shows when everything fits directly confirm and so we have now the 1 click checkout (when already registered and already agreed)
- enhanced invoice creation
- various other small fixes here and there.
- new router, should be more failprove. Old router made errors, when languagekey was not translated and simular.

http://dev.virtuemart.net/attachments/download/388/com_virtuemart.2.0.1.N_extract_first.zip


Update K:
nice order_numbers and invoice_numbers
facebox js fix, compatibility fix for jquery
plugins for shipment/payment selection work again
various other fixes,

Update H:
Various little fixes

Update F:
a lot small bug fixes, written in the forum

Update E:
- Cloning of products, clones now also the customs.
- Enhanced accountmaintance.
- ... and more

Update D:
- fixed the bug with order creation not allowed
- various small fixes
- added languages to aio

Update c:
AIO has now
new payment plugins
- payzen
- authorize.net
and PDF support

- ordering for payment/shipment method display in checkout fixed
- some j2.5 blockers,
- faster media synchronisation
- some fixes in the migrator
- fix products not listed in joomla menu edit, when product details layout is selected
- fix stockupdate customfields
- other fixes in customfields
- non vendors now stored with vendorid= 0
- small typos here and there

Update b:
- Mainly emails
- calculation rules get stored in order
- search query
- aio, config should not been overwritten.

Update:
- fix for order list
- emails a bit fixed (BT address)
- fixed router (checkout, edit address cart)
....

Fixes, improvments, enhancments:
- updated language, minor language fixes, removed unused keys, other expressions
- more multibyte handling
- fixed slug generation
- sef links
- new router file
- some js fixes
- some template stuff
- fix for limit "all" in category
- Fix for passed variable is not an array vmcustomplugin
- new getModel method to avoid not reproduceable bugs
- Deletion of data, handling data
- some more triggers (plgVmOnAddToCart)
- some performance tweaks
- customisable positions for customfields in the productdetails/tmpl/default.php
- media is now handling downloadables ( free download) and also files for sale in another directory then joomla, but uses thumbs in the joomla directory. This is extendable by a plugin. We are in the last testphase of it.
- tooltip for filter in mediahandler
- medias get actually unpublished now (Check first if your media is published, before thinking that all images are deleted)
- vendor view added, extended with layout for tos, about and contact, there is also now a legal info for extra information.
- added register layout in user view
- minors in shipment and payment methods
- corrected error that prevent other administrators in j1.7 to act as the mainvendor.
- fixed price override display for anonymous
..... some small enhancments, fixes and bugs mainly written in the forum.

updated: http://dev.virtuemart.net/attachments/download/388/com_virtuemart.2.0.1.N_extract_first.zip
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: enock on February 16, 2012, 02:57:59 am
Vm2.0.1.K Reorder products filtered by Category - still broken

VM 2.0.1.N still broken

Attached image of Reording then saving 44, 53, 3 ,16 ?

[attachment cleanup by admin]
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: murat on February 16, 2012, 06:02:03 am
Still error when "checkout as guest" with "enable SEO"
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: samsontumanyan on February 16, 2012, 10:30:11 am
Hi!
I can՛t find save button, when changing product detailes from frontend

And, it will be fine to enable product's pictures multiply uploading

THANK YOU A LOT!
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: PRO on February 16, 2012, 12:37:59 pm
Still error when "checkout as guest" with "enable SEO"

WHAT is the error?
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: clabis71 on February 16, 2012, 15:00:27 pm
When installation AIO, report error: loading in the server
Solution?
Joomla 2.5.1
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: Tom Goedhart on February 16, 2012, 15:47:07 pm
After upgrade, my images won't show. Now getting the default 'no-image' image.

http://devinemedia.nl/verbiest/index.php/test-cursus

Joomla 2.5 and VM 2.0.1K

Update: Added a new product and a new image and now the image shows. What to do now? I don't want to re-add all my images again.
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: glasya on February 16, 2012, 15:59:37 pm
After upgrade, my images won't show. Now getting the default 'no-image' image.

http://devinemedia.nl/verbiest/index.php/test-cursus

Joomla 2.5 and VM 2.0.1K

Update: Added a new product and a new image and now the image shows. What to do now? I don't want to re-add all my images again.

Your images probably still exist, go edit an existing product and activate the image again.
I had the same problem and that's what fixed it for me however i could not find a quick database alteration to do this for all products yet
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: murat on February 16, 2012, 16:06:47 pm
Still error when "checkout as guest" with "enable SEO"

WHAT is the error?

With SEO enabled when i click checkout as guest i see page where i should register, but it should return to cart.
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: cas on February 16, 2012, 17:01:46 pm
Milbo, where is my post with the problems?
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: franzpeter on February 16, 2012, 18:19:54 pm
@Milbo

just a question: I remember a virtuemart version with a different database. Is it now a decision to continue without using those bigint auto increment fields for child tables. There was a version with a database which contained such fields, say we had a product table with the product_id a.s.o and a child table say for the product price with the product_id but additionally an auto increment id as bigint. Did and does that disappear for actual versions of VM 2 and future versions of VM 2?
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: prismalight on February 16, 2012, 18:40:08 pm
Hi,
I tested version 2.0.1K. The upgrade went well. I still have the remaining issue with add to card. I can do everything else, e.g. ask a question is working perfectly. I am using a component Wishlist. The wishlist is like a cart and there I can add products. The difference I see in wishlist and ask a question is, that they are using URL with params and not post with hidden fields.
Please have a look into it.
Thanks
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: observ3r on February 16, 2012, 19:30:40 pm
Joomla 2.5.1 and VM 2.0.1K

-Product view does not show price
-on the administrator side, when i attempt to create a new "product details" menu item - the page takes much longer to show up and then shows up without css and missing the usual input fields and joomla save/edit/saveclose buttons
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: Milbo on February 16, 2012, 20:17:29 pm
Milbo, where is my post with the problems?
Im the same board, just as on thread.
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: cas on February 16, 2012, 21:28:50 pm
Im the same board, just as on thread.

Many of the items I listed had been posted awhile ago with no response.  I wanted a status update on the items so I can report it back to my customer.
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: janis on February 17, 2012, 00:39:22 am
i'm in ubuntu right now..

some strange's things happen don't know if it's a bug or i forgot something the put in the php settings..
i install 5.3.9

but when i upload a picture i get a blank page.(not all but some, i did resize them but that didn't help)
if i open it in the front i get a blank page and if i click in the backend i get blank page..
when removed the picture i get the product to see...
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: ktata57 on February 17, 2012, 08:23:41 am
Today I upgraded 2.0.1 K on Joomla 1.7.3.

I have selected Enable Automatic Selected Shipment and Enable Automatic Selected Payment. I am using only PAYPAL PAYMENT method using VM- Payment,Paypal method. Found two new options in Paypal Payment Method - Let buyers override their PayPal addresses? selected as [No] and  Prompt buyers for a shipping address? selected as [Do not prompt for an address]. But still I am facing following problems.

1. Please select a payment method. I don't see any payment method to select. Since I have selected Enable Automatic Selected Payment and using only one payment method Paypal method should be automatically selected, But see a blank page with Please select a payment method. In fact I am seeing this since I shifted from 2.0.0 to 2.0.1 various versions till version 2.0.1 K. I hope this is solved in future versions or final version.

(http://www.ktworksheets.com/PaymentMethod.jpg)

2. After a shopper adds products to cart, and the shipment and payment method are automatically selected, shopper is taken to page where a shopper who should be a registered user can either login or should register but the page shows login username and password and Add/Edit billing address information below containing just Email and I agree to the Terms of Service to fill. I have attached picture to show this. Instead of Add/ Edit billing address information how to add register below form with required fields?


[attachment cleanup by admin]
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: Freik on February 17, 2012, 08:34:15 am
Bug:
Blank screen with the only HTML coming from the server being '<!-- SHTML Wrapper - 500 Server Error -->'. Both frontend and backend, and all pages on them, display nothing.

Here's what I did. I was trying to put up a ZIP folder as a downloadable product:
Created a new media item in the Media menu, gave it a unique name, set it for 'for sale', entered the files location on the server, selected 'Replace Thumbnail', browsed to an image on my machine, hit Save.

Here's a few errors from my server log that appear when I try to access my site after the bug:
[Thu Feb 16 23:41:10 2012] [error] [client 174.***.***.***] SoftException in Application.cpp:601: Directory "/home2/account/public_html/siteroot" is writeable by group
[Thu Feb 16 23:41:10 2012] [error] [client 174.***.***.***] Premature end of script headers: index.php
[Thu Feb 16 23:41:10 2012] [error] [client 174.***.***.***] Premature end of script headers: 500.php
[16-Feb-2012 23:28:30] PHP Warning:  Missing argument 2 for VirtueMartModelMedia::store(), called in ***/administrator/components/com_virtuemart/controllers/media.php on line 76 and defined in ***/administrator/components/com_virtuemart/models/media.php on line 337

The only way to fix it (that I found) was to reinstall Joomla. I reproduced this twice.

UPDATE: I managed to reproduce this a few more time and I also found a way to bypass it. If I first just upload the product image, set it as 'for sale', then save, I can then go back and point its URL to the ZIP folder. Kind of a roundabout way, but at least it doesn't destroy the site.
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: Milbo on February 17, 2012, 22:42:09 pm
Freik, you must first upload the image using save. So you tried to replace a thumbnail of a non existing media.

Imho the real bug is that it shows "replace thumb" when you press on new.
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: Milbo on February 17, 2012, 22:43:29 pm
ktata57

I think this a setting problem, look on your shopperfields.

can you do a screenshot of this please? "1. Please select a payment method. I don't see any payment method to select. "
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: smimish on February 17, 2012, 23:36:43 pm
Another little bug:
go to Configuration -> Shopper Fields.
The navigation toolbar in the footer does not show buttons "next, previous" etc. It just shows "Display # 10"
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: cas on February 17, 2012, 23:57:24 pm
Someone changed the vmsite-ltr.css and now on the product details page the Related Products display in a single column.  We had fixed this before so related products went across the page.  Here is the correct css:

/* Related Products */
.product-related-products {width:100%;display:inline-block;padding-bottom:0;}
.product-related-products .product-field {width:15%;float:left;margin-bottom:15px;text-align:left;}
.product-related-products .vm-img-desc {font-size:9px;text-align:left;}


They also modified the Additional Images and now they don't look as good.  Here is the correct css:

/* Additional Images */
.additional-images div {width:15%;float:left;margin-bottom:15px;}
.additional-images .vm-img-desc {font-size:9px;text-align:left;}

Can someone please add this back into the vmsite-ltr.css
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: lipes on February 18, 2012, 00:44:22 am
Hi Milbo.

1 - It's possible to see (somewhere) what's the last VM2 version that we have instaled?  I don't remember if i already got instaled the 2.0.1 k or any other version...

2 - A month ago I wrote here ( http://forum.virtuemart.net/index.php?topic=96363.0 ) that I found a possible error in the module virtuemart product .. but no one has answered yet .. or corrected my question.

The file default.php in line number 5

if ($ products_per_row> 1) {$ float = "floatleft";}

What I think should be:
if ($ products_per_row> 1) {$ float = "float:left";}

correct?

3 - in the Zip file com_virtuemart_ext_aio_2.0.1.K.zip  we got this code in synchrow.cmd
xcopy C:\Users\Milbo\Coden\workspace\VM2_j17\language C:\Users\Milbo\Coden\workspace\VM2-AllInOnceInstaller\admin\languageFE /Y /E
this is normal or we have to change this line?
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: PRO on February 18, 2012, 12:59:28 pm
floatleft should b a css class in your  css folder.
THATS a class, not style
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: ktata57 on February 18, 2012, 15:24:09 pm
Hi Milbo,

I am sending screenshots as attachments for my queries/problems as requested.

1. Please select a payment method. Even after selecting Enable Automatic Selected Payment and using only one payment method Paypal method which should be automatically get selected but it is not getting selected and I see just a blank page with Please select a payment method as shown in the screenshot attachment. In fact I am seeing this since I shifted from 2.0.0 to 2.0.1 various versions till version 2.0.1 K. I hope this is solved in future versions or final version.


 2.Shopper Fiields Actually I don't want shipping details as my site sells downloadable products. But I do not see any option for this. So I selected Enable Automatic Selected Shipping option and created a shipment method with name "No shipment required" Unlike the above single payment method that does not get automatically selected this single shipment method "No shipment required" is automatically getting selected.

Now after a shopper adds downloadable products to cart, and the shipment and payment method should be automatically selected, shopper is taken to page where a shopper who should be a registered user can either login or should register but the page shows login username and password and Add/Edit billing address information below containing just Email and I agree to the Terms of Service to fill.

Instead of Add/ Edit billing address information how to add register below form with required fields?

Since I do not want shipping details, I have not used the address, pincode, country and the rest shopper fields. Also I have removed email, password, agreed terms of service, name, and username shopper fields from show in shipment form but are included in Show in registration form. Now even if I want I cannot activate show in shipment form. What to do?  I am sending screenshots of my shopper fields page and the shopping cart page.


[attachment cleanup by admin]
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: lipes on February 18, 2012, 19:15:49 pm
Hi  BanquetTables.pro

But if i change to that code to the default floatleft my random products displays the products in wrong way!!
if i change to float:left   works fine!!
So what's wrong with this?!

my HTML code says that this is a style, not a class:
<div style="floatleft" class="width20">

so it's a error / bug for me! :/
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: PRO on February 18, 2012, 19:41:39 pm
Hi  BanquetTables.pro

But if i change to that code to the default floatleft my random products displays the products in wrong way!!
if i change to float:left   works fine!!
So what's wrong with this?!

my HTML code says that this is a style, not a class:
<div style="floatleft" class="width20">

so it's a error / bug for me! :/

this has been fixed , in the next release
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: lipes on February 18, 2012, 19:50:12 pm
so.. its an error, right?
Title: Re: New pre subrelease VirtueMart 2.0.1 K
Post by: PRO on February 19, 2012, 14:05:32 pm
so.. its an error, right?

You can call it an error, i will call it an oversight, after all. I am the one that did it :D

Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: lipes on February 20, 2012, 01:50:17 am
ok BanquetTables.pro!  Now i see that this is solved in last version 2.0.1 N .. its fine! :)

But I got another problem ... my add to cart button doesnt work...
I try to click in random products .. doesnt work..
i click on picture.. and go to product display page... and also try to add the product to the cart.. but nothing works!! :/
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: lipes on February 20, 2012, 02:01:21 am
update..

I saw that many clicks that I was doing to try "add to cart" some products they go to the cart...
But the problem is that the fast popup box doesnt appear like in the old versions ...
and the VM - Shopping cart Module is not showing in fast way "real / live" product list like this module do on old versions...

to update the information i have to go here to see what i got on cart:
.../index.php/component/virtuemart/cart?Itemid=0

Resume: if i click on "add to cart" product button... no popup display .. and no "real/live" update info in VM - Shopping cart module (says "CART EMPTY") and this is not true until i paste the url in local host "/index.php/component/virtuemart/cart?Itemid=0"... and see how many product i got in cart without our knowledge  :/
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: PRO on February 20, 2012, 04:14:32 am
update..

I saw that many clicks that I was doing to try "add to cart" some products they go to the cart...
But the problem is that the fast popup box doesnt appear like in the old versions ...
and the VM - Shopping cart Module is not showing in fast way "real / live" product list like this module do on old versions...

to update the information i have to go here to see what i got on cart:
.../index.php/component/virtuemart/cart?Itemid=0

Resume: if i click on "add to cart" product button... no popup display .. and no "real/live" update info in VM - Shopping cart module (says "CART EMPTY") and this is not true until i paste the url in local host "/index.php/component/virtuemart/cart?Itemid=0"... and see how many product i got in cart without our knowledge  :/

do you have a menu item to the cart? you can createa hidden joomla menu, and add menu items to things like the cart.

and set the alias etc.

ALSO: there was a problem, I was getting with SEF links on the latest release. BUT its fixed already in the svn. So, I am sure he is working on it, and will change the download file soon.

Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: ktata57 on February 20, 2012, 04:48:41 am
Upgraded to 2.0.1 N on Joomla 1.7.3.  I found following errors.

1. Products are not adding to the cart.

2. Please select a payment method with no payment method to select although using one method - PAYPAl and enabled automatic selected payment. This problem was there in K and earlier versions of 2.0.1. I have mentioned this in my post http://forum.virtuemart.net/index.php?topic=98112.msg324069#msg324069 with screenshots.

3. Also to buy products shoppers go to page should show login or registration forms but containing login and billing forms. This problem also existed for me in previous versions and 2.0.1 N too. I explained this also in http://forum.virtuemart.net/index.php?topic=98112.msg324069#msg324069 with screenshots.

What to do ? My site page containing products is http://ktworksheets.com/paid  Please help.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: samsontumanyan on February 20, 2012, 06:41:01 am
After upgrade VM 2.0.1 N on Joomla! 2.5.1 I have got an error:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/pcelectronics/www/pc-electronics.am/test/administrator/components/com_virtuemart/models/user.php on line 129

What is this?

Thanks!

UPDATE:

I just commented

/*function getVendor($vendorId){
      $vendorModel = VmModel::getModel('vendor');
      $userId = $vendorModel::getUserIdByVendorId($vendorId);
      if($userId){
         $this->setUserId($userId);
         return $this->getUser();
      } else {
         return false;
      }

   }*/

in file

/administrator/components/com_virtuemart/models/user.php


and my site now working.

Why it's happen?


Thanks!


Now I uncommented this code, and removed "$"

in line 129

$userId = $vendorModel::getUserIdByVendorId($vendorId);

$userId = vendorModel::getUserIdByVendorId($vendorId);
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: ktata57 on February 20, 2012, 09:56:06 am
After upgrade VM 2.0.1 N on Joomla! 2.5.1 I have got an error:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/pcelectronics/www/pc-electronics.am/test/administrator/components/com_virtuemart/models/user.php on line 129

What is this?

Thanks!

UPDATE:

I just commented

/*function getVendor($vendorId){
      $vendorModel = VmModel::getModel('vendor');
      $userId = $vendorModel::getUserIdByVendorId($vendorId);
      if($userId){
         $this->setUserId($userId);
         return $this->getUser();
      } else {
         return false;
      }

   }*/

in file

/administrator/components/com_virtuemart/models/user.php


and my site now working.

Why it's happen?


Thanks!


Now I uncommented this code, and removed "$"

in line 129

$userId = $vendorModel::getUserIdByVendorId($vendorId);

$userId = vendorModel::getUserIdByVendorId($vendorId);

Hi samsontumanyan

I too faced this error after upgrading to 2.0.1 N. Instead of removing $ sign I used -> sign instead of :: in line 129 code

$userId = $vendorModel::getUserIdByVendorId($vendorId);

So my code is

$userId = $vendorModel->getUserIdByVendorId($vendorId);  It has worked for me. But my products are not getting added to cart after moving to 2.0.1 N. Any idea?
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: Margriet on February 20, 2012, 11:59:43 am
Sorry, missed this topic, so started a new one (can be deleted by moderator).
http://forum.virtuemart.net/index.php?topic=98310.0 (http://forum.virtuemart.net/index.php?topic=98310.0)
Great that you guys are proposing solutiions, but I really think that this should be done by the developers in a new version update.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: janis on February 20, 2012, 13:43:29 pm
hi

feature request..

it seems i forgot to install php5-gd on my server.
in the config i did get a error. but i didn't notice it..
it take me 8days to find the problem.

can there be a better error alert..
maybe the same one if there isn't a currency filled in.

gr.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: orangia on February 20, 2012, 14:19:46 pm
I upgraded to Virtuemart 2.0.1 N today (Joomla 2.5.1).
Have been waiting for the Child custom field to work. So I made a new Custom field with COM_VIRTUEMART_CHILD_GENERIC_VARIANT with Cart attribute option.
Added this to the product that has children and got this error: getUncategorizedChildren sql error.
Did I make something wrong or is it a bug?

Thanks,
Johanna
Title: White Screen after installing 2.0.1.N
Post by: tiramizu on February 20, 2012, 16:36:32 pm
After installing VM 2.0.1.N I just get a white screen by entering a section or a product.
Before - with the previous package, I just got the product name on a all white site...

The product categories in the VM module don´t work propperly, too - when I click on a section not all products in there are displayed.

I Use J! 2.5.1. - take a look on www.tiramizu.de
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: lipes on February 20, 2012, 23:52:55 pm
i dont have an menu item to go the cart.

My cart module its located in one div id="footer " with position: fixed ...

my index had a total of 10 random products ... (with 2 lines of 5 products each one)... and i got the button of "add to cart" in every product..
Now in 2.0.1 N if i click in "add to cart" button i cant see the popup and the VM - Shopping cart module doesnt work like it was before...


I've discover another thing.. in Shop User registration:

if we miss the "Name  (* with asterisk too)" or the address form.... we can see the missed forms in RED light
If we dont select the User "Country (* with asterisk)" form ..... that dont go to RED obligation condition to user can see what he/she missed...   
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: tech on February 21, 2012, 00:26:49 am
Quote
Except that the stockable variants are still not working we are quite confident now.


Curious ... so I assume this means like if I have 5 colors for a shirt ... it will be able to track the inventory of each? Do they each also get a SKU? Thanks.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: Milbo on February 21, 2012, 00:57:09 am
Quote
Except that the stockable variants are still not working we are quite confident now.


Curious ... so I assume this means like if I have 5 colors for a shirt ... it will be able to track the inventory of each? Do they each also get a SKU? Thanks.

You can do that now, add an automatic child variant to your product. Add some childs to the product. All childs are real products. Important the children must not have a category!
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: Dokho on February 21, 2012, 01:20:56 am
Hey everyone, we updated the RC3 to 2.0.1 N version and after the install we found the next error :

Fatal error: Call to a member function getListFooter() on a non-object in /home/xxxxx/public_html/administrator/components/com_virtuemart/views/currency/tmpl/default.php on line 129

After reading and fixing the issue in line, changing this :

$userId = $vendorModel::getUserIdByVendorId($vendorId);

for this:   

$userId = vendorModel::getUserIdByVendorId($vendorId);   

removing the $, we get the next error :

Parse error: syntax error, unexpected T_PUBLIC in /home/content/94/8495494/html/administrator/components/com_virtuemart/models/user.php on line 862.

What can we do ?
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: DavidAllenNeron on February 21, 2012, 01:56:29 am
is there any update yet on the downloadable products yet?

I really need this for my site as all of my items are downloadable :(

Sorry to bug, but it's crucial.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: John2400 on February 21, 2012, 08:51:12 am
I to updated to to "N" - using 2.5.1 Joomla - I also got
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/xxxxxxxx/public_html/administrator/components/com_virtuemart/models/user.php on line 129

On the front page of my website - I see two suggestions below - just wondering which is the best - do I roll back or wait?

My site was working well - so I'm sure this is just an extra symbol or comma somewhere ?
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: ktata57 on February 21, 2012, 09:09:03 am
@John2400

Use -> instead of :: in the code    $userId = $vendorModel::getUserIdByVendorId($vendorId); in the file user.php and the error T_PAAMAYIM_NEKUDOTAYIM should be gone. I too faced this error when updated to 2.0.1 N on Joomla 1.7.3.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: John2400 on February 21, 2012, 09:21:20 am
Update :    Hi I can confirm that I downloaded the file to Dreamweaver and it actually tells me the code is incorrect but my php - knowledge is not good- but I then took out the $ symbol in front of the Vendor Model.

Line 129 now reads

$userId = vendorModel::getUserIdByVendorId($vendorId);

This looks ok as the front page of my website returned - Now I'll just look at other things -

I am using VM 2.0.1 N and joomla 2.5.1 thanks .

Thankyou

The comment below here was my original reply to Ktata57

No I replaced that exact line as you wrote?? Still the same?

Could you check it for me: Lines 127 to 132

function getVendor($vendorId){
      $vendorModel = VmModel::getModel('vendor');
      $userId = $vendorModel::getUserIdByVendorId($vendorId);
      if($userId){
         $this->setUserId($userId);
         return $this->getUser();
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: mhpanna on February 21, 2012, 10:29:07 am
Hello Milbo,

You are doing a great job! I really love VirtueMart and waiting to use it on my Joomla 2.5.1.

I Installed the 2.0 version and not working for my Joomla.

I can see that you are updating the Cart day by day and really working hard. Is there any estimated date by which you will release the stable edition OR when you will see the cart is stable and getting no error, you will release it?

I'm really waiting and eager to know bout it. Thanks :)
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: Milbo on February 21, 2012, 11:34:33 am
The last trouble is the line 129, please use this line
$userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId);
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: John2400 on February 21, 2012, 11:42:38 am
Yep updated - Thanks

works for me -

Versions joomla 2.5.1 and VM 2.0.1 version n with "modification has solved

"Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/xxxxxxxx/public_html/administrator/components/com_virtuemart/models/user.php on line 129"

Thank you Milbo - especially as it is 38 Deg here and 100 humidity - and " aussie expression"" bloody hot"
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: samsontumanyan on February 21, 2012, 11:52:01 am
Thanks!
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: ktata57 on February 21, 2012, 12:10:26 pm
Hi Milbo, John2400

Using 2-0.1 N on Joomla 1.7.3 Updated line 129 $userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId); Products are adding to cart only in IE but not in Firefox or Chrome
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: John2400 on February 21, 2012, 12:38:54 pm
Had a look at  - JM 2.o.1 n + modification  for  2.5.1 joomla

Chrome, Explore , Firefox - sorry all good for me

1.7.5 maybe just it that version
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: shomonrobie on February 21, 2012, 16:56:20 pm
hello there,

I am having following problem, while clicking on the product.



Rating: Not Rated Yet
Price: ( ! ) Notice: Undefined variable: url in C:\wamp\www\sourcing\components\com_virtuemart\views\productdetails\tmpl\default_showprices.php on line 32 Call Stack #TimeMemoryFunctionLocation 10.0012382688{main}( )..\index.php:0 20.951510812584JSite->dispatch( )..\index.php:42 30.970011125040JComponentHelper::renderComponent( )..\application.php:187 41.000411231120JComponentHelper::executeComponent( )..\helper.php:357 51.003611321688require_once( 'C:\wamp\www\sourcing\components\com_virtuemart\virtuemart.php' )..\helper.php:388 61.186812696400JController->execute( )..\virtuemart.php:103 71.186912696448VirtueMartControllerProductdetails->display( )..\controller.php:754 81.205012983712VirtueMartViewProductdetails->display( )..\productdetails.php:57 91.872617300616JView->display( )..\view.html.php:284 101.872617300616JView->loadTemplate( )..\view.php:301 111.884117429232include( 'C:\wamp\www\sourcing\components\com_virtuemart\views\productdetails\tmpl\default.php' )..\view.php:742 122.090917768208JView->loadTemplate( )..\default.php:161 132.114117832472include( 'C:\wamp\www\sourcing\components\com_virtuemart\views\productdetails\tmpl\default_showprices.php' )..\view.php:742 " >Call for price
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: kyteasdale on February 21, 2012, 17:29:44 pm
 Hey guys - first up great job.  The whole system is awesome and I'm sure there is a lot of time and effort going in.  I saw a lot of ppl giving you hassle so thought I'd recognise and give you the props you deserve.

I upgraded to N today - as 2.0 wasn't sending the order emails to admin or displaying them in the admin side.  So now I can see the order which is great - however, clicking on any of the links into the shop just go to a blank page - and I'm getting a lot of Server Error 500's when I click on Shop, Configuration, Shoppers - quite a few pages actually.  I'm using K on another site and it's fine.

Also, tried to make a shopper field (Arrival Date) a required setting and got this info - vmError: TableUserinfos::modify table - Unknown column 'ArrivalDate' in 'february_virtuemart_userinfos' SQL=ALTER TABLE `february_virtuemart_userinfos` CHANGE ArrivalDate ArrivalDate VARCHAR(255)
vmError:

it said it saved but it didn't,

USing J!1.7.3 - prodanceportugal.com/2012/
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: stslit on February 22, 2012, 06:16:38 am
Good day.

Any time ago I install the VirtueMart 2.0.1 N (on my localhost). In my store I use 4 subcategories for some categories. And I can see categories, subcategories and products. When I try use VMSearch, on top page still my catalog and the following search results. When I check "show subcategories"( in VM admin), search results page show only search resuts (without my catalog), but when I try use catalog I can't see subcategories.

I this normal? Or I no understand somethings?
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: samsontumanyan on February 22, 2012, 07:34:08 am
When press "Ask a question about this product", or "Print"    I get HTTPS error, for example:

https://pc-electronics.am/index.php/computers/notebooks/notebook-hp/hp-pavilion-g6-1c57dx-detail?task=askquestion&tmpl=component

And "Show the pdf view icon" not working


Joomla 2.5.1/VM 2.0.1 N
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: pashoo on February 22, 2012, 09:09:48 am
I use Joomla 2.5. When i chose Configuration-Configuration in left menu, virtue mart show this error message: Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/u299041364/public_html/administrator/components/com_virtuemart/models/user.php on line 129.
Sorry for my bad english
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: samsontumanyan on February 22, 2012, 09:12:17 am
The last trouble is the line 129, please use this line
$userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId);
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: pashoo on February 22, 2012, 09:19:54 am
The last trouble is the line 129, please use this line
$userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId);
Thank you! Very much!
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: MaHe29 on February 22, 2012, 09:39:55 am
When testing my website with http://validator.w3.org/
The manufactorer module generates the following error's. I dont think its a big thing.
But it would be nice if it can be fixed since it generates 11 errors on my website.

Line 752, Column 10: document type does not allow element "div" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag             <div>Jarrow Formulas</div>



The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element.

One possible cause for this message is that you have attempted to put a block-level element (such as "<p>" or "<table>") inside an inline element (such as "<a>", "<span>", or "<font>").
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: palcov on February 22, 2012, 16:02:40 pm
Can anybody tell me meaning of this price field? (in attachment)

I spend some time to figure out what this price represents.

In db it is named "order_billDiscountAmount". It is a bug or something?

[attachment cleanup by admin]
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: DaggaTora on February 22, 2012, 17:24:27 pm
Hi,

I think you r doing a great job with VM2! For now, the only problem i'm gettin with Joomla 2.5 and VM2.0.1N is a custom fields issue.

With 2.0.0 everything worked but since N i can get custom fields working

I've tried things like http://forum.virtuemart.net/index.php?topic=90833.0 and other topics to start from zero but when i enter in Product > Custom Fields and select the ones i've created i get no AJAX and there is no options to select or filled below. I've tried saving but the custom field doesn't get recorded.

Probably because of "N"?

Thanks and keep the great job done.

Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: jux on February 22, 2012, 20:18:11 pm
There are no feature such: chance product price per shopper group

Meaning:
We can choose:
Customer group 1  can see product A price at 2€
Customer group 2  can see product A price at 4€

like VM1.8?
It is necessary as I have a wholesale website

please let me know if you are going to increment this feature soon

thank yuo
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: stslit on February 23, 2012, 09:20:50 am
Quote
Good day.

Any time ago I install the VirtueMart 2.0.1 N (on my localhost). In my store I use 4 subcategories for some categories. And I can see categories, subcategories and products. When I try use VMSearch, on top page still my catalog and the following search results. When I check "show subcategories"( in VM admin), search results page show only search resuts (without my catalog), but when I try use catalog I can't see subcategories.

I this normal? Or I no understand somethings?

I really need help. Please answer me or show me any link where i can find usefull answer.  :'( :'( :'(

P.S.
And maybe you how corretly turn off "Choos product type" (because I no have one), and turn off "seach input with button" in search result (because I already have it on left side bar)

P.P.S.
And one more, in admin part of VM->Product I see "no price set", but in store(front page) price exist  :)

[attachment cleanup by admin]
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: p.barg on February 23, 2012, 09:24:44 am
Hi,

product_sales are still not recorded in the database... (stock is correctly decreased, but product_sales all remain 0 in the database)

-- Petra
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: jan suhr on February 23, 2012, 14:49:55 pm
I still have a problem to order the products in the category. Same problem were in the 2.0

In backend it will order per the different columns but it will not take any effect on the frontend.

The ordering using the up and down arrows don't do anything except change the digit in the field but it has no effect on product ordering.

Jan
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: stslit on February 23, 2012, 20:21:13 pm
VirtueMart 2.0.1 N
Have a big trouble with replace image procuct.
I already have image for prouct, when I try to replace image (with same name) in the product image page show two big images and in catalog show very big image. And I can save image in image card.
See attach...  ;D

[attachment cleanup by admin]
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: Anne M on February 23, 2012, 21:47:07 pm
I still have a problem to order the products in the category. Same problem were in the 2.0

In backend it will order per the different columns but it will not take any effect on the frontend.

The ordering using the up and down arrows don't do anything except change the digit in the field but it has no effect on product ordering.

Jan


Hi Jan,

Use Configuration > Config Product Ordering ("Instellingen Artikelvolgorde") Choose for default value for example Product ID ("Artikel unieke code") or Date last changed ("Datum aanpassing artikel")
Underneath you can offer your customers other ways of showing your products.
Frontend wil show your products firstly in the default order

Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: Renata on February 24, 2012, 00:18:18 am
Good evening

Joomla 2.5.1
VM 2.5.1.k

I upgraded from k to n on a test site. Frontpage is completely white, backend is reachable but some pages are also white. I completely reinstalled a backup of the k version, tried the upgrade again and same error.

before upgrading to k or lower was no problem.

with firebug i see this:

Code: [Select]
<html>
<head></head>
<body></body>
</html>

I have activated reporting and following error message:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/user209/domains/mywebsite.nl/public_html/2test/administrator/components/com_virtuemart/models/user.php on line 129

Kind regards
Renata

Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: John2400 on February 24, 2012, 02:31:02 am
Renata,

Look back in this same post for MIlbo's answer.

That should solve your issue. about 12 posts back
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: rych on February 24, 2012, 07:31:31 am
Good day!
Thank you - update N works like a charm with Joomla 2.5.1!

Customisable Page titles per category and product is great deal for SEO.
Would you add "Page Heading" for category option also, like the "Page Display Options -> Page Heading" in Joomla core menu system -
another very desirable thing for SEO?

Thanks in advance!
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: stslit on February 24, 2012, 09:58:09 am
New bug finded.

I was writed post http://forum.virtuemart.net/index.php?topic=98112.msg324867#msg324867 (http://forum.virtuemart.net/index.php?topic=98112.msg324867#msg324867)
I told adout not normal search, and now:

If I choose catalog and start search I see screen like in upper post (with catlog at the top).
BUT
If I choose poduct and start search I see normal result with out catlog at the top.

How can I fix it?

P.S.
And one more when I press on "PDF button" result:
Code: [Select]
TCPDF ERROR: [Image] Unable to get image: http://host-1.com/components/com_virtuemart/assets/images/vmgeneral/no.gif
file "no.gif" exist, because I use it for another way.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: Renata on February 24, 2012, 10:32:52 am
Renata,

Look back in this same post for MIlbo's answer.

That should solve your issue. about 12 posts back

Thanks! Works good now. I presume this will be fixed in the next release?

Kind regards
Renata
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: John2400 on February 24, 2012, 10:38:51 am
Yes If he knows about it then I'd say its 99.9999% sure it will be fixed.

www.1place4ads.nl -

very nice site

I see there is a comment - regarding why we get this - saying that we should try and convince our administrator or web provider to upgrade to php 5.3 if we can.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: djesko86 on February 24, 2012, 12:09:41 pm
I am using Sparkstore template from virtuemarttemplates.net and it gives error in 2.0.1K and N, before it was ok

Fatal error: Call to undefined method shopFunctionsF::PdfIcon() in /home/sg1656/public_html/testi2/jupgrade/templates/sparkstore/html/com_virtuemart/productdetails/default.php on line 63


is there some changes that affect to this error?

if i comment it out with // it is working, but no pdf, email or print icon.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: maxispin on February 24, 2012, 13:36:13 pm
Updated K->N

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/XXXX/public_html/administrator/components/com_virtuemart/models/user.php on line 129


SOLUTION=> http://forum.virtuemart.net/index.php?topic=98438.0
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: John2400 on February 24, 2012, 13:41:18 pm
maxispin,
????
This has been answered quite a few times . Please look back through this forum for an easy answer.
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: maxispin on February 24, 2012, 13:53:22 pm
Thanks.
Yes I found it later. For some reason I couldn't find it via internal search at the first place. I think I got it via Google search.


Have you entered into this email field problem I have? http://forum.virtuemart.net/index.php?topic=98537.msg325070#msg325070
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: Renata on February 24, 2012, 16:29:13 pm
Yes If he knows about it then I'd say its 99.9999% sure it will be fixed.

www.1place4ads.nl -

very nice site

I see there is a comment - regarding why we get this - saying that we should try and convince our administrator or web provider to upgrade to php 5.3 if we can.

Thanks! made myself. But the VM shop is for someone else.

I know my host does not favor php 5.3x as according to him there are to0 many problems with the many extentions which are available. I agree as joomla most of the time is extended with a lot of modules/extentions. All of them first need to be compatible with this php version.

Kind regards
Renata
Title: Re: New pre subrelease VirtueMart 2.0.1 N
Post by: Milbo on February 24, 2012, 18:16:36 pm
I am using Sparkstore template from virtuemarttemplates.net and it gives error in 2.0.1K and N, before it was ok

Fatal error: Call to undefined method shopFunctionsF::PdfIcon() in /home/sg1656/public_html/testi2/jupgrade/templates/sparkstore/html/com_virtuemart/productdetails/default.php on line 63


is there some changes that affect to this error?

if i comment it out with // it is working, but no pdf, email or print icon.

We changed the function and have now one function for print, pdf and so on. It is an easy thing to change. We will provide a manual