I am getting an Error in the Feature Products. You can see it here:
http://www.morrisgiftshop.biz/index....tured_products
Yes I do have some products in there.
I am getting an Error in the Feature Products. You can see it here:
http://www.morrisgiftshop.biz/index....tured_products
Yes I do have some products in there.
Image attached.
![]()
I cannot see as its down for maintenance
FAQ on the same topic: http://www.zen-cart.com/content.php?...-and-try-again
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
DrByte this is what I got:
[12-Apr-2016 00:02:53 America/Chicago] Request URI: /, IP address: 50.26.57.249
#1 require() called at [/xxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php:22]
#2 require(/xxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php) called at [/xxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/column_left.php:31]
#3 require(/xxx/xxxx/public_html/morrisgiftshop.biz/includes/modules/column_left.php) called at [/xxxx/xxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/common/tpl_main_page.php:136]
#4 require(/xxxxx/xxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/xxxx/xxxxx/public_html/morrisgiftshop.biz/index.php:97]
[12-Apr-2016 00:02:53 America/Chicago] PHP Warning: require(includes/templates/template_default/sideboxes/tpl_languages_header.php): failed to open stream: No such file or directory in /xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php on line 22
[12-Apr-2016 00:02:53 America/Chicago] Request URI: /, IP address: 50.26.57.249
#1 require() called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php:22]
#2 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/column_left.php:31]
#3 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/column_left.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/common/tpl_main_page.php:136]
#4 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/index.php:97]
[12-Apr-2016 00:02:53 America/Chicago] PHP Warning: require(includes/templates/template_default/sideboxes/tpl_languages_header.php): failed to open stream: No such file or directory in /xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php on line 22
[12-Apr-2016 00:02:53 America/Chicago] PHP Fatal error: require(): Failed opening required 'includes/templates/template_default/sideboxes/tpl_languages_header.php' (include_path='.:/opt/php55/lib/php') in /xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php on line 22
Last edited by wmorris; 12 Apr 2016 at 06:56 AM.
It appears that you've got some custom sideboxes configured, but you're missing the files that make them work.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
If you read it from the bottom to the top, you'll discover how it works:[12-Apr-2016 00:02:53 America/Chicago] PHP Warning: require(includes/templates/template_default/sideboxes/tpl_languages_header.php): failed to open stream: No such file or directory in /xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php on line 22
[12-Apr-2016 00:02:53 America/Chicago] Request URI: /, IP address: 50.26.57.249
#1 require() called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php:22]
#2 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/sideboxes/languages_header.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/column_left.php:31]
#3 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/modules/column_left.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/common/tpl_main_page.php:136]
#4 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/index.php:97]
index.php
calls tpl_main_page.php
which calls column_left.php
which calls /includes/modules/sideboxes/languages_header.php (not part of Zen Cart)
which calls checks for a tpl_languages_header.php file in your current template folder, and if that doesn't exist it tries template_default.
But since tpl_languages_header.php doesn't exist in your current template folder or in template_default, it's logging "failed to open ... no such file"
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I found the problem and I uploaded the missing files and now I got this:
[12-Apr-2016 01:09:06 America/Chicago] Request URI: /index.php?main_page=featured_products, IP address: 50.26.57.249
#1 trigger_error() called at [/xxxx/xxxxx/public_html/morrisgiftshop.biz/includes/classes/db/mysql/query_factory.php:167]
#2 queryFactory->show_error() called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/classes/db/mysql/query_factory.php:139]
#3 queryFactory->set_error() called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/classes/db/mysql/query_factory.php:266]
#4 queryFactory->Execute() called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/templates/tpl_modules_products_featured_listing.php:21]
#5 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/templates/tpl_modules_products_featured_listing.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/templates/tpl_featured_products_default.php:87]
#6 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/templates/tpl_featured_products_default.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/common/tpl_main_page.php:171]
#7 require(/xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/common/tpl_main_page.php) called at [/xxxxx/xxxxx/public_html/morrisgiftshop.biz/index.php:97]
[12-Apr-2016 01:09:06 America/Chicago] PHP Fatal error: 1064:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit 10' at line 1 :: limit 10 ==> (as called by) /xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/templates/responsive_classic/templates/tpl_modules_products_featured_listing.php on line 21 <== in /xxxxx/xxxxx/public_html/morrisgiftshop.biz/includes/classes/db/mysql/query_factory.php on line 167