Opened 17 years ago

Closed 16 years ago

#399 closed Defect (fixed)

Supress temporary network errors on show_user.php

Reported by: Nicolas Owned by: Rytis
Priority: Trivial Milestone: Undetermined
Component: Web - Forums Version:
Keywords: xml errors php Cc:

Description

On show_user.php, I just had the server return a PHP error saying "Temporary failure in name resolution for boinc.netsoft-online.com". This is when getting the stats for the user page. If any error happens when loading that, it should be silent about it, not showing the "other projects" list.

When this error is shown on show_user.php?format=xml, it also causes the XML document to be invalid (because there is PHP error messages in HTML mixed there). That's a different fix: on the XML, it shouldn't even try to load the other project stats. They aren't returned anyway.

Attached is the "XML" page I got on show_user.php?format=xml.

Attachments (1)

show_user.xml (975 bytes) - added by Nicolas 17 years ago.
show_user.php?format=xml output when there are DNS problems on server

Download all attachments as: .zip

Change History (3)

Changed 17 years ago by Nicolas

Attachment: show_user.xml added

show_user.php?format=xml output when there are DNS problems on server

comment:1 Changed 16 years ago by jbk

Fixed in revision 16062.

comment:2 Changed 16 years ago by Nicolas

Resolution: fixed
Status: newclosed

Fixed in [16062].

Note: See TracTickets for help on using tickets.