Page 1 of 1

Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Thu Apr 29, 2010 3:22 pm
by johnforster
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

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Thu Apr 29, 2010 3:28 pm
by johnforster
Just checked and this doesn't happen on the default template. Many thanks again.

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Fri Apr 30, 2010 9:42 pm
by justme54s
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.

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Sat May 01, 2010 4:40 am
by johnforster
Hello Justme4

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

Kind regards John

Notice: Undefined variable: text_home {OPENCARTSTORE]

Posted: Sat May 01, 2010 6:26 am
by fgrace
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 :)

Re: Notice: Undefined variable: text_home {OPENCARTSTORE]

Posted: Sat May 01, 2010 6:13 pm
by readyman
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.

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Tue May 04, 2010 1:34 am
by lovinit
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

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Wed May 05, 2010 3:31 am
by lovinit
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.

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Tue Mar 15, 2011 3:41 pm
by paradisewsm
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

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Thu Mar 17, 2011 3:43 am
by westpalms
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.

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Tue Jun 28, 2011 12:00 am
by bobsleighbob
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!

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Mon Dec 09, 2013 6:12 am
by edgarcelso
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

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Thu Oct 22, 2015 2:08 pm
by mahi011
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 !

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Wed Mar 14, 2018 5:50 pm
by madhujadhav
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

Re: Notice: Undefined variable: text_order {OPENCARTSTORE]

Posted: Wed Mar 14, 2018 6:29 pm
by straightlight
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.