Undefined Varaible error
17 posts
• Page 1 of 1
Undefined Varaible error
I have not even realised but I get this error in OC error log
2012-06-23 13:37:49 - PHP Notice: Undefined variable: text_tax in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 161
2012-06-23 13:37:49 - PHP Notice: Undefined variable: tax_rate in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 164
2012-06-23 13:37:49 - PHP Notice: Undefined variable: text_tax_rate in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 164
And this error in vqmod manager
---------- Date: 2012-06-23 13:46:46 ~ IP : 86.30.166.34 ----------
REQUEST URI : /admin/index.php?route=extension/module&token=08e3b5855bde7e93a0bc955f9053573e
MOD DETAILS:
modFile : /home/amazingg/public_html/vqmod/xml/custom_image_titles.xml
id : Add custom titles and alternative messages for all product and category images together with image sort order
version : 2.4.0
vqmver : 1.0.7
author : rmg
Could not resolve path for [catalog/view/theme/shoppica/template/product/category.tpl] (SKIPPED)
Could not resolve path for [catalog/view/theme/shoppica/template/product/product.tpl] (SKIPPED)
Could not resolve path for [catalog/view/theme/shoppica/template/product/search.tpl] (SKIPPED
I don't know if these two errors are conected and I have no clue how to resolve it.
I also included the code from admin_view_template_common_header.tpl lines 159 to 165
<li><a href="<?php echo $length_class; ?>"><?php echo $text_length_class; ?></a></li>
<li><a href="<?php echo $weight_class; ?>"><?php echo $text_weight_class; ?></a></li>
</ul>
</li>
<li><a href="<?php echo $error_log; ?>"><?php echo $text_error_log; ?></a></li>
<li><a href="<?php echo $backup; ?>"><?php echo $text_backup; ?></a></li>
</ul>
Can you please help?
Thanks
Jerry
2012-06-23 13:37:49 - PHP Notice: Undefined variable: text_tax in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 161
2012-06-23 13:37:49 - PHP Notice: Undefined variable: tax_rate in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 164
2012-06-23 13:37:49 - PHP Notice: Undefined variable: text_tax_rate in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 164
And this error in vqmod manager
---------- Date: 2012-06-23 13:46:46 ~ IP : 86.30.166.34 ----------
REQUEST URI : /admin/index.php?route=extension/module&token=08e3b5855bde7e93a0bc955f9053573e
MOD DETAILS:
modFile : /home/amazingg/public_html/vqmod/xml/custom_image_titles.xml
id : Add custom titles and alternative messages for all product and category images together with image sort order
version : 2.4.0
vqmver : 1.0.7
author : rmg
Could not resolve path for [catalog/view/theme/shoppica/template/product/category.tpl] (SKIPPED)
Could not resolve path for [catalog/view/theme/shoppica/template/product/product.tpl] (SKIPPED)
Could not resolve path for [catalog/view/theme/shoppica/template/product/search.tpl] (SKIPPED
I don't know if these two errors are conected and I have no clue how to resolve it.
I also included the code from admin_view_template_common_header.tpl lines 159 to 165
<li><a href="<?php echo $length_class; ?>"><?php echo $text_length_class; ?></a></li>
<li><a href="<?php echo $weight_class; ?>"><?php echo $text_weight_class; ?></a></li>
</ul>
</li>
<li><a href="<?php echo $error_log; ?>"><?php echo $text_error_log; ?></a></li>
<li><a href="<?php echo $backup; ?>"><?php echo $text_backup; ?></a></li>
</ul>
Can you please help?
Thanks
Jerry
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
I run 1.5.1.3 with universal theme.
Jerry
Jerry
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
If you switch back to default template, will those errors still appear from the same page location ?
Regards,
Straightlight
Straightlight
- straightlight
- Posts: 1930
- Joined: Mon Nov 14, 2011 3:38 pm
- Location: Canada, ON
Re: Undefined Varaible error
yes
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
I tried everything I could think of, I checked all the vqmods but just one of them changes the header and this is part of that vqmod
-<file name="admin/view/template/common/header.tpl"> -<operation> -<search position="after">
<![CDATA[ <link rel="stylesheet" type="text/css" href="view/stylesheet/stylesheet.css" /> ]]>
</search> -<add>
<![CDATA[ <?php if ($this->config->get('custom_image_titles_status')) { ?> <link rel="stylesheet" type="text/css" href="view/stylesheet/cit_style.css" /> <?php } ?> ]]>
</add> </operation> </file>
Yesterday I installed deadcow seo but I even deleted every single file and I still get the error.
Forget that I just uninstalled that vqmod and I get the same error but different lines, here it is
2012-06-23 16:17:21 - PHP Notice: Undefined variable: text_tax in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 156
2012-06-23 16:17:21 - PHP Notice: Undefined variable: tax_rate in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 159
2012-06-23 16:17:21 - PHP Notice: Undefined variable: text_tax_rate in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 159
What do you think is wrong??
Thanks
Jerry
-<file name="admin/view/template/common/header.tpl"> -<operation> -<search position="after">
<![CDATA[ <link rel="stylesheet" type="text/css" href="view/stylesheet/stylesheet.css" /> ]]>
</search> -<add>
<![CDATA[ <?php if ($this->config->get('custom_image_titles_status')) { ?> <link rel="stylesheet" type="text/css" href="view/stylesheet/cit_style.css" /> <?php } ?> ]]>
</add> </operation> </file>
Yesterday I installed deadcow seo but I even deleted every single file and I still get the error.
Forget that I just uninstalled that vqmod and I get the same error but different lines, here it is
2012-06-23 16:17:21 - PHP Notice: Undefined variable: text_tax in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 156
2012-06-23 16:17:21 - PHP Notice: Undefined variable: tax_rate in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 159
2012-06-23 16:17:21 - PHP Notice: Undefined variable: text_tax_rate in /home/amazingg/public_html/vqmod/vqcache/vq2-admin_view_template_common_header.tpl on line 159
What do you think is wrong??
Thanks
Jerry
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
What do you think is wrong??
If you disable the XML file related to the code you posted, will the errors still appears once refreshing the page on your browser ?
Regards,
Straightlight
Straightlight
- straightlight
- Posts: 1930
- Joined: Mon Nov 14, 2011 3:38 pm
- Location: Canada, ON
Re: Undefined Varaible error
The other thing I noticed is when you go to system>localisation> beetwen geozone and lenght classes I can see that error.
It is something to do with taxes but I don't use vat or any other tax.
Jerry
It is something to do with taxes but I don't use vat or any other tax.
Jerry
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
yes, I tried it several times.
Jerry
Jerry
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
I deleted all the cookies and still nothing.
Jerry
Jerry
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
Do you have VQMod cache enabled ? If so, disable them from both index.php files and see if the error persists while having the XML file disabled. In the mean time, since this error shows from the admin - > localisation as you mentioned above, see from phpmyadmin if your localisation table still has some values in it.
Regards,
Straightlight
Straightlight
- straightlight
- Posts: 1930
- Joined: Mon Nov 14, 2011 3:38 pm
- Location: Canada, ON
Re: Undefined Varaible error
I can get all the passwords, because I don't know how to do it. Just let me know what you need?
Jerry
Jerry
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
PM Sent
Jerry
Jerry
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
This issue has now been fixed. The cause of these errors was due to modified core files with different key names between the admin common controller, language and the template which obviously rather requires VQModding than core file modifications.
Additionally, it would seem those errors occurs due to this contribution which should of had rather been reported here: viewtopic.php?f=123&t=25970
Additionally, it would seem those errors occurs due to this contribution which should of had rather been reported here: viewtopic.php?f=123&t=25970
Regards,
Straightlight
Straightlight
- straightlight
- Posts: 1930
- Joined: Mon Nov 14, 2011 3:38 pm
- Location: Canada, ON
Re: Undefined Varaible error
I reported theme but I have not received reply.
Thanks
Jerry
Thanks
Jerry
Amazing Gift Boxes - Is an online shop specializing in unique and exclusive hand made gift packaging. Use promo code "code10" to get 10% off and free delivery on orders over £30. | Gift Bags | Gift Boxes
-

jarek79 - Posts: 90
- Joined: Tue Jun 05, 2012 2:23 pm
Re: Undefined Varaible error
Contact the author directly if you can't reach him on topic.
Regards,
Straightlight
Straightlight
- straightlight
- Posts: 1930
- Joined: Mon Nov 14, 2011 3:38 pm
- Location: Canada, ON
Re: Undefined Varaible error
Undefined variable errors are not that difficult to track down and fix. We've solved hundreds probably thosands on the forums in the same manner. You need only to TRACK it down and find the lack of source coming in to make it undefined. There aren't "thousands" of scenarios as to why it's undefined. There are only a few if not a couple.
In fact, being that this is an MVC(l) it's good to get in the habit of looking at it that way especially when debugging.
In fact, being that this is an MVC(l) it's good to get in the habit of looking at it that way especially when debugging.
-

avvici -arvixe- - Posts: 4340
- Joined: Tue Apr 05, 2011 4:09 am
- Location: Charlotte, NC
17 posts
• Page 1 of 1
Who is online
Users browsing this forum: adipopescu24, anung, avvici -arvixe-, cybergates7901, Google [Bot], peter-hnr, RuudN, vicprop and 64 guests















