Is this a know problem?

This is a discussion on Is this a know problem? within the alt.comp.lang.php forums, part of the PHP Programming Forums category; Hi, I recieved an e-mail from someone who can't view the website www.starofhope.nl. He omly gets ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-13-2004
J.P.
 
Posts: n/a
Default Is this a know problem?

Hi,

I recieved an e-mail from someone who can't view the website
www.starofhope.nl. He omly gets the first opening page, but he can't
view the rest of the site, because the links from the buttons don't work.
When you click on a button, the address show for instance:
www.starofhope.nl/?gastenboek

Does the slash in the link cause problems?

I tested it on IE, Firefox and Opera. I had absolute no problems.
He uses IE with Norton Antivirus.

Anyone familair with this problem?

--

J.P.
Reply With Quote
  #2 (permalink)  
Old 12-14-2004
George King
 
Posts: n/a
Default Re: Is this a know problem?


"J.P." <jp@provider.net> wrote in message
news:cpl77g$rhv$1@news6.zwoll1.ov.home.nl...
> Hi,
>
> I recieved an e-mail from someone who can't view the website
> www.starofhope.nl. He omly gets the first opening page, but he can't view
> the rest of the site, because the links from the buttons don't work.
> When you click on a button, the address show for instance:
> www.starofhope.nl/?gastenboek
>
> Does the slash in the link cause problems?
>
> I tested it on IE, Firefox and Opera. I had absolute no problems.
> He uses IE with Norton Antivirus.
>
> Anyone familair with this problem?
>
> --
>
> J.P.


I believe the problem lies in IE's handling of an "empty" uri. The links in
your html are "relative" (a href="?page=agenda"). In the absence of a path,
I believe that IE is returning a query string (defined as anything following
a question mark in a URI) to the context in which it exists. In other
words, IE sends the query string to the index page. This was very
confusing, because IE also SAYS it is sending a request for
http://www.starofhope.nl./?page=agenda, but it does not appear to. If, at
some point, you provide IE with an absolute URI to a page in the site, it
will then populate the relative URI with the appropriate path.

You can see this behavior fairly clearly this way:
1. Clear the history file in Explorer.
2. Visit the site home page.
3. Click any menu button - I expect you will still see the home page.
4. Type an absolute URI for one of the site's page's pages - you will see
that page (not the URI for the "current page", but any other page).
5. Click on any menu button - I expect you will see the requested page, and
all menu buttons will now return the indicated page.

You might try placing a "/" in front of the "?" in your relative links and
see if this doesn't fix the problem for IE.

George


Reply With Quote
  #3 (permalink)  
Old 12-14-2004
Andy Barfield
 
Posts: n/a
Default Re: Is this a know problem?

J.P. wrote:
> I tested it on IE, Firefox and Opera. I had absolute no problems.
> He uses IE with Norton Antivirus.


Ran checks here with IE, Mozilla, Firefox and Opera, all running with
Norton AV and Firewall. Your site worked perfectly well for me.

Regards,

Andy
Reply With Quote
  #4 (permalink)  
Old 12-14-2004
George King
 
Posts: n/a
Default Re: Is this a know problem?


"George King" <news@geking.com> wrote in message
news:2Oyvd.6742$E_6.5828@trnddc04...
>
> "J.P." <jp@provider.net> wrote in message
> news:cpl77g$rhv$1@news6.zwoll1.ov.home.nl...
>> Hi,
>>
>> I recieved an e-mail from someone who can't view the website
>> www.starofhope.nl. He omly gets the first opening page, but he can't view
>> the rest of the site, because the links from the buttons don't work.
>> When you click on a button, the address show for instance:
>> www.starofhope.nl/?gastenboek
>>
>> Does the slash in the link cause problems?
>>
>> I tested it on IE, Firefox and Opera. I had absolute no problems.
>> He uses IE with Norton Antivirus.
>>
>> Anyone familair with this problem?
>>
>> --
>>
>> J.P.

>
> I believe the problem lies in IE's handling of an "empty" uri. The links
> in your html are "relative" (a href="?page=agenda"). In the absence of a
> path, I believe that IE is returning a query string (defined as anything
> following a question mark in a URI) to the context in which it exists. In
> other words, IE sends the query string to the index page. This was very
> confusing, because IE also SAYS it is sending a request for
> http://www.starofhope.nl./?page=agenda, but it does not appear to. If, at
> some point, you provide IE with an absolute URI to a page in the site, it
> will then populate the relative URI with the appropriate path.
>
> You can see this behavior fairly clearly this way:
> 1. Clear the history file in Explorer.
> 2. Visit the site home page.
> 3. Click any menu button - I expect you will still see the home page.
> 4. Type an absolute URI for one of the site's page's pages - you will see
> that page (not the URI for the "current page", but any other page).
> 5. Click on any menu button - I expect you will see the requested page,
> and all menu buttons will now return the indicated page.
>
> You might try placing a "/" in front of the "?" in your relative links and
> see if this doesn't fix the problem for IE.
>
> George
>
>


Sorry, should have mentioned - I tested this with IE 6.0 with Service Pack
2 installed.

George


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:57 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0