Open Source Training Seminar FreePBX Paid Support

Ticket #1309 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

Problem with reports

Reported by: Hawk Assigned to:
Priority: trivial Milestone: 2.2
Component: Other Module Version: 2.2beta2
Keywords: reports Cc:
Confirmation: SVN Revision (if applicable):
Backend Engine: All Backend Engine Version:

Description

When I try to see the reports (ASTERISK : CDR ANALYSER)

I have the errors :

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access denied for user 'root'@'localhost' (using password: NO) in /srv/www/html/admin/cdr/cdr.php on line 26

Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A link to the server could not be established in /srv/www/html/admin/cdr/cdr.php on line 26

Change History

11/11/06 16:55:42 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to worksforme.

sounds like a password problem to the cdr database? If I'm missing something, feel free to reopen but check your passwords to the cdr database and make sure they are ok.

11/11/06 16:59:01 changed by p_lindheimer

  • status changed from closed to reopened.
  • resolution deleted.

hmm - maybe I reacted to soon, looks like this was reported on #1322 as well so I'll leave it open until resolution.

11/11/06 17:10:06 changed by p_lindheimer

  • status changed from reopened to closed.
  • resolution set to fixed.

reverted r2418 which seems to have created this error. r3047 and r3048 should fix it. Please try downloading and reopen if this is still borken

11/11/06 17:10:38 changed by p_lindheimer

reverted r2418 which seems to have created this error. r3047 and r3048 should fix it. Please try downloading and reopen if this is still borken

(follow-up: ↓ 6 ) 11/11/06 17:21:45 changed by p_lindheimer

well - I reverted r2418 in cdr.php - didn't change the others

(in reply to: ↑ 5 ) 11/12/06 06:55:22 changed by Hawk

  • status changed from closed to reopened.
  • resolution deleted.

Try using addslashes php function to prevent SQL injection :

$$test_var = addslashes($_POST[$test_var]);

(follow-up: ↓ 8 ) 11/12/06 09:16:44 changed by p_lindheimer

the suggestion is appreciated. I'm leaving this for when X-Rob gets back since he made all the other changes in that previous checking and may have other stuff he wants to look at.

However - did you reopen this because the bug is still there, or to post the comment?

(in reply to: ↑ 7 ) 11/12/06 09:57:57 changed by Hawk

Just to post the comment.

r3047 and r3048 seems to correct the problem

11/12/06 16:59:38 changed by p_lindheimer

  • status changed from reopened to closed.
  • resolution set to fixed.

01/08/07 11:46:44 changed by

  • milestone deleted.

Milestone 2.2 deleted

01/08/07 12:45:47 changed by vgster

  • milestone set to 2.2.
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads