Page 1 of 1

Linking problem

Posted: Wed Aug 18, 2010 2:27 pm
by ptityop
Hi,

I have an issue with a banner I integrated in a page (http://hostelsuites.com) if you go to the page you'll see a banner on the left side , called "Combo Andes". The problem I am encountering is that this banner is linking to inside pages, and it works all fine for me but does not on some other computers, although they are using the same explorer or firefox versions....

I have no idea as to what could trigger this type of error, any help would be muche welcome.

Some details that might help :
The link is winthin the flash movie
The code that brings the banner up depending on the chosen language is

Code: Select all

<div class="subtitulo"><?= ucfirst($lang["combomendoza"]) ?></div>


Thank you very much in advance

Re: Linking problem

Posted: Wed Aug 18, 2010 9:34 pm
by califdon
You are using what is called "short tags" in that example, which is not good PHP coding practice. It works on servers that are configured for it, but not all servers are. I would recommend replacing that line (and all similar lines) with:

Code: Select all

<div class="subtitulo"><?php echo "ucfirst($lang['combomendoza'])" ?></div>
That may not affect the problem you're having, but it's still a good thing to do. And I always start trying to solve a problem by eliminating all the odd things that I know are wrong.

Your link actually is not within the Flash movie, the movie is within the link, so I don't think that's a factor. However, if the person viewing the page doesn't have Flash installed, that might cause the link to fail, although that doesn't sound plausible. But it might possibly explain why some people using the same browser don't have the same behavior as others. Can you get someone who is having this problem to send you the Source Page from their browser? If the hyperlink code looks correct, then it's a problem with their browser. I don't know how it could look any different, since the server just sends the same HTML code regardless of who requests it (unless your language selection code is doing something that it shouldn't do).