Page 1 of 1

Just updated from 1.4.7 to 1.4.8

Posted: Thu Jun 10, 2010 2:34 am
by igpltd
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

Re: Just updated from 1.4.7 to 1.4.8

Posted: Thu Jun 10, 2010 2:58 am
by Qphoria
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

Re: Just updated from 1.4.7 to 1.4.8

Posted: Sat Jun 12, 2010 11:22 am
by netgen
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 ?

Re: Just updated from 1.4.7 to 1.4.8

Posted: Sat Jun 12, 2010 8:36 pm
by Qphoria
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

Re: Just updated from 1.4.7 to 1.4.8

Posted: Sat Jun 12, 2010 9:31 pm
by rog_ashbury
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.

Re: Just updated from 1.4.7 to 1.4.8

Posted: Sun Jun 13, 2010 3:27 pm
by netgen
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.