Post by johnforster » Thu Apr 29, 2010 3:22 pm

Hello everyone.

Not an expert, but I can manage to get store up and running [more or less]. HeHe.

Hello and I think Good Morning in Australia.

Firstly, a big thanks to Darwin for a lovely template. I have managed to upload it to my website http://www.johnforster.org.uk/store
As you will see it is my first attempt and it all works REALLY WELL except for when you want to check your order.
I go into “View your Order History”
Then “View”
Them the following message appears:
Notice: Undefined variable: text_order in/homepages/38/d127820016/htdocs/johnforster/store/catalog/view/theme/ProShop/template/account/invoice.tplon line 10
#1

I haven't changed anything yet, so I am wondering if its because 1.4 is a new version.

I am most grateful if anyone can help.


Kind regards - John
Last edited by Qphoria on Thu Apr 29, 2010 7:36 pm, edited 1 time in total.
Reason: Moved to template support

Newbie

Posts

Joined
Mon Apr 19, 2010 1:29 pm

Post by johnforster » Thu Apr 29, 2010 3:28 pm

Just checked and this doesn't happen on the default template. Many thanks again.

Newbie

Posts

Joined
Mon Apr 19, 2010 1:29 pm

Post by justme54s » Fri Apr 30, 2010 9:42 pm

I think that template is based on older version of opencart and you're using opencart version 1.4.7. The variable 'text_order' in invoice.tpl has changed to 'text_order_id' in opencart 1.4.7 hence the error. To fix this just open up the template file invoice.tpl and change that variable.

Newbie

Posts

Joined
Fri Apr 30, 2010 9:35 pm

Post by johnforster » Sat May 01, 2010 4:40 am

Hello Justme4

FANTASTIC. I am so grateful. It works fine now. Please thank everyone for such a nice shop. "Open Cart"

Kind regards John

Newbie

Posts

Joined
Mon Apr 19, 2010 1:29 pm

Post by fgrace » Sat May 01, 2010 6:26 am

Hi

I need help in fixing template a template I upgraded to v. 1.4.7
It is now giving me the following error:

Notice: Undefined variable: text_home in /home/hubottoy/public_html/catalog/view/theme/Vortex/template/common/footer.tpl on line 4 ::
Notice: Undefined variable: text_special in /home/hubottoy/public_html/catalog/view/theme/Vortex/template/common/footer.tpl on line 5 ::
Notice: Undefined variable: logged in /home/hubottoy/public_html/catalog/view/theme/Vortex/template/common/footer.tpl on line 6
Notice: Undefined variable: text_login in /home/hubottoy/public_html/catalog/view/theme/Vortex/template/common/footer.tpl on line 7 ::
Notice: Undefined variable: text_account in /home/hubottoy/public_html/catalog/view/theme/Vortex/template/common/footer.tpl on line 11 ::
Notice: Undefined variable: text_checkout in /home/hubottoy/public_html/catalog/view/theme/Vortex/template/common/footer.tpl on line 12 ::
Notice: Undefined variable: text_cart in /home/hubottoy/public_html/catalog/view/theme/Vortex/template/common/footer.tpl on line 13

see: http://www.gracetec.com/~hubottoy/

would be greatful for any help :)

New member

Posts

Joined
Sat May 01, 2010 6:22 am

Post by readyman » Sat May 01, 2010 6:13 pm

Looks like those variables used to be in your old controller files. You can either delete them from your footer.tpl file, or you'll have to grab them from the information.tpl controller (I think) and put them in the footer controller to allow the footer.tpl file to output them.

http://www.alreadymade.com
Follow me on twitter.com/alreadymade


User avatar
Global Moderator

Posts

Joined
Wed May 20, 2009 5:16 am
Location - Sydney

Post by lovinit » Tue May 04, 2010 1:34 am

I am getting the same errors with the Proshop template I have just installed.

The same variables are used in header.tpl and are resolved ok but I don't understand why they are not resolving correctly in footer.tpl.

Any ideas?

Many thanks

New member

Posts

Joined
Wed Apr 21, 2010 2:51 am

Post by lovinit » Wed May 05, 2010 3:31 am

Figured it out! For future reference in case it helps anyone else out - needed to add some lines to catalog/controller/common/footer.php. Basically copied the lines that referred to the missing variables from header.php and added them to footer.php.

