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
Does this happen when you are adding a page with the standard wysiwyg module? or using another module?
@ zirzy: do you use the module mod_multilingual?
his error occurs on saving a new or modified page where no entry for 'page_code' is given.possible error: - on upgrading not all files in /admin/pages/* are overwritten completely solution: use FTP and upload these folders from original packet again.other possibility: a theme file for admin/pages is corrupted or modified in a wrong way.solution: reinstall the theme from original packet
OK thanks.At the back end is an ICON "red X" to see, please times by mouse click open and the error messages post.Sorry for the Google English
Quote from: jacobi22@ zirzy: do you use the module mod_multilingual?No, why?
I did not have this error yet.Can you give us more information?
this error occurs on saving a new or modified page where no entry for 'page_code' is given.possible error: - on upgrading not all files in /admin/pages/* are overwritten completely solution: use FTP and upload these folders from original packet again.
other possibility: a theme file for admin/pages is corrupted or modified in a wrong way.solution: reinstall the theme from original packet
this error comes only, if you use MYSQL-STRICT-Mode on this server
DarkViperother possibility: a theme file for admin/pages is corrupted or modified in a wrong way.solution: reinstall the theme from original packet
2017-05-17T10:39:56+00:00 [E_NOTICE] /framework/class.frontend.php:[251] from /index.php:[65] frontend->get_page_details "Undefined index: page_icon"
2017-05-17T10:42:01+00:00 [E_NOTICE] /framework/functions.php:[1006] from /upgrade-script.php:[1179] load_template "Undefined variable: template_descriptio n"
$template_description = 'Default template for Website Baker. This template is designed with one goal in mind: to completely control layout with CSS';
the first ~20 messages show's notices about missings definitions. a SELECT collect all datas from the database table "pages" and it looks, that it not found the fields page_icon, menu_icon_0, menu_icon_1 and tooltip . Do you have this fields in database-table "pages"?? If NO, was this a upgraded WB-Version or new Install (WB 2.10.0??)
Quote2017-05-17T10:42:01+00:00 [E_NOTICE] /framework/functions.php:[1006] from /upgrade-script.php:[1179] load_template "Undefined variable: template_descriptio n"the line in this message show's, a wrong configuration in one of your used templates. pls check the info.php of every template in the folder template and search for a missing line with a definition like thisCode: [Select]$template_description = 'Default template for Website Baker. This template is designed with one goal in mind: to completely control layout with CSS';start with your own templates. a definition of this is missing, too long or use wrong chars or misconfigured code.
my private recommendation: - delete the error.log - use the X-Button, to show the error.log and in this popup window the link to delete it- then go to the i-Button in the top-menu, here you found the system-infos - scroll down in this window and search for the link to start the Upgrade-Script- the info-window give's a lot of informations, maybe, you dont need the Admintool Sysinfo. if not, remove this adminTools in Addons -> Modules -> Uninstall or check Dev4me for a upgraded versionthe same for the module miniformnow check the error.log again
I don't have access in database in this case.. This is an upgraded WB-Version.
jacobi22:use a script like this in a hidden Code section, to read the table structure from this table and search in the output for the possible missing fields page_icon, menu_icon_0, menu_icon_1 and tooltip . it will show the result in the frontend as a list with name && type of every field in the table "pages"// Get description of settingstable$sql = 'DESCRIBE `'.TABLE_PREFIX.'pages` ';if ($oSettings = $database->query($sql)) { // Loop through settings while (($row = $oSettings->fetchRow(MYSQLI_ASSOC))) { echo "{$row['Field']} - {$row['Type']}<br />"; }}else{ echo "No settings readable";}
Field 'page_code' doesn't have a default value
2017-05-17T10:39:56+00:00 [E_NOTICE] /framework/class.frontend.php:[251] from /index.php:[65] frontend->get_page_details "Undefined index: page_icon"2017-05-17T10:39:56+00:00 [E_NOTICE] /framework/class.frontend.php:[252] from /index.php:[65] frontend->get_page_details "Undefined index: menu_icon_0"2017-05-17T10:39:56+00:00 [E_NOTICE] /framework/class.frontend.php:[253] from /index.php:[65] frontend->get_page_details "Undefined index: menu_icon_1"2017-05-17T10:39:56+00:00 [E_NOTICE] /framework/class.frontend.php:[254] from /index.php:[65] frontend->get_page_details "Undefined index: tooltip"
jacobi22:But whats the used PHP-version?