WebsiteBaker Support (2.10.x) > General Help & Support

Error: Field 'page_code' doesn't have a default value

<< < (4/6) > >>

Gast:
i know it   :wink:
this message come's only in mysql-strict-mode, not in normale mode
the answer was for hgs, because, he wondered why he did not see this message

zirzy:


--- Quote ---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
--- End quote ---

Sorry hgs I did not give you the error messages.. But here they are:

"created: [2017-05-17T13:39:56+03:00]
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"
2017-05-17T10:39:56+00:00 [E_NOTICE] /framework/class.frontend.php:[251] from /pages/fi/etusivu.php:[8] require "Undefined index: page_icon"
2017-05-17T10:39:56+00:00 [E_NOTICE] /framework/class.frontend.php:[252] from /pages/fi/etusivu.php:[8] require "Undefined index: menu_icon_0"
2017-05-17T10:39:56+00:00 [E_NOTICE] /framework/class.frontend.php:[253] from /pages/fi/etusivu.php:[8] require "Undefined index: menu_icon_1"
2017-05-17T10:39:56+00:00 [E_NOTICE] /framework/class.frontend.php:[254] from /pages/fi/etusivu.php:[8] require "Undefined index: tooltip"
2017-05-17T10:40:23+00:00 [E_NOTICE] /framework/class.frontend.php:[251] from /index.php:[65] frontend->get_page_details "Undefined index: page_icon"
2017-05-17T10:40:23+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:40:23+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:40:23+00:00 [E_NOTICE] /framework/class.frontend.php:[254] from /index.php:[65] frontend->get_page_details "Undefined index: tooltip"
2017-05-17T10:40:23+00:00 [E_NOTICE] /framework/class.frontend.php:[251] from /pages/fi/etusivu.php:[8] require "Undefined index: page_icon"
2017-05-17T10:40:23+00:00 [E_NOTICE] /framework/class.frontend.php:[252] from /pages/fi/etusivu.php:[8] require "Undefined index: menu_icon_0"
2017-05-17T10:40:23+00:00 [E_NOTICE] /framework/class.frontend.php:[253] from /pages/fi/etusivu.php:[8] require "Undefined index: menu_icon_1"
2017-05-17T10:40:23+00:00 [E_NOTICE] /framework/class.frontend.php:[254] from /pages/fi/etusivu.php:[8] require "Undefined index: tooltip"
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"
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"
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"
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"
2017-09-05T09:47:53+00:00 [E_NOTICE] /framework/functions.php:[1006] from /admin/addons/reload.php:[115] load_template "Undefined variable: template_descriptio n"
2017-09-05T09:47:53+00:00 [E_NOTICE] /framework/functions.php:[1006] from /admin/addons/reload.php:[115] load_template "Undefined variable: template_descriptio n"
2017-09-05T09:47:53+00:00 [E_NOTICE] /framework/functions.php:[1006] from /admin/addons/reload.php:[115] load_template "Undefined variable: template_descriptio n"
2017-09-05T09:47:53+00:00 [E_NOTICE] /framework/functions.php:[1006] from /admin/addons/reload.php:[115] load_template "Undefined variable: template_descriptio n"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:02:10+00:00 [E_NOTICE] /modules/sysinfo/funcs/constants.php:[48] from /modules/sysinfo/tool.php:[46] include "Array to string conversion"
2017-09-05T10:07:30+00:00 [E_NOTICE] /modules/miniform/modify.php:[117] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_AJAX"
2017-09-05T10:07:30+00:00 [E_NOTICE] /modules/miniform/modify.php:[118] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RECAPTCHA"
2017-09-05T10:07:30+00:00 [E_NOTICE] /modules/miniform/modify.php:[119] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCKEY"
2017-09-05T10:07:30+00:00 [E_NOTICE] /modules/miniform/modify.php:[120] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCSECRET"
2017-09-05T10:08:04+00:00 [E_NOTICE] /modules/miniform/modify.php:[117] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_AJAX"
2017-09-05T10:08:04+00:00 [E_NOTICE] /modules/miniform/modify.php:[118] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RECAPTCHA"
2017-09-05T10:08:04+00:00 [E_NOTICE] /modules/miniform/modify.php:[119] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCKEY"
2017-09-05T10:08:04+00:00 [E_NOTICE] /modules/miniform/modify.php:[120] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCSECRET"
2017-09-05T10:08:43+00:00 [E_NOTICE] /modules/miniform/modify.php:[117] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_AJAX"
2017-09-05T10:08:43+00:00 [E_NOTICE] /modules/miniform/modify.php:[118] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RECAPTCHA"
2017-09-05T10:08:43+00:00 [E_NOTICE] /modules/miniform/modify.php:[119] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCKEY"
2017-09-05T10:08:43+00:00 [E_NOTICE] /modules/miniform/modify.php:[120] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCSECRET"
2017-09-05T10:08:46+00:00 [E_NOTICE] /modules/miniform/modify_template.php:[74] from /admin/pages/modify.php:[184] require "Undefined index: DOREMOTE"
2017-09-05T10:08:46+00:00 [E_NOTICE] /modules/miniform/modify_template.php:[97] from /admin/pages/modify.php:[184] require "Undefined index: REMOTE"
2017-09-05T10:08:46+00:00 [E_NOTICE] /modules/miniform/modify_template.php:[98] from /admin/pages/modify.php:[184] require "Undefined index: LOAD"
2017-09-05T10:09:02+00:00 [E_NOTICE] /modules/miniform/modify.php:[117] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_AJAX"
2017-09-05T10:09:02+00:00 [E_NOTICE] /modules/miniform/modify.php:[118] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RECAPTCHA"
2017-09-05T10:09:02+00:00 [E_NOTICE] /modules/miniform/modify.php:[119] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCKEY"
2017-09-05T10:09:02+00:00 [E_NOTICE] /modules/miniform/modify.php:[120] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCSECRET"
2017-09-05T10:09:34+00:00 [E_NOTICE] /modules/miniform/modify_template.php:[74] from /admin/pages/modify.php:[184] require "Undefined index: DOREMOTE"
2017-09-05T10:09:34+00:00 [E_NOTICE] /modules/miniform/modify_template.php:[97] from /admin/pages/modify.php:[184] require "Undefined index: REMOTE"
2017-09-05T10:09:34+00:00 [E_NOTICE] /modules/miniform/modify_template.php:[98] from /admin/pages/modify.php:[184] require "Undefined index: LOAD"
2017-09-05T10:09:43+00:00 [E_NOTICE] /modules/miniform/modify.php:[117] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_AJAX"
2017-09-05T10:09:43+00:00 [E_NOTICE] /modules/miniform/modify.php:[118] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RECAPTCHA"
2017-09-05T10:09:43+00:00 [E_NOTICE] /modules/miniform/modify.php:[119] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCKEY"
2017-09-05T10:09:43+00:00 [E_NOTICE] /modules/miniform/modify.php:[120] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_RCSECRET"
2017-09-05T10:11:53+00:00 [E_NOTICE] /modules/miniform/modify.php:[117] from /admin/pages/modify.php:[184] require "Undefined index: TEXT_AJAX"
2017-09-06T07:33:43+00:00 [E_NOTICE] /framework/functions.php:[1006] from /admin/addons/reload.php:[115] load_template "Undefined variable: template_descriptio n"
2017-09-06T07:33:43+00:00 [E_NOTICE] /framework/functions.php:[1006] from /admin/addons/reload.php:[115] load_template "Undefined variable: template_descriptio n"
2017-09-06T07:33:43+00:00 [E_NOTICE] /framework/functions.php:[1006] from /admin/addons/reload.php:[115] load_template "Undefined variable: template_descriptio n"
2017-09-06T07:33:43+00:00 [E_NOTICE] /framework/functions.php:[1006] from /admin/addons/reload.php:[115] load_template "Undefined variable: template_descriptio n""

 :-D

