473,322 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

error(?) "302 Found" on Validator XHTML W3C

Hello to everybody.

I'm working in Italy on this website
http://www.fondazioneantonioruberti.it/ariene/
as css/xhtml/graphic designer in cooperation with a php programmer and
a ISP provider.
The site is still in test but i'm having no answer from
http://validator.w3.org/ except "302 found" for this page
http://www.fondazioneantonioruberti.it/ariene/
and also
http://www.fondazioneantonioruberti.it/ariene/index.php .

I've tried to follow these warnings
http://www.checkupdown.com/status/E302.html
and
http://www.w3.org/Protocols/rfc2616/...html#sec10.3.3

But i've no idea wher should be the problem, and the php programmer and
ISP seem to want to ignore these thread i've suggested to them (maybe
for problem with english? ).
Anyway, please, does somebody have solved in the past somthing similar?

Thanks in advance.

All the best.

Matteo - www.dlsan.org - www.mscreativestudio.com

Aug 5 '05 #1
4 3257
dlsan wrote:
Hello to everybody.

I'm working in Italy on this website
http://www.fondazioneantonioruberti.it/ariene/
as css/xhtml/graphic designer in cooperation with a php programmer and
a ISP provider.
The site is still in test but i'm having no answer from
http://validator.w3.org/ except "302 found" for this page
http://www.fondazioneantonioruberti.it/ariene/
and also
http://www.fondazioneantonioruberti.it/ariene/index.php .

I've tried to follow these warnings
http://www.checkupdown.com/status/E302.html
and
http://www.w3.org/Protocols/rfc2616/...html#sec10.3.3

But i've no idea wher should be the problem, and the php programmer
and ISP seem to want to ignore these thread i've suggested to them
(maybe for problem with english? ).
Anyway, please, does somebody have solved in the past somthing
similar?


Fix your code, perhaps?

http://www.fondazioneantonioruberti.it/ariene/index.php
Loading this URL in Lynx show the following headers:
------------------------------------------------
HTTP/1.1 302 Found
Date: Fri, 05 Aug 2005 14:08:46 GMT
Server: Apache/1.3.23 (Unix) (Red-Hat/Linux) DAV/1.0.3 PHP/4.3.10
mod_perl/1.2
6
X-Powered-By: PHP/4.3.10
Set-Cookie: PHPSESSID=1405374a1fc50052b1679dfb83d9d687; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0,
pre-check=0
Pragma: no-cache
Location: http://www.fondazioneantonioruberti.it/ariene/index.php
Connection: close
Content-Type: text/html
------------------------------------------------

In essence, http://www.fondazioneantonioruberti.it/ariene/index.php
tries to redirect to itself, something which would cause an endless
loop.

--
Kim André Akerø
- ki******@NOSPAMbetadome.com
(remove NOSPAM to contact me directly)
Aug 5 '05 #2
dlsan wrote:
Hello to everybody.

I'm working in Italy on this website
http://www.fondazioneantonioruberti.it/ariene/
as css/xhtml/graphic designer in cooperation with a php programmer and
a ISP provider.
The site is still in test but i'm having no answer from
http://validator.w3.org/ except "302 found" for this page
http://www.fondazioneantonioruberti.it/ariene/
and also
http://www.fondazioneantonioruberti.it/ariene/index.php .


Very strange, because I got the same result as you from the validator,
but I just requested the latter URL with the network monitor on, and the
request definitely came back with a 200 status.
Aug 5 '05 #3
Kim André Akerø wrote:
Fix your code, perhaps?

http://www.fondazioneantonioruberti.it/ariene/index.php
Loading this URL in Lynx show the following headers: .... ------------------------------------------------

In essence, http://www.fondazioneantonioruberti.it/ariene/index.php
tries to redirect to itself, something which would cause an endless
loop.


Thanx!
Lynx, right.
It's just one step beyond.
We'll try to deepen this way.

Matteo

Aug 5 '05 #4
dlsan wrote:
The site is still in test but i'm having no answer from
http://validator.w3.org/ except "302 found" for this page
http://www.fondazioneantonioruberti.it/ariene/


It looks like the PHP script tests for the presence of a cookie, if it isn't
found it tries to set it, then redirects the user back to the same page.

If the user agent doesn't support, or has disabled, cookies (and the Markup
Validator is such a user agent), then this ends up with an infinite loop.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Aug 5 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: rcb845 | last post by:
HI fellow php fans, I am blocked with a simple problem, at least it seems simple, but I cannot make it through. I want to execute a .php script in case of "error 404, page not found". I am...
3
by: Stephen Poley | last post by:
Could some kind soul explain the errors and warnings that the W3C CSS validator generates for page: http://www.atlis.nl/testsite/nl/ Results at: http://tinyurl.com/5pxqx The error "Invalid...
4
by: amywolfie | last post by:
I would like to put code behind a Find button on a form which: 1) Performs a find based on a field on the form 2) If NO RECORDS ARE FOUND, then displays a custom "No Records Found" message box. ...
9
by: Martin Eyles | last post by:
Hi, I have set up an asp.net website on another PC in order to test it. The site was fine on my PC, but on the new PC all the pages give the error "The Page Cannot Be Found". Some legacy pages...
1
by: timbobd | last post by:
I have encountered a situation that I don't understand. When I call a sub of Friend scope (in an object with Friend scope), I am getting an error "Public member 'subname' not found in type...
1
by: hendy | last post by:
Dear all, i'm using windows XP, IIS 5.1, Visual .NET 2003 and SQL Server 2000. When I open New Project - Visual C# Projects - ASP .NET Web Service - Location : http://localhost/WebService1 ...
0
by: hendy | last post by:
Dear all, i'm using windows XP, IIS 5.1, Visual .NET 2003 and SQL Server 2000. When I open New Project - Visual C# Projects - ASP .NET Web Service - Location : http://localhost/WebService1 ...
1
by: technod | last post by:
Hi, The error I am describing occurs with the script I've pasted below. It's a validator for form fields and prints a message into a span tag located beside the empty input tag. I have hard...
8
by: webgenius | last post by:
Whenever I click the SUBMIT button in my HTML page, I get the "Object not found!" error. It was working fine yesterday. This error started to occur after I installed Codelobster and made some changes...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.