CMSMS Ver. - 1.5.4
Website URL: http://www.mvpgoaltending.com/
Issue: I haven't modified the search form or results form at all; however, when I enter a search term and click submit no results are returned. I have tried using various words within the content and page names.
Please advise....
Search Module: Search not returning any results.
Re: Search Module: Search not returning any results.
I can't search from any page including the home page. I have a staging site setup at http://staging.mvpgoaltending.com and the search works perfectly. I'll keep troubleshooting and see if I can resolve this.
Re: Search Module: Search not returning any results.
Have you made any changes to your template? How do you get the data from your staging site to the main site?
Re: Search Module: Search not returning any results.
I have a separate staging site (with separate db) setup at http://staging.mvpgoaltending.com. The staging and production sites are identical with the exception of the necessary url changes in the config file.
Last edited by richbothe on Tue Jul 28, 2009 4:24 pm, edited 1 time in total.
Re: Search Module: Search not returning any results.
Do you add the content directly to the main site? or do you add it to staging site and then once approve copy it over to the main site?
If it is the later, please tell us how do you copy it, do you do a full database dumb?
If it is the later, please tell us how do you copy it, do you do a full database dumb?
Re: Search Module: Search not returning any results.
First, I backup the main site db and uploads directory. I then restore that to the staging site so that staging has the latest content. I then make my changes to the staging site. Once approved, I backup the staging db and uploads and restore them to the main site.
This site just went live a week ago and the Search function hasn't worked on the main site since going live. I am currently upgrading the staging site to CMS 1.6. Once complete, I will also upgrade the main site to 1.6 to see if that resolves the issue.
This site just went live a week ago and the Search function hasn't worked on the main site since going live. I am currently upgrading the staging site to CMS 1.6. Once complete, I will also upgrade the main site to 1.6 to see if that resolves the issue.
Re: Search Module: Search not returning any results.
Completed upgrade to cms 1.6 on both main site and staging site. I also reindexed in Search Admin and still, my staging site search works, but not the main site.
I removed the 301 redirect from the .htaccess file at the root that forces the url to http://www.domain.com as opposed to http://domain.com and Search now works.
But that now presents another question/issue... is there another/better way other than .htaccess to force the url to "www"? I found that with cms version 1.5.4 and later that the 301 redirect also caused an issue with FormBuilder and forms not submitting.
I removed the 301 redirect from the .htaccess file at the root that forces the url to http://www.domain.com as opposed to http://domain.com and Search now works.
But that now presents another question/issue... is there another/better way other than .htaccess to force the url to "www"? I found that with cms version 1.5.4 and later that the 301 redirect also caused an issue with FormBuilder and forms not submitting.
Re: Search Module: Search not returning any results.
what is your domain in your config file set to? w/ or w/o the www
Re: Search Module: Search not returning any results.
By default, during installation it gets set to 'www' and that's what it is set to currently.
Re: Search Module: Search not returning any results.
Was there ever a solution to this problem? I have experienced what I think is the same issue.
My config file is set up with www.mysite.com, and I put a 301 redirect in my .htaccess file so that anyone visiting mysite.com would be redirected to www."mysite".com, however that broke the search module and no results would be displayed.
So, I took out the 301 redirect and noticed that search results always strip out the www. from the address, so all search results go to mysite.com instead of www.mysite.com - with the 301 redirect in place it couldn't display the results.
Thanks to anyone who can help.
Chris
My config file is set up with www.mysite.com, and I put a 301 redirect in my .htaccess file so that anyone visiting mysite.com would be redirected to www."mysite".com, however that broke the search module and no results would be displayed.
So, I took out the 301 redirect and noticed that search results always strip out the www. from the address, so all search results go to mysite.com instead of www.mysite.com - with the 301 redirect in place it couldn't display the results.
Thanks to anyone who can help.
Chris