My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 52: GIRAFPLACE does not accept valid apk-files...
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  jkg@jkg.dk
Closed:  May 2011


 
Project Member Reported by jkg@jkg.dk, May 15, 2011
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 15, 2011
Project Member #1 jkg@jkg.dk
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
May 16, 2011
Project Member #2 mlisb...@student.aau.dk
@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

Powered by Google Project Hosting