Projects ⇒ Bugs ⇒ #947: Can not add a module in MySQL 5.0 Strict Mode ⇒ CPG Dragonfly™ CMS
Bug #947 Can not add a module in MySQL 5.0 Strict Mode
Project: Dragonfly 9.0.3 -> 9.3 Category: SQL
Submitted: Tuesday, April 03, 2007 (09:34:54) Modified: Friday, May 11, 2007 (14:31:29)
Status: Closed Assigned to: NanoCaiordo
PHP Version: 4.4.4 HTTPD Server: Apache 1.3

View/Vote Add Comment

by: BrokenCrust
Description:
------------
Can not add a module in MySQL 5.0 Strict Mode (DF 9.1.2.1). A Database error is reported.

Reproduce code:
---------------
Error Text:

CMS Warning line 75: On /admin.php?op=modules&install=AD
While executing query "INSERT INTO cpg_modules (title, uninstall, version) VALUES ('AD', 1, '0.1 beta')"
the following error occured: Field 'custom_title' doesn't have a default value In: c:\cpgtest\html\admin\modules\modules.php on line: 259

Expected result:
----------------
Expect module to be added

Actual result:
--------------
Could not add module - DB error generated.
by: NanoCaiordo
Please try using one of these CVS snapshots:

Latest tar.gz
Latest tar.bz2
by: BrokenCrust
This is not fixed and the same error is produced.
by: NanoCaiordo
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make Dragonfly 9.0.3 -> 9.1 better.
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español