Search Box in Header returns no products after 1.0.9.1 update
Search Box in Header returns no products after 1.0.9.1 update
Search Box in Header returns no products after 1.0.9.1 update
Tags:
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Search Box in Header returns no products after 1.0.9.1 update
Install a TEST 1.0.9.1 (ie a new clean shop, just for testing) and see if the search function works on a clean shop.
If yes, you know that the problem is not code, but is somewhere in your updating.
If yes, you know that the problem is not code, but is somewhere in your updating.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
-
14Steve14
- Senior Contributor
- Posts: 923
- Joined: Fri Oct 25, 2019 7:01 pm
- Phoenix Version: v1.0.9.1
- Has thanked: 17 times
- Been thanked: 103 times
Re: Search Box in Header returns no products after 1.0.9.1 update
When you updated first on a test site did the search work before you uploaded all the files to the live site?
Are there any errors in your error logs relating to the search function?
Have you tried uninstalling and reinstalling the module?
Are there any errors in your error logs relating to the search function?
Have you tried uninstalling and reinstalling the module?
Re: Search Box in Header returns no products after 1.0.9.1 update
Upgrading the 1.0.9.3 solved the problem.
Re: Search Box in Header returns no products after 1.0.9.1 update
Upgrading the 1.0.9.5 the issue is back where no results are returned. The error log shows:
[25-Aug-2024 10:09:08 America/New_York] PHP Warning: include(/catalog/includes/modules/content/header/templates/tpl_cm_header_search.php): failed to open stream: No such file or directory in /catalog/includes/modules/content/cm_template.php on line 14
include(Guarantor::ensure_global('Template')->map($tpl_data['file']));
[25-Aug-2024 10:09:08 America/New_York] PHP Warning: include(): Failed opening '/catalog/includes/modules/content/header/templates/tpl_cm_header_search.php' for inclusion (include_path='.:/opt/alt/php73/usr/share/pear') in /catalog/includes/modules/content/cm_template.php on line 14
We are using PHP v8.1
[25-Aug-2024 10:09:08 America/New_York] PHP Warning: include(/catalog/includes/modules/content/header/templates/tpl_cm_header_search.php): failed to open stream: No such file or directory in /catalog/includes/modules/content/cm_template.php on line 14
include(Guarantor::ensure_global('Template')->map($tpl_data['file']));
[25-Aug-2024 10:09:08 America/New_York] PHP Warning: include(): Failed opening '/catalog/includes/modules/content/header/templates/tpl_cm_header_search.php' for inclusion (include_path='.:/opt/alt/php73/usr/share/pear') in /catalog/includes/modules/content/cm_template.php on line 14
We are using PHP v8.1
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Search Box in Header returns no products after 1.0.9.1 update
It is telling you what the problem is.
/catalog/includes/modules/content/header/templates/tpl_cm_header_search.php
No such file
This file exists in 1.0.9.5;
https://github.com/CE-PhoenixCart/Phoen ... /templates
so can only conclude that you have made an error somewhere in updating.
/catalog/includes/modules/content/header/templates/tpl_cm_header_search.php
No such file
This file exists in 1.0.9.5;
https://github.com/CE-PhoenixCart/Phoen ... /templates
so can only conclude that you have made an error somewhere in updating.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
Re: Search Box in Header returns no products after 1.0.9.1 update
Hi Burt,
The file /catalog/includes/modules/content/header/templates/tpl_cm_header_search.php exists in that directory.
The file /catalog/includes/modules/content/header/templates/tpl_cm_header_search.php exists in that directory.
- burt
- Core Team
- Posts: 4551
- Joined: Tue Oct 29, 2019 9:37 am
- Phoenix Version: v1.1.0.8
- : Buy Me A Beverage
- Has thanked: 252 times
- Been thanked: 412 times
Re: Search Box in Header returns no products after 1.0.9.1 update
Your system says it does not.
You have checked and say it does.
Would advise to get a second opinion on it, as both cannot be correct.
You have checked and say it does.
Would advise to get a second opinion on it, as both cannot be correct.
I am not here to build for you.
I am here to build with you. Let's help each other.
I am here to build with you. Let's help each other.
Re: Search Box in Header returns no products after 1.0.9.1 update
The error no longer appears in the log. Although the search doesn't produce any results.
Re: Search Box in Header returns no products after 1.0.9.1 update
This problem was resolved. The issue was a file that was mistakenly copied into the default hooks shop siteWide folder.