Discussions about development of VICIDIAL and astGUIclient
Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
by marcoe » Thu May 26, 2011 2:09 pm
Hello guys,
I'm trying to debug some hangup issues that I'm having, and looking at the code in manager_send.php we notice that it is capable of echoing queries when variable $format is equal to "debug". Sorry to be this ignorant, but since manager_send.php is run from behind the scenes, where can I get this "print outs" ??
Thanks.
-
marcoe
-
- Posts: 60
- Joined: Tue Feb 23, 2010 2:06 pm
- Location: Brazil
by mflorell » Thu May 26, 2011 2:29 pm
Look for this at the top of the script:
$mel=1; # Mysql Error Log enabled = 1
Just change it to 2 and you will log every MySQL query to a log file in the agc directory.
This works for other PHP scripts in the agc directory as well.
-
mflorell
- Site Admin
-
- Posts: 18399
- Joined: Wed Jun 07, 2006 2:45 pm
- Location: Florida
-
by marcoe » Thu May 26, 2011 3:31 pm
Thanks for the help, this debug is really great.
-
marcoe
-
- Posts: 60
- Joined: Tue Feb 23, 2010 2:06 pm
- Location: Brazil
Return to Development
Who is online
Users browsing this forum: No registered users and 16 guests