VM - Product Categories

GK User
Mon Feb 13, 2012 4:34 pm
Hi, Just installed 2.5 version.

When you go to VM and try add/edit a new Product Category I get a random page with no css. See screen shot.

PS. the same issue happened with the Boutique template, which is why I then tried the e-sport one...

Please advise on a fix.

Kind regards,
User avatar
Fresh Boarder

teitbite
Mon Feb 13, 2012 5:11 pm
Hi

Have You used quickstart ? What PHP version are You using ?
User avatar
Moderator

GK User
Mon Feb 13, 2012 11:37 pm
JonathanCowling wrote:Hi, Just installed 2.5 version.

When you go to VM and try add/edit a new Product Category I get a random page with no css. See screen shot.

PS. the same issue happened with the Boutique template, which is why I then tried the e-sport one...

Please advise on a fix.

Kind regards,


Hi,
update vm2 to latest 2.0.1 f version,
this problem already solved in newer vm2.0.1
regards, perkotb
User avatar
Fresh Boarder

teitbite
Tue Feb 14, 2012 12:33 pm
perkotb wrote:
JonathanCowling wrote:Hi, Just installed 2.5 version.

When you go to VM and try add/edit a new Product Category I get a random page with no css. See screen shot.

PS. the same issue happened with the Boutique template, which is why I then tried the e-sport one...

Please advise on a fix.

Kind regards,


Hi,
update vm2 to latest 2.0.1 f version,
this problem already solved in newer vm2.0.1
regards, perkotb



Hi

Thank You very much for that information. You've saved me a lot of time :)
User avatar
Moderator

GK User
Tue Feb 14, 2012 4:44 pm
Hi, many thanks for the post. Will look into it.

I am currently running PHP 5.2.17. Does anyone know if upgrading to PHP 5.3 will cause any issues to Gavick Templates using Joomla 1.5+
User avatar
Fresh Boarder

GK User
Thu Feb 16, 2012 4:13 pm
@JonathanCowling

I have the same problem!
User avatar
Fresh Boarder

GK User
Thu Feb 16, 2012 4:28 pm
@teitbite
Hi
virtuemart said me: "You already have the latest version!" 2.0.0

where can i found the last version of virtuemart 2.0.1f?

thanks in advance!
User avatar
Fresh Boarder

GK User
Thu Feb 16, 2012 9:48 pm
Ansl72 wrote:@teitbite
Hi
virtuemart said me: "You already have the latest version!" 2.0.0

where can i found the last version of virtuemart 2.0.1f?

thanks in advance!


Hey! I am also receiving that message "You already have the latest version!" This is because virtuemart 2.0.1 is a pre subrelease. To download, try this link:

http://dev.virtuemart.net/attachments/d ... _first.zip
User avatar
Fresh Boarder

GK User
Sat Feb 18, 2012 5:41 pm
I download and yes it solved the issue of cat/product displays but after installation (on php 5.3.3 / j2.5 quickstart version ) I now cant see the products and get page only displaying http://www.lisan.co.za/index.php/virtue ... ct-details

shows two lines only
Fox RaceVented
Rating: Not Rated Yet Manufacturer: Lisan International

? Please help me solve this issue.
User avatar
Senior Boarder

GK User
Mon Feb 20, 2012 10:03 am
Just a quick one I had the same problem with the category layout and donwloaded http://dev.virtuemart.net/projects/virtuemart/ file com_virtuemart.2.0.1.N_extract_first.zip installed and all working

Have a great day people :mrgreen:
User avatar
Senior Boarder

GK User
Mon Feb 20, 2012 11:20 am
For all users who looking for this download package, 2.0.1 version is available here >> http://dev.virtuemart.net/projects/virtuemart/files
User avatar
Platinum Boarder

GK User
Mon Feb 20, 2012 1:46 pm
hi all,
once updating virtuemart to 2.0.1n i see a lot of frontapage error:
can't see product details and category details
try on
http://www.pieragabrieli.it/eshop/

how can i fix it?
User avatar
Fresh Boarder

GK User
Tue Feb 21, 2012 7:58 am
what kind of error? something about line 129?

remove the second "$" on line 129 in user.php file.
User avatar
Expert Boarder

