@gregorywest wrote:
When I click on the Export DID button under the bulk handler the program crashes. Below is part of the error dump.
Greg
Whoops \ Exception \ ErrorException
(E_WARNING)
strpos() expects parameter 1 to be string, array given
/var/www/html/admin/modules/bulkdids/bulkdids.inc.php
$csv_line[16] = $fax_detect; $csv_line[17] = isset($fax_info['detection'])?$fax_info['detection']:""; $csv_line[18] = isset($fax_info['detectionwait'])?$fax_info['detectionwait']:""; $csv_line[19] = isset($fax_info['destination'])?$fax_info['destination']:""; } for ($i = 0; $i < count($csv_line); $i++) { /* If the string contains a comma, enclose it in double-quotes. */ if (strpos($csv_line[$i], ",") !== FALSE) { $csv_line[$i] = "\"" . $csv_line[$i] . "\""; }
Server/Request Data
HTACCESS
on
HTTP_HOST
sip.dbwsys.mb.ca
HTTP_USER_AGENT
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
HTTP_ACCEPT
text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
HTTP_ACCEPT_LANGUAGE
en-US,en;q=0.5
HTTP_ACCEPT_ENCODING
gzip, deflate
HTTP_REFERER
http://sip.dbwsys.mb.ca/admin/config.php?display=bulkdids
HTTP_COOKIE
lang=en_US; searchHide=1; PHPSESSID=fenguo38p5sf30sfu5hpabk8g5; _ga=GA1.3.1951262934.1467294355
HTTP_CONNECTION
keep-alive
CONTENT_TYPE
multipart/form-data; boundary=---------------------------233311890414787
CONTENT_LENGTH
304
PATH
/sbin:/usr/sbin:/bin:/usr/bin
SERVER_SIGNATURE
Apache/2.2.15 (CentOS) Server at sip.dbwsys.mb.ca Port 80
SERVER_SOFTWARE
Apache/2.2.15 (CentOS)
SERVER_NAME
sip.dbwsys.mb.ca
SERVER_ADDR
10.10.10.205
SERVER_PORT
80
REMOTE_ADDR
10.10.10.123
Posts: 2
Participants: 2