WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.8 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • Error: Field 'page_code' doesn't have a default value
  • Print
Pages: 1 [2]   Go Down

Author Topic: Error: Field 'page_code' doesn't have a default value  (Read 52532 times)

Offline jacobi22

  • Betatester
  • **
  • Posts: 5921
Re: Error: Field 'page_code' doesn't have a default value
« Reply #25 on: September 15, 2017, 12:17:43 PM »
i add a ticket for the Message Error: Field 'page_code' doesn't have a default value in MYSQL-Strict Mode. this problem is confirmed.

have you delete the error.log now and is it clean or come's this messages back?

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"
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"
Logged

Offline zirzy

  • Posts: 178
Re: Error: Field 'page_code' doesn't have a default value
« Reply #26 on: September 15, 2017, 01:22:13 PM »
Quote
have you delete the error.log now and is it clean or come's this messages back?
Yes, error.log is cleared and there is no new errors BUT when i add a new page comes this text:

Field 'page_code' doesn't have a default value

..And i can not add page. So this is not in error.log. It comes right after when i add new page.
Logged

Offline jacobi22

  • Betatester
  • **
  • Posts: 5921
Re: Error: Field 'page_code' doesn't have a default value
« Reply #27 on: September 15, 2017, 01:37:38 PM »
here a solution for you - pls see it as private help, it's not a official solution

unpack the zip and copy the file add.php to admin/pages.
rename the old original file as add_orig.php or overwrite this file

i hope, the official solution is part of the next wb-release. please note: the file works only in WB 2.10.0
Logged

Offline zirzy

  • Posts: 178
Re: Error: Field 'page_code' doesn't have a default value
« Reply #28 on: September 15, 2017, 04:39:46 PM »
Quote
jacobi22:
here a solution for you - pls see it as private help, it's not a official solution

unpack the zip and copy the file add.php to admin/pages.
rename the old original file as add_orig.php or overwrite this file

i hope, the official solution is part of the next wb-release. please note: the file works only in WB 2.10.0
YESS! Now it's ok!! Thank you so so much my friend  (Y) (Y)   :-)
Logged

  • Print
Pages: 1 [2]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.10.x) »
  • General Help & Support »
  • Error: Field 'page_code' doesn't have a default value
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2