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.
show_user.php?format=xml output when there are DNS problems on server