New member

Posts

Joined
Wed Apr 21, 2010 2:51 am

Post by paradisewsm » Tue Mar 15, 2011 3:41 pm

Hello, I have a similar problem...

Notice: Undefined variable: text_account in /var/www/vhosts/paradisewsm.co.uk/httpdocs/opencart/catalog/view/theme/green_round/template/account/login.tpl on line 28

Line 28 reads as follows. <label for="register" style="cursor: pointer;">

any help would be gratefully accepted.

Danny.

www.ParadiseWSM.co.uk

Newbie

Posts

Joined
Tue Mar 01, 2011 3:18 am

Post by westpalms » Thu Mar 17, 2011 3:43 am

I also have a similar problem:

Notice: Undefined variable: modules2 in /home/westpalm/public_html/catalog/view/theme/default-green/template/common/home.tpl on line 4Warning: Invalid argument supplied for foreach() in /home/westpalm/public_html/catalog/view/theme/default-green/template/common/home.tpl on line 4


Any help would be appreciated. Thank you.

Newbie

Posts

Joined
Sat Mar 12, 2011 3:41 am

Post by bobsleighbob » Tue Jun 28, 2011 12:00 am

I had a similar problem with login.tpl using the Vortex theme.
I just edited login.tpl and replaced <b><?php echo $text_account_id; ?></b></label> with <b>Register Account</b></label> on line 28, where it was saying the error was. I have tested this since and it seems to work fine.

Hope this helps!

Newbie

Posts

Joined
Thu May 26, 2011 7:10 pm

Post by edgarcelso » Mon Dec 09, 2013 6:12 am

Hi dear friends

i have this problem in my site
Notice: Undefined variable: stores in /var/www/vhosts/chipink.pt/httpdocs/revenda/catalog/view/theme/start-online-store/template/common/header.tpl on line 55

and i don't know what is going wrong here
</script>
<![endif]-->
<?php if ($stores) { ?>
<script type="text/javascript" src="catalog/view/javascript/jquery/jquery.total-storage.min.js"></script>
<script type="text/javascript"><!--
$(document).ready(function() {
<?php foreach ($stores as $store) { ?>
$('body').prepend('<iframe src="<?php echo $store; ?>" style="display: none;"></iframe>');
<?php } ?>
});
//--></script>

can you please help me?
many thanks in advance

Newbie

Posts

Joined
Mon Dec 09, 2013 6:08 am

Post by mahi011 » Thu Oct 22, 2015 2:08 pm

Hi All,

I am using opencart Version 2.0.2.0 and getting the following error :-

Notice: Undefined index: name in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2385Notice: Undefined index: model in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2386Notice: Undefined index: location in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2389Notice: Undefined index: sku in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2390Notice: Undefined index: upc in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2391Notice: Undefined index: ean in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2392Notice: Undefined index: jan in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2393Notice: Undefined index: isbn in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2394Notice: Undefined index: mpn in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2395Notice: Undefined index: weight in /srv/users/kolodev09/apps/ragsbymailkolossuscomau2/public/admin/controller/sale/order.php on line 2396


Can you guys help me to fix these .. I will be so grateful ....

Thanks !

Newbie

Posts

Joined
Wed Oct 21, 2015 5:49 pm

Post by madhujadhav » Wed Mar 14, 2018 5:50 pm

I am using opencart Version 2.0.2.0 and getting the following error :-

Notice: Undefined variable: home_top_full in /home/motocp1/public_html/allegradubai/catalog/view/theme/glade/template/common/home.tpl on line 3
i am facing this problem ,how resolve it please help me

http://allegradubai.com

Newbie

Posts

Joined
Wed Sep 13, 2017 8:01 pm

Post by straightlight » Wed Mar 14, 2018 6:29 pm

madhujadhav wrote:
Wed Mar 14, 2018 5:50 pm
I am using opencart Version 2.0.2.0 and getting the following error :-

Notice: Undefined variable: home_top_full in /home/motocp1/public_html/allegradubai/catalog/view/theme/glade/template/common/home.tpl on line 3
i am facing this problem ,how resolve it please help me

http://allegradubai.com
Caused by an installed theme extension. Contact the extension developer to resolved this issue. You are also posting in the wrong section. Please read the forum breadcrumbs links before posting.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 27 guests