View Issue Details

IDProjectCategoryView StatusLast Update
0000822SigServerBug Reportpublic2007-12-09 16:29
Reporterexp Assigned Toantennen  
PrioritylowSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0000822: When Image generation fails, display an "error image"
DescriptionIf the image generation fails you can currently end up with a "File not found" error page (or an image not being loaded).

This isn't really much of an issue, however, in some cases it may lead to problems if a user is updating a signature which is already in use on multiple forums and makes a mistake in the code.

Possible solutions:
a) make sure that a valid image is returned, _always_. I.e. a small place holder image which just says "image generation error" or something like that. The best would probably be to reuse the users background for that (in order to make sure that the image dimensions stay the same).

b) only update the image which can be accessed by external parties when the image generation succeeded. I.e. if I make a typo while editing my sig, then the old sig picture would still be displayed on the forum until I fix the typo.
Additional InformationPHP error log for the corresponding time frame:

[01-Dec-2007 14:43:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 53: parser error : Premature end of data in tag image line 1 in xxx/htdocs/image.php on line 145
[01-Dec-2007 14:43:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: in xxx/htdocs/image.php on line 145
[01-Dec-2007 14:43:30] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in xxx/htdocs/image.php on line 145
[01-Dec-2007 14:43:30] PHP Warning: Missing argument 1 for Sig::destroy(), called in xxx/htdocs/image.php on line 183 and defined in xxx/engines/sig.php on line 82
[01-Dec-2007 14:45:57] PHP Warning: main() [<a href='function.main'>function.main</a>]: Node no longer exists in xxx/htdocs/image.php on line 193
[01-Dec-2007 14:46:22] PHP Warning: main() [<a href='function.main'>function.main</a>]: Node no longer exists in xxx/htdocs/image.php on line 193
[01-Dec-2007 14:48:58] PHP Warning: main() [<a href='function.main'>function.main</a>]: Node no longer exists in xxx/htdocs/image.php on line 193
[01-Dec-2007 14:54:45] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: Entity: line 13: parser error : Opening and ending tag mismatch: b line 13 and a in xxx/htdocs/image.php on line 145
[01-Dec-2007 14:54:45] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: <line>sarunasnet</a></line> in xxx/htdocs/image.php on line 145
[01-Dec-2007 14:54:45] PHP Warning: simplexml_load_string() [<a href='function.simplexml-load-string'>function.simplexml-load-string</a>]: ^ in xxx/htdocs/image.php on line 145
[01-Dec-2007 14:54:45] PHP Warning: Missing argument 1 for Sig::destroy(), called in xxx/htdocs/image.php on line 183 and defined in xxx/engines/sig.php on line 82
TagsNo tags attached.

Activities

antennen

2007-12-09 16:29

administrator   ~0001547

Support for option B added. Error messages are only displayed if a valid clearkey is supplied. Meaning errors will only be displayed on edit page. If valid clearkey isn't supplied on error cached image is displayed. Recaching only occurs on no errors.

If signature isn't found, when id and key isn't found in the database, it displays a 404 page, which looks like Apache's own.

Issue History

Date Modified Username Field Change
2007-12-01 14:09 exp New Issue
2007-12-09 12:42 antennen Status new => assigned
2007-12-09 12:42 antennen Assigned To => antennen
2007-12-09 16:29 antennen Note Added: 0001547
2007-12-09 16:29 antennen Status assigned => resolved
2007-12-09 16:29 antennen Resolution open => fixed