cyrenity wrote:Hi,
while looking at agc/vicidial.php code. i am wondering where is $user variable defined, i see this variable is used several times in vicidial.php but i couldn't find the point where it is. defined.
Best Regards
when you post, please post your entire configuration including (but not limited to) your installation method,
vicidial version and build, asterisk version, telephony hardware (model number is helpful here), cluster information if you have one, and whether any other software is installed in the box.
Similar to This:
Vicibox X.X from .iso | Vicidial X.X.X Build XXXX | Asterisk X.X.X | Single Server | No Digium/Sangoma Hardware | No Extra Software After Installation
this IS a requirement for posting along with reading the stickies (at the top of each forum) and the manager's manual (available on EFLO.net, both free and paid versions)
___
For instance, this is from 2.0.5 which is no longer supported:
- Code: Select all
### BEGIN - CHECK TO SEE IF SHIFT ENFORCEMENT IS ENABLED AND AGENT IS OUTSIDE OF THEIR SHIFTS, IF SO, OUTPUT ERROR
Below which I find:
- Code: Select all
if ($mel > 0) {mysql_error_logging($NOW_TIME,$link,$mel,$stmt,'01056', $user, $server_ip,$session_name,$one_mysql_log);}
But i expect this has been changed in future versions.
Perhaps you could post your setup and ask again (with a snippet of the code about which are you inquiring).
PS: I could not find the declaration/initialization/assignment of $user either! LOL