From 64b071c105365c5dfc42b40ce9700051860453e1 Mon Sep 17 00:00:00 2001 From: markseu Date: Thu, 2 May 2024 17:43:32 +0200 Subject: [PATCH] Updated fatal error message --- system/extensions/update-available.ini | 4 ++-- system/extensions/yellow-extension.ini | 4 ++-- system/workers/core.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/system/extensions/update-available.ini b/system/extensions/update-available.ini index 31fab6d5..50a41999 100644 --- a/system/extensions/update-available.ini +++ b/system/extensions/update-available.ini @@ -149,14 +149,14 @@ system/themes/copenhagen.css: copenhagen.css, create, update, careful system/themes/copenhagen.png: copenhagen.png, create Extension: Core -Version: 0.9.8 +Version: 0.9.9 Description: Core functionality of your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2024-04-25 13:05:12 +Published: 2024-05-02 16:35:25 Status: available system/workers/core.php: core.php, create, update system/extensions/core.php: coreupdate.txt, update diff --git a/system/extensions/yellow-extension.ini b/system/extensions/yellow-extension.ini index 042f37c1..5b0bacbf 100755 --- a/system/extensions/yellow-extension.ini +++ b/system/extensions/yellow-extension.ini @@ -1,14 +1,14 @@ # Datenstrom Yellow extension settings Extension: Core -Version: 0.9.8 +Version: 0.9.9 Description: Core functionality of your website. Developer: Anna Svensson Tag: feature DownloadUrl: https://github.com/annaesvensson/yellow-core/archive/refs/heads/main.zip DocumentationUrl: https://github.com/annaesvensson/yellow-core DocumentationLanguage: en, de, sv -Published: 2024-04-25 13:05:12 +Published: 2024-05-02 16:35:25 Status: available system/workers/core.php: core.php, create, update system/extensions/core.php: coreupdate.txt, update diff --git a/system/workers/core.php b/system/workers/core.php index 234d8fc2..9a7867c7 100755 --- a/system/workers/core.php +++ b/system/workers/core.php @@ -2,7 +2,7 @@ // Core extension, https://github.com/annaesvensson/yellow-core class YellowCore { - const VERSION = "0.9.8"; + const VERSION = "0.9.9"; const RELEASE = "0.9"; public $content; // content files public $media; // media files @@ -166,7 +166,7 @@ public function processFatalError() { if (!is_null($error) && isset($error["type"]) && ($error["type"]==E_ERROR || $error["type"]==E_PARSE)) { $fileNameAbsolute = isset($error["file"]) ? $error["file"] : ""; $fileName = substru($fileNameAbsolute, strlenu($this->system->get("coreServerInstallDirectory"))); - $this->toolbox->log("error", "Can't parse file '$fileName'!"); + $this->toolbox->log("error", "Process file '$fileName' with fatal error!"); $this->toolbox->sendHttpHeader($this->toolbox->getHttpStatusFormatted(500)); $troubleshooting = PHP_SAPI!="cli" ? "toolbox->getTroubleshootingUrl()."\">See troubleshooting." : "See ".$this->toolbox->getTroubleshootingUrl();