Search problem
Search problem
Hi peepz,
This is the first time Ive had the chance to use CMSMS and Im loving it!, so thanks to all the people that have worked so hard to bring a solution that is a great help and a great product!
My question is...
I have pretty much finished my current site which is for a recruitment company, I have adapted the NEWS module to display the latest vacancies on the home page and is working like a treat. My problem is, when I use the search box, it finds the jobs without any problem, however when you then click on the search result link I forwards to a styless page, just listing the layout with out the CSS and the actually result. I have tried creating a seperate search page to point the results at, but to no avail. You can see for yourselves here
http://www.ncnresourcing.co.uk/
try a search and then click the link to see what I mean.
Have I missed some config, being a noooob to the system any help is appreciated.
Thanks
This is the first time Ive had the chance to use CMSMS and Im loving it!, so thanks to all the people that have worked so hard to bring a solution that is a great help and a great product!
My question is...
I have pretty much finished my current site which is for a recruitment company, I have adapted the NEWS module to display the latest vacancies on the home page and is working like a treat. My problem is, when I use the search box, it finds the jobs without any problem, however when you then click on the search result link I forwards to a styless page, just listing the layout with out the CSS and the actually result. I have tried creating a seperate search page to point the results at, but to no avail. You can see for yourselves here
http://www.ncnresourcing.co.uk/
try a search and then click the link to see what I mean.
Have I missed some config, being a noooob to the system any help is appreciated.
Thanks
Re: Search problem
ahh
sorry, you have to type the full url
http://www.ncnresourcing.co.uk/index.php
Im still trying to work out what is going wrong. Just had my CMSMS beginners gude book in the post, very usefull for quick ref, but not a great deal about the search function.
any help Please
thanks
sorry, you have to type the full url
http://www.ncnresourcing.co.uk/index.php
Im still trying to work out what is going wrong. Just had my CMSMS beginners gude book in the post, very usefull for quick ref, but not a great deal about the search function.
any help Please

thanks
Re: Search problem
The error I get is when you click on the search result url is -
: string(43) "Smarty error: eval: missing 'var' parameter"
Having googled it, it shows up as more a bug as hundreds of sites are indexed with the problem. Any ideas?
thanks
: string(43) "Smarty error: eval: missing 'var' parameter"
Having googled it, it shows up as more a bug as hundreds of sites are indexed with the problem. Any ideas?
thanks
Re: Search problem
I dont see the error, but the search isnt the CMSMS search but an iframed external search engine.
Could you explain a bit more the issue you have with Search, as you mention that clicking will tell, but I see external-results...
Ronny
Could you explain a bit more the issue you have with Search, as you mention that clicking will tell, but I see external-results...
Ronny
Re: Search problem
Hi Ronny
I was trying a different search option when you checked
Im due to go live on Monday.
Its been returned to the CMSMS mod now. Ive also attatched a screen shot of the error.
Cheers for taking a look.
I was trying a different search option when you checked

Its been returned to the CMSMS mod now. Ive also attatched a screen shot of the error.
Cheers for taking a look.
Re: Search problem
Hi,
I've got the same probem here.
The search module does give this URL for the article "index.php?mact=News,cntnt01,detail,0&cntnt01returnid=15" whereas the right URL is "index.php?mact=News,cntnt01,detail,0&cntnt01articleid=107&cntnt01returnid=65".
"articleid=107" is missing.
All the template is not loaded it stops just before {content}
Try it : www.sfp-apa.fr
Search with keyword "SSR", click the first link and look what's happning.
I've got the same probem here.

The search module does give this URL for the article "index.php?mact=News,cntnt01,detail,0&cntnt01returnid=15" whereas the right URL is "index.php?mact=News,cntnt01,detail,0&cntnt01articleid=107&cntnt01returnid=65".
"articleid=107" is missing.
All the template is not loaded it stops just before {content}
Try it : www.sfp-apa.fr
Search with keyword "SSR", click the first link and look what's happning.
Re: Search problem
@square
I think your problem is of a different type.
Try to enable internal pretty URL or mod_rewrite and see if it still persists.
I think your problem is of a different type.
Try to enable internal pretty URL or mod_rewrite and see if it still persists.
Re: Search problem
@klenkes
Thanks for your help,
I tried with "$config['url_rewriting'] = 'internal';" and it doesn't solved my error.
mod_rewrite doesn't work, so I can't try it but I don't think this is a url rewriting problem.
Thanks for your help,
I tried with "$config['url_rewriting'] = 'internal';" and it doesn't solved my error.
mod_rewrite doesn't work, so I can't try it but I don't think this is a url rewriting problem.
To me, it sounds it's the same problem, but his error has evolved form post#1 to post#4 ": string(43) "Smarty error: eval: missing 'var' parameter" "My problem is, when I use the search box, it finds the jobs without any problem, however when you then click on the search result link I forwards to a styless page, just listing the layout with out the CSS and the actually result.
Re: Search problem
strange...
I had the same problem with searchresultlinks, that parsing stopped right at the content tag and no style at all.
I switched to pretty URL and everything was fine.
The resultlink seems to miss the articleid=xx parameter:
http://www.sfp-apa.fr/cms/index.php?mac ... eturnid=15
This cannot work if no articleid is known!
With pretty URL the articleid is attached to the URL so it should work in your case too.
starnge...
I had the same problem with searchresultlinks, that parsing stopped right at the content tag and no style at all.
I switched to pretty URL and everything was fine.
The resultlink seems to miss the articleid=xx parameter:
http://www.sfp-apa.fr/cms/index.php?mac ... eturnid=15
This cannot work if no articleid is known!
With pretty URL the articleid is attached to the URL so it should work in your case too.
starnge...
Re: Search problem
Yes, it's only this parameter that's missing... And yes it's strange !klenkes wrote: The resultlink seems to miss the articleid=xx parameter
I'll try localy, but I don't see why it would be better...
Re: Search problem
I successfully activated the mod_rewrite and now it works. But it didn't solve the problem, it gave another way.
Re: Search problem
But the site just looks fine.My problem is, when I use the search box, it finds the jobs without any problem, however when you then click on the search result link I forwards to a styless page, just listing the layout with out the CSS and the actually result.
If I search for "weekend" and click on the resultlink the site displays fine and without any errors.
Am I missing something?
Re: Search problem
Yes, search for "database"klenkes wrote: Am I missing something?

Re: Search problem
C'mon... you are pulling my leg!
"No results found" on "database"
I did 10 searches and everything went and looked fine.
"No results found" on "database"
I did 10 searches and everything went and looked fine.