| Issue 52: | GIRAFPLACE does not accept valid apk-files... | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Upload valid apk to GIRAFPLACE What is the expected output? apk is accepted and added to girafplace What do you see instead? Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/rune/www/addApplication.php on line 57 Warning: mysql_query(): A link to the server could not be established in /home/rune/www/addApplication.php on line 57 Warning: mysql_real_escape_string(): Access denied for user ''@'localhost' (using password: NO) in /home/rune/www/_functions.php on line 465 Warning: mysql_real_escape_string(): A link to the server could not be established in /home/rune/www/_functions.php on line 465 Warning: mysql_query(): Access denied for user ''@'localhost' (using password: NO) in /home/rune/www/_functions.php on line 468 Warning: mysql_query(): A link to the server could not be established in /home/rune/www/_functions.php on line 468 Error: XML not valid Why is it a problem? Does not accept valid apk-files... also, the error makes no sense... mysql_query() is not supposed to throw XML errors...
May 16, 2011
@comment 1: Woops :) While fixing this issue, a followup issue with the path for the xmlValidator emerged. This has also been fixed. Issue tested afterwards, both with valid and invalid xml. These were treated as intended. (valid was added, invalid rejected).
Status:
Fixed
|
Hint: You don't add stuff to the database in a catch, when the try fails at connecting :P try { Connect(); } catch (Exception $e) { mysql_query(...); } in https://code.google.com/p/sw6android/source/browse/sw6.girafplaceweb/addApplication.php