GK User
Tue Feb 21, 2012 8:46 am
hi ffministry please could you include the file that I must change

please see my site which show the two lines http://www.lisan.co.za/index.php/virtue ... lli-detail
User avatar
Senior Boarder

GK User
Tue Feb 21, 2012 11:34 pm
Hi. There is a syntax error in line 129 of administrator/components/com_virtuemart/models/user.php

Edit this existing code in line 129
Code: Select all
$userId = $vendorModel::getUserIdByVendorId($vendorId);


and change to
Code: Select all
$userId = VirtueMartModelVendor::getUserIdByVendorId($vendorId);


I'd presume this will be fixed in the next release of VM.

You can follow VM development progress on this forum thread:
http://forum.virtuemart.net/index.php?topic=98112.0
User avatar
Junior Boarder

GK User
Wed Feb 22, 2012 6:08 am
And a bit more to add to my post below...

After you fix the syntax error in user.php, you'll likely experience another error:

Fatal error: Call to undefined method shopFunctionsF::printicon() in xxxxxxxx/templates/your_template/html/com_virtuemart/productdetails/default.php on line 80

In Virtuemart 2.0.1N looks like they have changed the product detail print/pdf/email function? You can get rid of this error by editing templates/gk_esport/html/com_virtuemart/productdetails/default.php

delete everything from line 74 to 82 (this code below)
Code: Select all
   <?php // PDF - Print - Email Icon
   if ( VmConfig::get('show_emailfriend', 1) == '1' || VmConfig::get('show_printicon', 1) == '1') { ?>
   <?php $link = (VmConfig::isJ15()) ? 'index2.php' : 'index.php';
      $link .= '?tmpl=component&option=com_virtuemart&view=productdetails&virtuemart_product_id='.$this->product->virtuemart_product_id;
      $pdflink= JRoute::_ ('index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id='.$this->product->virtuemart_product_id.'&format=pdf');
//       echo shopFunctionsF::PdfIcon($pdflink );
      echo shopFunctionsF::PrintIcon($link.'&print=1');
      echo shopFunctionsF::EmailIcon($this->product->virtuemart_product_id); ?>
   <?php } // PDF - Print - Email Icon END ?>


and replace it with the new code from the default template code in VM 2.0.1N (this code below)
Code: Select all
<?php // PDF - Print - Email Icon
    if (VmConfig::get('show_emailfriend') || VmConfig::get('show_printicon') || VmConfig::get('pdf_button_enable')) { ?>
    <div class="icons">
       <?php
       //$link = (JVM_VERSION===1) ? 'index2.php' : 'index.php';
       $link = 'index.php?tmpl=component&option=com_virtuemart&view=productdetails&virtuemart_product_id=' . $this->product->virtuemart_product_id;
       $MailLink = 'index.php?option=com_virtuemart&view=productdetails&task=recommend&virtuemart_product_id=' . $this->product->virtuemart_product_id . '&virtuemart_category_id=' . $this->product->virtuemart_category_id . '&tmpl=component';

       if (VmConfig::get('pdf_icon', 1) == '1') {
      echo $this->linkIcon($link . '&format=pdf', 'COM_VIRTUEMART_PDF', 'pdf_button', 'pdf_button_enable', false);
       }
       echo $this->linkIcon($link . '&print=1', 'COM_VIRTUEMART_PRINT', 'printButton', 'show_printicon');
       echo $this->linkIcon($MailLink, 'COM_VIRTUEMART_EMAIL', 'emailButton', 'show_emailfriend');
       ?>
       <div class="clear"></div>
        </div>
   <?php

   } // PDF - Print - Email Icon END  ?>


Looks like that does the job and I hope it helps those with errors.
User avatar
Junior Boarder

GK User
Wed Feb 22, 2012 12:04 pm
thanks.. i was getting those errors.. so i just commented them out.. but this definitely helped.
User avatar
Expert Boarder

GK User
Thu Feb 23, 2012 9:33 am
Hey Sunshine

Thank you for making my day - all your updates worked and I can now finish the website

Thank you
User avatar
Senior Boarder

GK User
Fri Feb 24, 2012 12:20 pm
This functions(works).

Many thanks Sunshine
User avatar
Fresh Boarder


cron