Post by igpltd » Thu Jun 10, 2010 2:34 am

Great work but getting these errors:

On index page

Notice: Undefined property: Document::$keywords in /home/udimore/public_html/testshop/catalog/controller/common/header.php on line 36

on checkout / basket

Sub-Total: Notice: Undefined variable: sub_total in /home/udimore/public_html/testshop/catalog/view/theme/default/template/checkout/cart.tpl on line 47
Last edited by i2Paq on Thu Jun 10, 2010 2:39 am, edited 1 time in total.
Reason: Title adjusted

Newbie

Posts

Joined
Thu Jun 10, 2010 2:31 am

Post by Qphoria » Thu Jun 10, 2010 2:58 am

Sounds like you didn't upload some files.

Be sure you get the latest system/library/document.php file
and
catalog/view/theme/default/template/checkout/cart.tpl
The one in the zip does not match what you are saying. There is no $sub_total variable in the cart.tpl file that comes with 1.4.8

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by netgen » Sat Jun 12, 2010 11:22 am

Just started learning the opencart before the release of 1.4.8.
1.4.7 works fine. But here is the first problem I have after updated to 1.4.8

same error on index page :

Notice: Undefined property: Document::$keywords in ../catalog/controller/common/header.php on line 36

system/library/document.php is uploaded and is the latest

Any clues ?

Has igpltd fixed the problem ? How ?

Newbie

Posts

Joined
Sat Jun 12, 2010 11:10 am

Post by Qphoria » Sat Jun 12, 2010 8:36 pm

Be sure the system/library/documents.php has this at the top:

Code: Select all

<?php
final class Document {
	public $title;
	public $description;
	public $keywords;
	public $base;	
	public $charset = 'utf-8';	
If not, then you don't have the latest version uploaded

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rog_ashbury » Sat Jun 12, 2010 9:31 pm

I got the 'cart.tpl' error too but all I did was copy cart.tpl file from the new default template 'catalog\view\theme\default\template\module' folder into the corresponding folder of the template I'm using and it updated the functionality and got rid of the error.

Can't help with the other one though.

New member

Posts

Joined
Mon Nov 02, 2009 6:56 am

Post by netgen » Sun Jun 13, 2010 3:27 pm

Thank Q for the speedy advice.

What I did was remove all old files and upload once again the 1.4.8, then run the upgrade script.

This time, it is OK.

Newbie

Posts

Joined
Sat Jun 12, 2010 11:10 am
Who is online

Users browsing this forum: No registered users and 43 guests