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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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. |
|
|||
|
"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 |
|
|||
|
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 |
|
|||
|
"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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|