找到File.class.php,并注释掉46行“error_log("[{$now}] ".$_SERVER['REMOTE_ADDR'].' '.$_SERVER['REQUEST_URI']."\r\n{$log}\r\n", 3,$destination);”后,程序正常,大小文件均可通过
$col_count = count($cell_ti
for($row = 2; $row <= $row_num; $row++) {
$date = array();
for($col = 0; $col < $col_count; $col++) {
$value = $currentSheet->getCellByColumnAndRow($col, $row)->getFormattedValue();
$date[$cell_ti
}
M($dbname)->add($date); //这一行出错
unset($date);
}
是否是thinkphp 日志记录有问题???
最佳答案