WBCE CMS – Way Better Content Editing.
Du bist nicht angemeldet.
Hi!
Ich benutze seit vielen Jahren WB und dann, nachdem es entstand, auch WBCE. Nun habe ich das erste Mal ein Problem, bei dem ich wirklich nicht mehr weiter weiss. Ich habe eine Installation von WBCE 1.4.0 laufen. Diese wurde von 1.3 geupdated, und zwar Dezember 2022. Ich hatte damals geschaut, dass das Backend und Frontend grob funktioniert und war damit dann gedanklich fertig. Als Backend-Theme benutze ich "WBCE Flat Theme".
Nun ist es aber leider so, dass man nach Klick auf den Stift für eine beliebigen Inhalt eine leere Seite mit dem lapidaren Vermerk "404 Not Found" angezeigt bekommt. In der Konsole wird mir ein Fehler angezeigt, der für mich keinen Sinn ergibt:
theme.js:98 Uncaught ReferenceError: ADMIN_URL is not defined
at HTMLDocument.<anonymous> (theme.js:98:30)
at i (jquery-min.js:2:27151)
at Object.fireWith [as resolveWith] (jquery-min.js:2:27914)
at Function.ready (jquery-min.js:2:29707)
at HTMLDocument.J (jquery-min.js:2:29892)
Ich habe natürlich mal ein bisschen gewühlt, sehe aber keinen Grund warum ADMIN_URL an dieser Stelle nicht genauso durchgereicht werden sollte, wie auch an anderen Stellen. Da der Fehler in der theme.js des Backend-Themes auftrat, habe ich spaßeshalber mal ein anderes installiert - Fraggy in der aktuellen Version um genau zu sein.
Witzigerweise bekomme ich dort einen anderen Fehler:
Uncaught ReferenceError: THEME_URL is not defined
at script.min.js?v2.6.8:30:13850
Mit dem Argos Reloaded ist es wiederrum gar kein spezifischer Fehler in einer JS Datei, sondern einfach ein generischer 404 für die modify.php?page_id=5 - was auch Käse ist, denn die Datei ist natürlich vorhanden.
Ist es an dieser Stelle sinnvoll zu buddeln, oder soll ich lieber einfach gleich auf Basis von 1.6 neu aufsetzen?
Offline
Hallo,
was steht denn in der config.php?
Sollte vom Prinzip her so aussehen:
define('DB_TYPE', 'mysqli');
define('DB_HOST', 'localhost');
define('DB_NAME', 'IrgendEinDatenbankname);
define('DB_USERNAME', 'IrgendEinBenutzer');
define('DB_PASSWORD', 'GeheimGeheim');
define('DB_CHARSET', 'utf8');
define('TABLE_PREFIX', 'wbce_');define('WB_URL', 'https://www.example.com'); // no leading/trailing slash or backslash.
define('ADMIN_DIRECTORY', 'admin'); // no leading/trailing slash or backslash. A simple directory name only.require_once(dirname(__FILE__).'/framework/initialize.php');
// end of file -------------
wenn da ADMIN_PATH oder ADMIN_URL definiert sind, bitte mal auskommentieren/löschen und schauen ob's dann wieder geht.
Code allein macht nicht glücklich. Jetzt spenden!
Offline
Hey, vielen Dank für die blitzschnelle Antwort erstmal!
Ja das habe ich vergessen zu erwähnen, die config.php ist auch (aus meiner Sicht) in Ordnung, sieht so aus:
[== PHP ==]
<?php
define('DB_TYPE', 'mysql');
define('DB_HOST', 'mysql');
define('DB_USERNAME', 'dbusername');
define('DB_PASSWORD', 'secretpassword');
define('DB_NAME', 'dbname');
define('TABLE_PREFIX', 'wb_');
define('WB_PATH', dirname(__FILE__));
define('WB_URL', 'http://meineurl.de/mhi');
define('ADMIN_PATH', WB_PATH.'/admin');
define('ADMIN_URL', 'http://meineurl.de/mhi/admin');
require_once(WB_PATH.'/framework/initialize.php');
?>
Ich kommentiere es mal aus und schaue.
Edit: Leider ohne Erfolg. Keinerlei Veränderung im Verhalten.
Beitrag geändert von strongground (23.03.2023 12:16:18)
Offline
Kannst Du dann mal ins PHP-Errorlog schauen (Admintools > Error Log Viewer)?
Code allein macht nicht glücklich. Jetzt spenden!
Offline
Kannst Du dann mal ins PHP-Errorlog schauen (Admintools > Error Log Viewer)?
Aber mit Freuden. Kurz zur Erklärung: Da alles ausser der Modify Funktion gut zu funktionieren schien (habe zwischenzeitlich ja erfolgreich ein Backend-Template und "Backup Plus" sowie "ErrorLog Viewer" installiert), wagte ich törichterweise ein Update auf 1.6. Dies schlug leider mit dem selben "404 Not Found" Fehler fehl - siehe Screenshot.
Anbei ausserdem das Errorlog von heute.
Ich danke dir für die Zeit, die du schon in das Problem investiert hast!
2023-03-23T09:18:40+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:18:41+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:18:47+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:19:05+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:19:07+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:19:11+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:19:21+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:19:27+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:31:43+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
[23-Mar-2023 09:31:43 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
[23-Mar-2023 09:31:43 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
2023-03-23T09:31:52+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:32:06+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:32:19+00:00 [Notice] /modules/errorlogger/tool.php:[213] from /admin/admintools/tool.php:[88] "Undefined offset: 1"
2023-03-23T09:32:19+00:00 [Notice] /modules/errorlogger/tool.php:[213] from /admin/admintools/tool.php:[88] "Undefined offset: 1"
2023-03-23T09:32:19+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:32:58+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:33:18+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:44:35+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:44:36+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:44:37+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:44:44+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:44:44+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:44:48+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:44:55+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:44:55+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:44:59+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:45:05+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:46:42+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
[23-Mar-2023 09:46:42 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
[23-Mar-2023 09:46:42 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
2023-03-23T09:46:42+00:00 [Notice] /modules/outputfilter_dashboard/plugins/correct_date_format/filter.php:[35] from /modules/outputfilter_dashboard/functions.php:[1731] opf_apply_filters "Constant OPF_CDF_SYSTEM_BAD already defined"
2023-03-23T09:46:43+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
[23-Mar-2023 09:46:43 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
[23-Mar-2023 09:46:43 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
2023-03-23T09:46:43+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
[23-Mar-2023 09:46:43 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
[23-Mar-2023 09:46:43 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
2023-03-23T09:46:43+00:00 [Notice] /modules/outputfilter_dashboard/plugins/correct_date_format/filter.php:[35] from /modules/outputfilter_dashboard/functions.php:[1731] opf_apply_filters "Constant OPF_CDF_SYSTEM_BAD already defined"
2023-03-23T09:46:43+00:00 [Notice] /modules/outputfilter_dashboard/plugins/correct_date_format/filter.php:[35] from /modules/outputfilter_dashboard/functions.php:[1731] opf_apply_filters "Constant OPF_CDF_SYSTEM_BAD already defined"
2023-03-23T09:47:22+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
[23-Mar-2023 09:47:22 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
[23-Mar-2023 09:47:22 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
2023-03-23T09:47:22+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
[23-Mar-2023 09:47:22 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
[23-Mar-2023 09:47:22 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
2023-03-23T09:47:22+00:00 [Notice] /modules/outputfilter_dashboard/plugins/correct_date_format/filter.php:[35] from /modules/outputfilter_dashboard/functions.php:[1731] opf_apply_filters "Constant OPF_CDF_SYSTEM_BAD already defined"
2023-03-23T09:47:22+00:00 [Notice] /modules/outputfilter_dashboard/plugins/correct_date_format/filter.php:[35] from /modules/outputfilter_dashboard/functions.php:[1731] opf_apply_filters "Constant OPF_CDF_SYSTEM_BAD already defined"
2023-03-23T09:47:41+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:47:48+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
[23-Mar-2023 09:47:48 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
[23-Mar-2023 09:47:48 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
2023-03-23T09:47:53+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:47:59+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
[23-Mar-2023 09:47:59 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
[23-Mar-2023 09:47:59 UTC] show_menu2 error: $aOptions is invalid. No flags supplied!
2023-03-23T09:47:59+00:00 [Notice] /modules/outputfilter_dashboard/plugins/correct_date_format/filter.php:[35] from /modules/outputfilter_dashboard/functions.php:[1709] opf_apply_filters "Constant OPF_CDF_SYSTEM_BAD already defined"
2023-03-23T09:47:59+00:00 [Notice] /modules/outputfilter_dashboard/plugins/correct_date_format/filter.php:[35] from /modules/outputfilter_dashboard/functions.php:[1731] opf_apply_filters "Constant OPF_CDF_SYSTEM_BAD already defined"
2023-03-23T09:55:02+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T09:55:10+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T09:55:15+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:56:39+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:56:39+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:56:47+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:57:03+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:57:03+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:57:06+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:57:09+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T09:57:13+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T09:57:33+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:57:40+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T09:57:48+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T10:00:42+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:00:49+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:00:49+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:00:51+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:00:56+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T10:10:59+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:11:27+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:11:30+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T10:11:31+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T10:11:34+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T10:11:37+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T10:11:47+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:13:54+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:13:55+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:13:56+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T10:13:59+00:00 [Warning] /admin/pages/modify.php:[60] from /admin/pages/modify.php:[60] WBCE_Error->scriptError "Creating default object from empty value"
2023-03-23T11:15:26+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T11:15:28+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T11:15:41+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T11:15:47+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T11:15:47+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T11:15:49+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1175] from /modules/outputfilter_dashboard/functions.php:[1693] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T13:06:23+00:00 [Visitor Request] http://meine_url.de/mhi/install/update.php
2023-03-23T13:06:23+00:00 [Notice] /modules/outputfilter_dashboard/functions.php:[1415] from /modules/outputfilter_dashboard/functions.php:[1001] opf_preload_filter_definitions "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T13:06:23+00:00 [Notice] /modules/outputfilter_dashboard/upgrade.php:[118] from /install/update.php:[535] "unserialize(): Error at offset 396 of 401 bytes"
2023-03-23T13:07:26+00:00 [Visitor Request] http://meine_url.de/mhi/pages/de/neues.php
2023-03-23T13:07:26+00:00 [Exception] There was an unknown exception: Undefined constant "MYSQL_ASSOC" in line (82) of /modules/news/view.php
2023-03-23T13:07:27+00:00 [Visitor Request] http://meine_url.de/mhi/pages/de/neues.php
2023-03-23T13:07:27+00:00 [Exception] There was an unknown exception: Undefined constant "MYSQL_ASSOC" in line (82) of /modules/news/view.php
2023-03-23T14:57:49+00:00 [Visitor Request] http://meine_url.de/mhi/pages/de/neues.php
2023-03-23T14:57:49+00:00 [Exception] There was an unknown exception: Undefined constant "MYSQL_ASSOC" in line (82) of /modules/news/view.php
2023-03-23T15:32:42+00:00 [Visitor Request] http://meine_url.de/mhi/pages/de/neues.php
2023-03-23T15:32:42+00:00 [Exception] There was an unknown exception: Undefined constant "MYSQL_ASSOC" in line (82) of /modules/news/view.php
2023-03-23T16:09:36+00:00 [Visitor Request] http://meine_url.de/mhi/pages/de/neues.php
2023-03-23T16:09:36+00:00 [Exception] There was an unknown exception: Undefined constant "MYSQL_ASSOC" in line (82) of /modules/news/view.php
2023-03-23T16:20:27+00:00 [Visitor Request] http://meine_url.de/mhi/pages/de/neues.php
2023-03-23T16:20:27+00:00 [Exception] There was an unknown exception: Undefined constant "MYSQL_ASSOC" in line (82) of /modules/news/view.php
2023-03-23T17:12:10+00:00 [Visitor Request] http://meine_url.de/mhi/pages/de/neues.php
2023-03-23T17:12:10+00:00 [Exception] There was an unknown exception: Undefined constant "MYSQL_ASSOC" in line (82) of /modules/news/view.php
Offline
Hm, das sieht zwar sehr dramatisch aus, aber 95% der Einträge sind der "unserialize"-Bug, der nichts mit dem eigentlichen Problem zu tun hat.
Die restlichen Einträge beziehen sich aufs Frontend-Template (da fehlt ein Parameter beim Menüaufruf) und Folgefehler (creating object...).
Außerdem hat noch das Newsmodul ein Problem (alte Version), das ist der constant MYSQL_ASSOC...-Eintrag.
Mit Blick auf das fehlgeschlagene Update vermute ich, dass da eventuell noch irgend ein anderes Uralt-Modul ist, das de Verursacher ist. Denn das Neu Laden der Module läuft ja noch durch ("Modules reloaded") und erst jetzt dann ist offenbar WB_PATH nicht mehr gesetzt.
Aber wie das zustande kommt und welches Modul das sein könnte, weiß ich nicht. Sind da irgendwelche Module installiert, die für WB gedacht sind, oder die schon lange nicht mehr aktualisiert wurden?
Code allein macht nicht glücklich. Jetzt spenden!
Offline
Um ehrlich zu sein fehlt mir das Wissen, welche der Module zur Standard WBCE Installation gehören, und welche womöglich übernommen wurden. Kannst du auf einen Blick sehen, was hier "fremd" ist? Ich will nicht ausschließen, dass ein altes Modul darunter ist.
Account- und Registrierungs-Einstellungen [Account and Signups configuration]
Addon Monitor
Backup [Backup]
Backup Plus [Backup Plus]
CAPTCHA und Advanced Spam Protection (Fortgeschrittener Spam-Schutz) [Captcha and Advanced-Spam-Protection (ASP) Control]
CKEditor
Code v3.0.2 [Code v3.0.2]
CodeMirror Configurator
colorbox_v1.6.4
Droplets [Droplets]
elFinder [elFinder]
Errorlog viewer
FCKeditor [FCKeditor]
Form Modul v3.1.4 [Form Modul v3.1.4]
Javascript Admin [Javascript Admin]
Maintenance Mode Switcher [Maintenance Mode Switcher]
Menü-Link [Menu Link]
MiniForm [MiniForm]
More Security Settings [More Security Settings]
News [News]
News with Images [News with Images]
OPF Auto Placeholder
OPF CSS to head
OPF E-Mail [OPF E-Mail]
OPF Insert
OPF Internal Link Replacer
OPF Move Contents
OPF Remove System PH
OPF Replace Contents
OPF Short URL
OPF Sys Rel
Output Filter Dashboard [Output Filter Dashboard]
Page Cloner [Page Cloner]
SEO Tool [SEO Tool]
show_menu2 [show_menu2]
SimplePageHead
Sitemap [Sitemap]
Topics [Topics]
Visitor statistics - WBstats - by Dev4me [Visitor statistics - WBstats - by Dev4me]
Wrapper [Wrapper]
WYSIWYG [WYSIWYG]
Hm, ich hatte gedacht dass die "/admin/pages/modify.php:[60]" Fehler keine Folgefehler des show_menu2 Problems sind.
Das Template habe ich vor vielen Jahren mal gebastelt, den Fehler behebe ich die Tage auf jeden Fall mal.
Bezüglich des News-Moduls, soll ich das einfach mal deinstallieren? Oder geht dann noch mehr kaputt?
Geht ja gar nicht, alle Seiten verwenden das Modul noch.
Wie komme ich denn jetzt voran? Ich kann die Seiten nicht bearbeiten ("404 Not Found"). Ich müsste wohl aus der Datenbank die Inhalte kopieren, die alten Seiten in der DB löschen und dann neu anlegen mit dem "News With Images" Modul? Herrje, was für ein Durcheinander...
Beitrag geändert von strongground (24.03.2023 12:42:34)
Offline
Also ich sehe in deiner Auflistung schon mal paar "Kandidaten", die ihre besten Zeiten schon etwas hinter sich haben:
Code v3.0.2 [Code v3.0.2] - da gibt's als Ersatz "Code without evil" 5.5.1
FCKeditor [FCKeditor] - wird schon "ewig" nicht mehr verwendet
Form Modul v3.1.4 [Form Modul v3.1.4] - da gibts im Archiv noch die 3.8.6 die die Fixes für die Core-Änderungen ab 1.5.x enthält
Beim News-Modul ist leider keine Version angegeben - dürfte aber auf Grund der MYSQL_ASSOC Fehler auch schon etwas betagter sein. Da gibts im Archiv die 3.5.13 ebenfalls mit den Fixes für die Core-Änderungen ab 1.5.x
Ich würde zuerst einmal News und Form updaten und dann nochmal das Update auf 1.6.0 probieren.
Auch könntest du dir Module Update Check installieren, da siehst du schön auf einen Blick, was Stand der Dinge ist.
... nein in Europa verwenden wir beim Programmieren nicht € statt $ ...
Offline
Edit: Post-Überschneidung
Alle Seiten?
Dann liegt das Problem evtl. doch daran.
Mache bitte ein Update auf News 3.5.13
https://addons.wbce.org/pages/addons.php?do=item&item=7
Weiterhin kann der FCKEditor weg, und wenn möglich bitte auch Form und Code (kann es sein, dass das WB-Module sind? Ist etwas ungewöhnlich für WBCE-Module, dass die inkl. Versionsnummer erscheinen)
Wegen des Folgefehlers - da hatte ich mich etwas ungenau ausgedrückt, der ShowMenu2-Fehler im FE-Template hat natürlich nichts mit den BE-Problemen zu tun. Ich meinte damit, der Creating-Object-Fehler ist ein Folgefehler von dem ominösen 404-Problem bzw. steht damit im Zusammenhang.
Beitrag geändert von florian (24.03.2023 13:09:34)
Code allein macht nicht glücklich. Jetzt spenden!
Offline
Danke euch beiden.
@florian: Ja, bei allen Seiten, egal welcher Modultyp, kommt der 404-Fehler beim Versuch mit der Seite zu interagieren (Modify, Settings, Sections...). Auch beim Anlegen einer neuen Seite, egal welcher Modultyp erscheint der 404-Fehler, allerdings ist die Seite danach dennoch im Seitenbaum sichtbar. Das Löschen einer Seite funktioniert, wenn man es zweimal versucht.
Ein Aktivitätsbericht:
"Module Update Check" installiert, damit alle veralteten Module ausfinding gemacht.
"Code" Modul deinstalliert, allerdings ist eine Tabelle "wb_mod_code" noch vorhanden und wurde nicht gelöscht. Ist es sicher diese manuell zu entfernen?
"FCKEditor" deinstalliert.
Update des "News" Moduls auf 3.5.13. Es wird in "Erweiterungen" unter "Modul Details" auch so angezeigt, allerdings zeigt mir der "Module Update Check" weiterhin die 3.5.12 als installiert an? Das 404-Problem bleibt bestehen.
"Form" deinstalliert, auch hier blieben allerdings drei Tabellen übrig: "wb_mod_form_fields", "wb_mod_form_settings", "wb_mod_form_submissions"
Versuch Update auf 1.6.0, selbes Ergebnis wie letztes Mal
Das ist wirklich vertrackt.
Kann ich in der Datenbank den Modultyp einer Section einfach ändern? Klar, dann passen die Inhalte nicht mehr, aber wenn ich das News-Modul danach deinstalliere und dann die Einträge als "News With Image" Posts neu anlege, wäre ja alles gut? Natürlich setzt das voraus, dass mit der Deinstallation des "News"-Moduls der 404-Fehler behoben ist.
Beitrag geändert von strongground (24.03.2023 13:54:32)
Offline
Nein, bitte nicht in der DB Änderungen vornehmen.
Bevor wir hier noch weiter rumrätseln, schick bitte FTP- und Backend-Zugangsdaten (Administratorrechte) an support@wbce.org. Dann kann ich direkt mal schauen, was da nicht stimmt.
Code allein macht nicht glücklich. Jetzt spenden!
Offline
Alles klar, ich habe dir eine E-Mail geschickt.
Offline
So, läuft wieder und ist auf 1.6.0 geupdatet.
Ursache war vermutlich in erster Linie diese Zeile
if (!defined('SYSTEM_RUN')) {\header($_SERVER['SERVER_PROTOCOL'].' 404 Not Found'); echo '404 Not Found'; flush(); exit; }
in der info.php eines Templates, aber irgendwie fehlten auch die ganzen Einträge für die Sprachen in der Tabelle addons und es waren noch Reste von einer WebsiteBaker 2.8.3 SP7 vorhanden, die auch nicht gerade zur Systemstabilität beitrugen...
Code allein macht nicht glücklich. Jetzt spenden!
Offline
stefanek
Btw: News in News with images importieren!
Geht gut und problemlos.
Offline
@florian: Wow! Vielen Dank! Aus Interesse ... welches Template enthielt diese Zeile?
Da wird wohl mal eine Spende fällig, das war toller Service der mir viel Zeit beim Neuaufsetzen gespart hat.
@berny: Danke für den Tipp!
Offline
florian
Das stand in der info.php vom Template nhi2
P.S. Danke für die Spende!
Beitrag geändert von florian (27.03.2023 15:27:32)
Code allein macht nicht glücklich. Jetzt spenden!
Offline