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

Offline jacobi22

  • Posts: 5891
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
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"
Wer nicht will, findet Gründe, wer will, findet Wege.

Offline zirzy

  • Posts: 168
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.

Offline jacobi22

  • Posts: 5891
  • Gender: Male
  • Support also via PM or EMail
    • Jacobi22
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
Wer nicht will, findet Gründe, wer will, findet Wege.

Offline zirzy

  • Posts: 168
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)   :-)