Wed, 13 Feb 2019 18:34:03 +0000 [E_NOTICE] /modules/oneforall_anyitems_start/include.php:[150] from /modules/code/view.php:[25] eval "Undefined offset: 1"Wed, 13 Feb 2019 18:34:03 +0000 [E_WARNING] /modules/oneforall_anyitems_start/include.php:[150] from /modules/code/view.php:[25] eval "Invalid argument supplied for foreach()"Wed, 13 Feb 2019 18:34:03 +0000 [E_NOTICE] /modules/oneforall_top_buecher/include.php:[150] from /modules/code/view.php:[25] eval "Undefined offset: 1"Wed, 13 Feb 2019 18:34:03 +0000 [E_WARNING] /modules/oneforall_top_buecher/include.php:[150] from /modules/code/view.php:[25] eval "Invalid argument supplied for foreach()"Wed, 13 Feb 2019 18:34:03 +0000 [E_NOTICE] /modules/oneforall_top_buecher/include.php:[150] from /modules/code/view.php:[25] eval "Undefined offset: 1"Wed, 13 Feb 2019 18:34:03 +0000 [E_WARNING] /modules/oneforall_top_buecher/include.php:[150] from /modules/code/view.php:[25] eval "Invalid argument supplied for foreach()""
OFA upgrade würde ich nicht auf dem Produktivsystem machen. Lieber eine Testumgebung anlegen.
$pattern = '/[wblink(.+?)]/s';
$pattern = '/\[wblink(.+?)]/s';
$pattern = '/[wblink'.$page_id.']/s';
$pattern = '/\[wblink'.$page_id.']/s';
"created: [Thu, 14 Feb 2019 10:24:55 +0000]Thu, 14 Feb 2019 10:29:39 +0000 [E_NOTICE] /modules/oneforall_anyitems/include.php:[146] from /modules/code/view.php(25) : eval()'d code:[2] oneforall_anyitems "unserialize(): Error at offset 0 of 69 bytes""
Thu, 14 Feb 2019 10:36:53 +0000 [E_NOTICE] /modules/oneforall_anyitems_start/include.php:[139] from /modules/code/view.php(25) : eval()'d code:[3] oneforall_anyitems_start "unserialize(): Error at offset 0 of 69 bytes"
Thu, 14 Feb 2019 10:37:38 +0000 [E_NOTICE] /modules/oneforall_ausst/include.php:[148] from /modules/code/view.php(25) : eval()'d code:[2] oneforall_ausst "unserialize(): Error at offset 0 of 69 bytes"
Thu, 14 Feb 2019 10:37:38 +0000 [E_NOTICE] /modules/oneforall_anyitems/include.php:[146] from /modules/code/view.php(25) : eval()'d code:[2] oneforall_anyitems "unserialize(): Error at offset 0 of 25 bytes"
Thu, 14 Feb 2019 10:38:58 +0000 [E_NOTICE] /modules/ofa_ai_buecher/include.php:[147] from /modules/code/view.php(25) : eval()'d code:[2] ofa_ai_buecher "unserialize(): Error at offset 0 of 16 bytes"
if ($query_item_fields->numRows() > 0) {while ($item_fields = $query_item_fields->fetchRow()) {$field_id = $item_fields['field_id'];$values[$field_id] = trim(stripslashes($item_fields['value']));$unserialized = @unserialize($values[$field_id]);
There was an uncatched exceptionCall to undefined function __unserialize()in line (146) of (/modules/oneforall_anyitems/include.php):
Thu, 14 Feb 2019 10:49:59 +0000 [E_WARNING] /modules/menu_link/view.php:[56] from /framework/frontend.functions.php:[209] require "Cannot modify header information - headers already sent by (output started at /homepages/18/d66137901/htdocs/wb/modules/oneforall_anyitems_start_it/include.php:1)"
Weiterhin scheint es immer wichtiger zu werden, den Server (http+php) und seine Umgebung vorab zu prüfen.
Wed, 13 Feb 2019 17:09:52 +0000 [E_NOTICE] /modules/oneforall_anyitems_start/include.php:[139] from /modules/code/view.php(25) : eval()'d code:[3] oneforall_anyitems_ start "unserialize(): Error at offset 0 of 69 bytes"
Thu, 14 Feb 2019 10:29:39 +0000 [E_NOTICE] /modules/oneforall_anyitems/include.php:[146] from /modules/code/view.php(25) : eval()'d code:[2] oneforall_anyitems "unserialize(): Error at offset 0 of 69 bytes"
$unserialized = @unserialize($values[$field_id]);
Ich habe versucht, das @unserialize durch __unserialize zu ersetzen, wie von dir vorgeschlagen und habe auch die function in die include.php integriert, wie du gesagt hast (in den jeweiligen OFA ist sie ja jetzt drin, da diese jetzt alle aktuell sind). Aber dann bekomme ich trotzdem im Frontend den FehlerWas ist daran nun wieder falsch?
jau, da war ich zu schnellwenn man diese Zeile 139 ersetzt, wie vorgeschlagen, braucht man auch die Funktionen dazu (in jede include.php der einzelnen OFA-Module und auch der Snippets)
Thu, 14 Feb 2019 12:44:41 +0000 [E_NOTICE] /modules/oneforall_anyitems_start_it/include.php:[153] from /modules/code/view.php:[25] eval "Undefined offset: 1"Thu, 14 Feb 2019 12:44:41 +0000 [E_WARNING] /modules/oneforall_anyitems_start_it/include.php:[153] from /modules/code/view.php:[25] eval "Invalid argument supplied for foreach()"
// For wysiwyg replace [wblinkXX] by real link (XX = PAGE_ID)
Thu, 14 Feb 2019 12:45:43 +0000 [E_WARNING] /modules/oneforall_anyitems_it/include.php:[156] from /modules/code/view.php(25) : eval()'d code:[2] ofa_any_it "preg_match_all(): Compilation failed: missing terminating ] for character class at offset 14"Thu, 14 Feb 2019 12:45:43 +0000 [E_WARNING] /modules/oneforall_anyitems_it/include.php:[157] from /modules/code/view.php:[25] eval "Invalid argument supplied for foreach()"
// For wysiwyg replace [wblinkXX] by real link (XX = PAGE_ID) if ($types[$field_id] == 'wysiwyg') {
Zeile 156/157 dieser include.php sind....
preg_match_all(): Compilation failed: missing terminating ] for character class at offset 14
// For wysiwyg replace [wblinkXX] by real link (XX = PAGE_ID) if ($types[$field_id] == 'wysiwyg') { $pattern = '/\[wblink(.+?)\]/s'; preg_match_all($pattern, $values[$field_id], $ids); foreach ($ids[1] as $page_id) { $pattern = '/\[wblink'.$page_id.'\]/s'; // Get page link $link = $database->get_one("SELECT link FROM ".TABLE_PREFIX."pages WHERE page_id = '$page_id' LIMIT 1"); $page_link = page_link($link); $values[$field_id] = preg_replace($pattern, $page_link, $values[$field_id]); } }
Aber was mach ich als User, wenn da etwas Rotes auftaucht?
@jacobi22Hier war die Telepromt ausgefallen, daher erst jetzt:QuoteAber was mach ich als User, wenn da etwas Rotes auftaucht?1.) Vorher die Infos zur Installation (Voraussetzungen) lesen.2.) Bei rot, gelb entweder Informationen dazu in der Onlinehilfe (Installation) oder das Forum nutzen.
Sorry, aber Quatsch mit Käse
nun ein rot geschriebenes "Du kommst nicht in den Himmel" juckt?