Jump to content

strange logo-disappearing when searching


Recommended Posts

Sometimes my site logo disappears when searching using v1.5. If I hit search, it just disappears completely and returns again once I come out of the search results.

 

I have noticed this problem happens only sometimes. I only have one language (english) enabled although previously (before the site was upgraded) had 2 other languages. If I enable the languages, the problem never happens on the secondary languages but I've noticed slight differences in the URL for the default language and the extra languagues (if enabled) although for the live site they will not be enabled...

 

This is the web address when searching the term "test" in default language (logo usually, but not always disappears). It doesn't disappear in any other circumstance.

 

WEB-ADDRESS-HERE/search?controller=search&orderby=position&orderway=desc&search_query=test&submit_search=Search

 

This is the web address when searching in a secondary language (the address is a bit different to the default version I noticed -is this normal??) -but the logo never disappears when searching using a secondary language.

 

WEB-ADDRESS-HERE/fr/recherche?orderby=position&orderway=desc&search_query=test&submit_search=Search

 

I'm wondering, could this be some kind of file referencing problem? I'm wondering if I need to manually add an extra / somewhere ?

Link to comment
Share on other sites

An update to this weird problem...

 

On search results page this is the code around the logo (it's apparently not fetching it at all):

 

<img class="logo" alt="Alt text goes here" src=""></img>

 

On all other pages:

 

<img class="logo" width="260" height="89" alt="Alt text goes here" src="/img/logo-1.jpg?1368464545"></img>

 

So I can see why the image isn't there, but not what's causing it not to be referenced. It's the only image on the page that's affected.

Link to comment
Share on other sites

I'm having a bit of a conversation with myself here..., but here's a bit more info:

 

The problem described above occurs consistently when the smarty settings (the correct settings for a live site are like this):

 

OFF Never recompile template files

OFF Recompile templates if the files have been updated

ON Force compilation

ON Cache

 

 

The problem does not occur as often when the cache settings are like this (but this is no good for a live site):

 

OFF Never recompile template files

ON Recompile templates if the files have been updated

OFF Force compilation

OFF Cache

 

I'm hoping someone might why this is occuring and if this info about cache gives a clue why the disappearing logo only affects search results page(s).

 

thanks

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...