zirzy:


--- Quote ---DarkViper

other possibility: a theme file for admin/pages is corrupted or modified in a wrong way.
solution: reinstall the theme from original packet
--- End quote ---

Did not work.. If the problem is this, should it work with another backend theme? If I change theme, still the same problem.

hgs:
Thanks, but I am "only user" and can not help with the messages. :oops:
But our "professionals" can be the best.

Gast:
to the error messages

at first a little description or little help to read a error message


--- Quote ---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"
--- End quote ---

red = servertime of this error, here 2017-05-17 at 10:39.00
purple= error type - here E_NOTICE - a simple hint ( german Info)
green = filename and Line with the function or code, that produced the error
orange = filename and Line of the called file (the adress in the browser)
blue = function name - here function get_page_details() in class frontend
brown = the error - here: undefined index

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??)


--- Quote ---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"
--- End quote ---

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 this

--- Code: ---$template_description  = 'Default template for Website Baker. This template is designed with one goal in mind: to completely control layout with CSS';
--- End code ---
start with your own templates. a definition of this is missing, too long or use wrong chars or misconfigured code.

all other messages in your list come's from the modules sysinfo and miniform, check Dev4me for a upgrade

its recommended, to delete the error.log from time to time, your messages are from may 2017 and maybe, everything is solved now
for example: if you upgrade a older WB-Version and use it before you start the file upgrade-script.php, i understand the ~20 messages in the top of your list

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 version
the same for the module miniform
now check the error.log again

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version