joomla - PHP Fatal error: Call to undefined method JDocumentError::close() -
i've searched solution everywhere couldn't find answer. days got error without change or anything:
and can't access website in entire day starts working again without change, , days later same problem. can do?
internal server error
the server encountered internal error or misconfiguration , unable complete request.
please contact server administrator @ webmaster@magic.kiwitextil.com inform them of time error occurred, , actions performed before error.
more information error may available in server error log.
additionally, 500 internal server error error encountered while trying use errordocument handle request.
my site is: www.magic.cr
i can access backend always! (magic.cr/administrator)
i've checked server logs , got lines repeating constantly:
[23-aug-2016 16:44:53 utc] php deprecated: non-static method japplication::redirect() should not called statically, assuming $this incompatible context in /home/kiwitex/public_html/magic.cr/templates/braink/error.php on line 9
[23-aug-2016 16:44:53 utc] php notice: undefined property: jdocumenterror::$_messagequeue in /home/kiwitex/public_html/magic.cr/libraries/legacy/application/application.php on line 376
[23-aug-2016 16:44:53 utc] php notice: undefined property: jdocumenterror::$client in /home/kiwitex/public_html/magic.cr/libraries/legacy/application/application.php on line 394
[23-aug-2016 16:44:53 utc] php notice: trying property of non-object in /home/kiwitex/public_html/magic.cr/libraries/legacy/application/application.php on line 394
[23-aug-2016 16:44:53 utc] php fatal error: call undefined method jdocumenterror::close() in /home/kiwitex/public_html/magic.cr/libraries/legacy/application/application.php on line 409 /home/kiwitex/public_html/magic.cr/libraries/legacy/application/application.php lines 376 409
if (count($this->_messagequeue)) { $session = jfactory::getsession(); $session->set('application.queue', $this->_messagequeue); } // if headers have been sent, cannot send additional location header // output javascript redirect statement. if (headers_sent()) { echo "<script>document.location.href='" . str_replace("'", "'", $url) . "';</script>\n"; } else { $document = jfactory::getdocument(); jimport('phputf8.utils.ascii'); if (($this->client->engine == japplicationwebclient::trident) && !utf8_is_ascii($url)) { // msie type browser and/or server cause issues when url contains utf8 character,so use javascript redirect method echo '<html><head><meta http-equiv="content-type" content="text/html; charset=' . $document->getcharset() . '" />' . '<script>document.location.href=\'' . str_replace("'", "'", $url) . '\';</script></head></html>'; } else { // other browsers, use more efficient http header method header($moved ? 'http/1.1 301 moved permanently' : 'http/1.1 303 see other'); header('location: ' . $url); header('content-type: text/html; charset=' . $document->getcharset()); } } $this->close();
/home/kiwitex/public_html/magic.cr/templates/braink/error.php lines 8 10 case "404": japplication::redirect("index.php/404-error"); // replace redirect url own break;
please cannot access site in last 36 hours!!!
Comments
Post a Comment