Lines Matching defs:error
610 echo '<th class="error">' . $this->lang['error'] . '</th>';
621 echo '<td class="error">' . $failure['error'] . ' </td>';
1067 !empty($_FILES['import']['error']) && $this->isUploadedFile($_FILES['import']['tmp_name'])
1084 $error = ''; // clean out any errors from the previous line
1091 $error = sprintf($this->lang['import_error_fields'], count($raw));
1092 $this->import_failures[$line] = ['error' => $error, 'user' => $raw, 'orig' => $csv];
1096 $clean = $this->cleanImportUser($raw, $error);
1097 if ($clean && $this->importUser($clean, $error)) {
1106 $this->import_failures[$line] = ['error' => $error, 'user' => $raw, 'orig' => $csv];
1137 * @param string $error
1140 protected function cleanImportUser($candidate, &$error)
1154 $error = $this->lang['import_error_baduserid'];
1161 $error = $this->lang['import_error_badname'];
1167 $error = $this->lang['import_error_badmail'];
1171 $error = $this->lang['import_error_badmail'];
1184 * @param string &$error reference catched error message
1187 protected function importUser($user, &$error)
1190 $error = $this->lang['import_error_create'];