Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 13, 2012, 02:14:31 AM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
149700
Posts in
21103
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Archive (posts up to 2007)
(Moderator:
Argos
)
How about strict mode in MySQL
Pages: [
1
]
Go Down
Author
Topic: How about strict mode in MySQL (Read 1283 times)
ivetask
Offline
Posts: 5
How about strict mode in MySQL
«
on:
December 30, 2007, 05:23:08 PM »
Hi,
I must say I really like WebsiteBaker and I am developing site powered by WB now.
But there is a problem I would like to solve: When I was installing WB I had an error like this:
Field 'link' doesn't have a default value.
I searched Help/Support and realized there is a solution in switching strict mode in my MySQL off. I switched strict mode off and installed WB, then I switched strict mode on and there were the same problems again while inserting pages. In short it seems I cannot use strict mode in MySQL and since I work on localhost now I can have strict mode switched off now.
But what should I do if I install WB on hosts where I cannot change SQL mode or I do not want to change SQL mode (security reasons)? Should I change code and insert statements? (where and how?) Should I change tables in my database? (because MySQL manual says the problem occures only when a user wants to insert empty values into non-NULL columns; maybe columns should be only NULL?) Or I can hope WB3 will handle the issue?
Thanks for your system and thanks for your advices.
Ivetask
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7665
Re: How about strict mode in MySQL
«
Reply #1 on:
December 30, 2007, 08:16:39 PM »
Hello,
WB 2.x and i think also the most modules will definetely not work with Mysql in strict mode. To get this working the whole code of WB and all modules needs to be rewritten.
So if you wanna use WB 2.x better is to look for a hoster with Mysql not in strict mode. I think the most ones have strict mode off, cause not only WB, a lot of other cms and tools have the same problem with strict mode.
Matthias
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...