News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Front page not displaying

Started by StrangeBee, November 30, 2014, 09:40:49 AM

Previous topic - Next topic

StrangeBee

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!

jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

piekielko

/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 );
      //}