In the Tools ... Developers Tool Kit ... in the bottom input box, enter:
get_template_part
select Catalog and click SEARCH ...
Do any of the calls for get_template_part have a second paramater missing the / on the end?
In the Tools ... Developers Tool Kit ... in the bottom input box, enter:
get_template_part
select Catalog and click SEARCH ...
Do any of the calls for get_template_part have a second paramater missing the / on the end?
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi Ajeh,
Thanks for your help. Not exactly sure what you meant. Are the following the problems you are referring to? The rest of them do have two slashes.
this file /includes/classes/template_func.php
Line #24 : function get_template_part($page_directory, $template_part, $file_extension = '.php') {
this file /includes/templates/MY_TEMPLATE/common/html_header.php
Line #71 : $directory_array = $template->get_template_part($template->get_template_dir('.css',DIR_WS_TEMPLATE, $current_page_base,'css'), $value, '.css');
Check that file against the:
/includes/templates/template_default/common/html_header.php
It looks like something is not correct on it ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Hi,
We found a few error_log files and they are getting bigger. There is one in the store root, one in /admin.
The errors seems to stop happening after upgrade. How do we delete and recreate them or will they be generated automatically after being deleted? Thanks.
Your FIRST course of action should be to fix the errors being reported IN those logs.
Also, you can use the log-file-cleanup option in Admin->Tools->Store Manager to delete all log files from the /cache/ folder. Remember, it does NOT do a backup for you, so it WILL remove everything permanently.
If you believe it's not important to fix the errors being reported, then you can turn off the debug logging by deleting the enable_error_log.php file in your extra_configures folders. But I recommend fixing the errors first, as that will automatically stop it from generating any new error log files until a new error occurs.
.
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.
Bookmarks