Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQL errors #28

Open
cg089 opened this issue Jun 17, 2015 · 0 comments
Open

SQL errors #28

cg089 opened this issue Jun 17, 2015 · 0 comments

Comments

@cg089
Copy link

cg089 commented Jun 17, 2015

Hello,
I installed torque manually on my mysql/php webspace.

The (Android) client seems to work just fine, when i look at the database with myphpadmin, there are lots of entries coming.

However, the front end results in various errors.

session.php:
"/get_sessions.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /xxx/torque/get_columns.php on line 5

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /xxx/torque/plot.php on line 6

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /xxx/torque/session.php on line 12

After selecting an entry, I get:

url.php

Deprecated: mysql_escape_string(): This function is deprecated; use mysql_real_escape_string() instead. in /xxx/torque/url.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /xxx/torque/url.php:30) in /xxx/torque/url.php on line 39

After editing the url.php on line 30 with mysql_real_escape_string() i get:

Deprecated: mysql_real_escape_string(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /xxx/torque/url.php on line 30

Warning: mysql_real_escape_string(): Access denied for user 'u1234'@'localhost' (using password: NO) in /xxx/torque/url.php on line 30

Warning: mysql_real_escape_string(): A link to the server could not be established in /xxx/torque/url.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /xxx/torque/url.php:30) in /xxx/torque/url.php on line 39

Especially the line Warning: mysql_real_escape_string(): Access denied for user 'u1234'@'localhost' (using password: NO) in /xxx/torque/url.php on line 30 i weird. In the creds.php I don't use localhost, but mysql5.mydomain.tld and another db1234 instead of "u1234" ??

Any help appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant