Lines Matching defs:error
611 echo '<th class="error">' . $this->lang['error'] . '</th>';
622 echo '<td class="error">' . $failure['error'] . ' </td>';
1068 !empty($_FILES['import']['error']) && $this->isUploadedFile($_FILES['import']['tmp_name'])
1085 $error = ''; // clean out any errors from the previous line
1092 $error = sprintf($this->lang['import_error_fields'], count($raw));
1093 $this->import_failures[$line] = ['error' => $error, 'user' => $raw, 'orig' => $csv];
1097 $clean = $this->cleanImportUser($raw, $error);
1098 if ($clean && $this->importUser($clean, $error)) {
1107 $this->import_failures[$line] = ['error' => $error, 'user' => $raw, 'orig' => $csv];
1138 * @param string $error
1141 protected function cleanImportUser($candidate, &$error)
1155 $error = $this->lang['import_error_baduserid'];
1162 $error = $this->lang['import_error_badname'];
1168 $error = $this->lang['import_error_badmail'];
1172 $error = $this->lang['import_error_badmail'];
1185 * @param string &$error reference catched error message
1188 protected function importUser($user, &$error)
1191 $error = $this->lang['import_error_create'];