Home
last modified time | relevance | path

Searched full:error (Results 1 – 25 of 396) sorted by relevance

12345678910>>...16

/dokuwiki/vendor/kissifrot/php-ixr/src/Server/
H A DServer.php8 use IXR\Message\Error; alias
47 $this->error(-32700, 'parse error. not well formed');
50 …$this->error(-32600, 'server error. invalid xml-rpc. not conforming to spec. Request must be a met…
54 // Is the result an error?
55 if ($result instanceof Error) {
56 $this->error($result);
83 … return new Error(-32601, 'server error. requested method ' . $methodname . ' does not exist.');
104 … return new Error(-32601, "server error. requested callable '{$method}' does not exist.");
109 public function error($error, $message = false) argument
111 // Accepts either an error object or an error code and message
[all …]
H A DIntrospectionServer.php6 use IXR\Message\Error; alias
70 return new Error(-32601,
71 … 'server error. requested method "' . $this->message->methodName . '" not specified.');
79 return new Error(-32602, 'server error. wrong number of method parameters');
120 return new Error(-32602, 'server error. invalid method parameters');
130 … return new Error(-32601, 'server error. requested method "' . $method . '" not specified.');
H A DClassServer.php4 use IXR\Message\Error; alias
60 … return new Error(-32601, 'server error. requested method ' . $methodname . ' does not exist.');
82 …return new Error(-32601, 'server error. requested class method "' . $method . '" does not exist.');
90 … return new Error(-32601, 'server error. requested function "' . $method . '" does not exist.');
/dokuwiki/inc/
H A DErrorHandler.php15 * Standard error codes used in PHP errors
37 * Register the default error handling
54 * The exception is logged to the error log
62 $msg = 'An unforeseen error has occured. This is most likely a bug somewhere.';
65 ? 'More info has been written to the DokuWiki error log.'
85 * Convenience method to display an error message for the given Exception
90 public static function showExceptionMsg($e, $intro = 'Error!')
93 if (self::logException($e)) $msg .= '<br />More info is available in the error log.';
102 $error = error_get_last();
103 // Check if it's a core/fatal error, otherwise it's a normal shutdown
[all …]
/dokuwiki/vendor/splitbrain/lesserphp/src/
H A DParserException.php10 protected string $error = ''; variable in LesserPHP\\ParserException
22 $this->error = $message;
42 * This is the error message without any additional context
46 return $this->error;
50 * The LESS code that triggered the error
60 * The LESS source file where the error was triggered
71 * The line number where the error was triggered
/dokuwiki/vendor/kissifrot/php-ixr/src/Client/
H A DClient.php4 use IXR\Message\Error; alias
32 * @var null|Error
34 * Storage place for an error message
36 private $error = null; variable in IXR\\Client\\Client
107 return $this->handleError(-32300, 'transport error - could not open socket');
122 … return $this->handleError(-32300, 'transport error - HTTP status code was not 200');
144 // XML error
145 return $this->handleError(-32700, 'Parse error. Message not well formed');
165 return (is_object($this->error));
170 $this->error = new Error($errorCode, $errorMessage);
[all …]
/dokuwiki/inc/Remote/
H A DXmlRpcServer.php8 use IXR\Message\Error; alias
58 return new Error(-32603, "server error. not authorized to call method $methodname");
61 return new Error(-32604, "server error. forbidden to call the method $methodname");
64 return new Error($e->getCode(), $e->getMessage());
H A DJsonRpcServer.php117 $this->addErrorData($return); // handles non-error info
122 * Create an error response
135 * Depending on the requested version, add error data to the response
144 // error occured, add to response
145 $response['error'] = [
150 // no error, act according to version
153 $response['error'] = null;
156 $response['error'] = [
161 // version 2 wants no error at all
180 … throw new RemoteException("server error. not authorized to call method $methodname", -32603);
[all …]
/dokuwiki/vendor/splitbrain/php-cli/src/
H A DBase.php56 'error' => array(
167 … 'Valid levels are: debug, info, notice, success, warning, error, critical, alert, emergency.',
252 * Exits the program on a fatal error
254 * @param \Exception|string $error either an exception or an error message
257 public function fatal($error, array $context = array()) argument
260 if (is_object($error) && is_a($error, 'Exception')) {
261 /** @var Exception $error */
262 …$this->logMessage('debug', get_class($error) . ' caught in ' . $error->getFile() . ':' . $error->g…
263 $this->logMessage('debug', $error->getTraceAsString());
264 $code = $error->getCode();
[all …]
/dokuwiki/lib/scripts/
H A Dhelpers.js54 * Report an error from a JS file to the console
56 * @param e The error object
57 * @param file The file in which the error occurred
60 if (window.console && console.error) {
61 console.error('The error "%s: %s" occurred in file "%s". ' +
66 console.error(e.stack);
/dokuwiki/vendor/splitbrain/lesserphp/src/Utils/
H A DAsserts.php63 * @param string $error The error message to throw
66 public static function assertNumber(array $value, string $error = 'expecting number'): float argument
69 throw new Exception($error);
75 public static function assertColor(array $value, $error = 'expected color value'): array argument
78 if (is_null($color)) throw new Exception($error);
/dokuwiki/lib/plugins/config/core/Setting/
H A DSettingAuthtype.php32 … if (!parent::update($input)) return false; // nothing changed or an error caught by parent
33 … $this->local = $local; // restore original, more error checking to come
38 // @TODO: throw an error in plugin controller instead of returning null
40 $this->error = true;
47 $this->error = true;
H A DSettingArray.php38 * if value fails error check, save it
41 * @return bool true if changed, false otherwise (incl. on error)
55 $this->error = true;
73 } elseif ($echo && $this->error) {
/dokuwiki/lib/exe/
H A Ddetail.php9 global $INPUT, $INFO, $IMG, $ID, $REV, $SRC, $ERROR, $AUTH;
27 $ERROR = false; variable
36 $ERROR = 'File not found'; variable
40 $ERROR = p_locale_xhtml('denied'); variable
/dokuwiki/lib/plugins/authad/lang/es/
H A Dlang.php14 $lang['passchangefail'] = 'Error al cambiar la contraseña. ¿Tal vez no se cumplió la directi…
15 $lang['userchangefail'] = 'Error al modificar los atributos del usuario. ¿Tal vez tu cuenta …
16 $lang['connectfail'] = 'Error al conectar con el servidor de Active Directory.';
/dokuwiki/lib/plugins/usermanager/
H A Dcli.php63 $this->error($this->getLang('noauth'));
102 $this->error($this->getLang('nosupport'));
151 $this->error($this->getLang('nosupport'));
163 $this->error($this->getLang('add_fail'));
164 $this->error($this->getLang('addUser_error_missing_pass'));
169 $this->error($this->getLang('add_fail'));
170 $this->error($this->getLang('addUser_error_modPass_disabled'));
178 $this->error($this->getLang('add_fail'));
179 $this->error($this->getLang('addUser_error_create_event_failed'));
197 $this->error($this->getLang('nosupport'));
[all …]
/dokuwiki/inc/Remote/IXR/
H A DClient.php51 $this->handleError(-32300, 'transport error - ' . $this->httpClient->error);
57 … $this->handleError(-32300, 'transport error - HTTP status ' . $this->httpClient->status);
64 // XML error
65 return $this->handleError(-32700, 'Parse error. Message not well formed');
/dokuwiki/lib/plugins/popularity/lang/en/
H A Dlang.php6 $lang['submissionFailed'] = 'The data couldn\'t be sent due to the following error:';
8 $lang['autosubmitError'] = 'The last autosubmit failed, because of the following error: ';
/dokuwiki/_test/tests/Feed/
H A DFeedCreatorValidationTest.php65 $line = (int)$xml->xpath('//m:errors/m:errorlist/error/line')[0];
66 $text = (string)$xml->xpath('//m:errors/m:errorlist/error/text')[0];
67 $element = (string)$xml->xpath('//m:errors/m:errorlist/error/element')[0];
68 $parent = (string)$xml->xpath('//m:errors/m:errorlist/error/parent')[0];
74 "Feed validation produced an error:\n" .
/dokuwiki/lib/styles/
H A Dscreen.css7 div.error,
23 [dir=rtl] div.error,
32 div.error {
34 background-image: url(../images/error.png);
/dokuwiki/
H A Dfeed.php30 echo '<error>RSS feed is disabled.</error>';
73 echo '<error>' . hsc($e->getMessage()) . '</error>';
H A Dinstall.php23 // check for error reporting override or set error reporting to sane values
41 $error = []; variable
314 global $error;
333 $error[] = sprintf($lang['i_badval'], $lang['i_wikiname']);
338 $error[] = sprintf($lang['i_badval'], $lang['i_superuser']);
342 $error[] = sprintf($lang['i_badval'], $lang['pass']);
345 $error[] = sprintf($lang['i_badval'], $lang['passchk']);
349 $error[] = sprintf($lang['i_badval'], $lang['fullname']);
353 $error[] = sprintf($lang['i_badval'], $lang['email']);
504 global $error;
[all …]
/dokuwiki/_test/tests/inc/
H A Dhttpclient_mock.php54 * Return detailed error data
63 'Error' => $this->error,
H A Dparserutils_set_metadata.test.php64 … $this->assertEquals(array('1'=>'Tester1'), $meta['contributor'], 'First edit contributors error');
72 … $this->assertNotEquals($last_edit_date, $meta['date']['modified'], 'First edit date merge error');
73 …ray('tester2'=>'Tester2', '1'=>'Tester1'), $meta['contributor'], 'Second edit contributors error');
81 …rray('tester2'=>'Tester2', '1'=>'Tester1'), $meta['contributor'], 'Third edit contributors error');
/dokuwiki/lib/plugins/extension/
H A DNotice.php9 public const ERROR = 'error'; define in dokuwiki\\plugin\\extension\\Notice
15 self::ERROR => 'E',
22 self::ERROR => [],
115 $this->notices[self::ERROR][] = sprintf(
163 $this->notices[self::ERROR][] = sprintf(
179 $this->notices[self::ERROR][] = $e->getMessage();
220 $this->notices[self::ERROR][] = $e->getMessage();

12345678910>>...16