WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
$i = 0;if( is_dir( $gallery_path ) ) { if( $handle = opendir( $gallery_path ) ) { $all_images = array(); while( ( $file = readdir( $handle ) ) !== false ) { if( is_file($gallery_path.$file) && $file!='index.php') { $image = WB_URL.$gallery.$file; $all_images[$i] = $image; $i++; } } closedir( $handle ); }}if( isset( $_REQUEST['start'] ) ) { $start = $_REQUEST['start'];}else { $start = 0;}$images = array();$a=intval($i); if ($a>0) { $images = array_slice( $all_images, $start, $settings['thumbs_per_page']); ///Dies ist die Fehlerzeile 83}
Fri, 22 Feb 2019 11:04:11 +0000 [E_NOTICE] /modules/swift/save.php:[45] from /modules/swift/save.php:[45] bin\Exceptions\ErrorHandler::handler "Undefined index: default"Fri, 22 Feb 2019 11:04:55 +0000 [E_NOTICE] /modules/swift/save.php:[45] from /modules/swift/save.php:[45] bin\Exceptions\ErrorHandler::handler "Undefined index: default"Fri, 22 Feb 2019 11:06:38 +0000 [E_WARNING] /modules/swift/view.php:[80] from /templates/DefaultTemplate/index.php:[34] page_content "count(): Parameter must be an array or an object that implements Countable"Fri, 22 Feb 2019 11:07:09 +0000 [E_NOTICE] /modules/swift/save.php:[45] from /modules/swift/save.php:[45] bin\Exceptions\ErrorHandler::handler "Undefined index: default"Fri, 22 Feb 2019 11:07:12 +0000 [E_WARNING] /modules/swift/view.php:[80] from /templates/DefaultTemplate/index.php:[34] page_content "count(): Parameter must be an array or an object that implements Countable"Fri, 22 Feb 2019 11:07:31 +0000 [E_WARNING] /modules/swift/view.php:[80] from /templates/DefaultTemplate/index.php:[34] page_content "count(): Parameter must be an array or an object that implements Countable"Fri, 22 Feb 2019 11:07:33 +0000 [E_WARNING] /modules/swift/view.php:[80] from /templates/DefaultTemplate/index.php:[34] page_content "count(): Parameter must be an array or an object that implements Countable"Fri, 22 Feb 2019 11:07:38 +0000 [E_WARNING] /modules/swift/view
es ist ein sehr schönes, jedoch altes Modul aus der Zeit WB 2.8. Es läuft für den Normaluserjedoch gut unter WB 2.12.x und PHP 7.2
$images = array_slice( $all_images, $start, $settings['thumbs_per_page']);
if( isset( $_REQUEST['start'] ) ) { $start = $_REQUEST['start'];}else { $start = 0;}
Aber der Pfad bleibt nicht erhalten
Nochmaliges Speichern würde also das vorher gewählte Verzeichnis entfernen.
Du meinst im BE? Falls ja, hätte es m.E. sich schon in der 0.6 so verhalten.
Aber ansonsten funktionieren die Galerien? (Bei mir zumindest schon )
Moin, hab 2 Galerien erstellt. Fehlermeldungen vorn oder hinten nicht zu sehen. Galerien funktionieren.
Nochmaliges Speichern meint zB wenn der Galerie Titel geändert wird.