VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: StrangeBee on November 30, 2014, 09:40:49 AM

Title: Front page not displaying
Post by: StrangeBee on November 30, 2014, 09:40:49 AM
Hello,

I'm new to VirtueMart and got as far as the setup and not sure what this message is:
Notice: Undefined property: stdClass::$id in /home/hazelfra/public_html/templates/hipster/XTC/XTC_library.php on line 150

this is the url
https://celebrityhairfactory.com/shop-chf

Any help is appreciated. I found the php file but not sure what/if to edit.

HELP!
Title: Re: Front page not displaying
Post by: jenkinhill on November 30, 2014, 12:06:19 PM
That notice is from your XTC template not from VirtueMart.

As far as I know that template is only suitable for VirtueMart 2.x but it looks like you are trying to use VM3 - although you don't state your Joomla/VM versions.
Title: Re: Front page not displaying
Post by: piekielko on November 30, 2014, 15:57:38 PM
/components/com_virtuemart/helpers/vmtemplate.php

in line 206:
Quote
//      if(is_dir( VMPATH_THEMES.DS.$template )) {
//         $app = JFactory::getApplication();
//         if($app->isSite()) $app->setTemplate($template,$registry);
//
      //} else {
      //   vmError( 'The chosen template couldnt be found on the filesystem: '.VMPATH_THEMES.DS.$template );
      //}