Database Error Database Error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Database Error

Started by parti02, December 20, 2006, 03:44:59 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

parti02

Hi all,
for testing the gallery, i installed it on my local computer.
I create a database with MySql5:
mysqladmin -uroot -p**** create gallery

The funktion "create new user" gives an error back.

There was an error while processing a database query.
While executing query "INSERT INTO cpg1410_users(user_regdate, user_active) VALUES (NOW(), 'YES')" on 0

mySQL error: Field 'user_profile6' doesn't have a default value
File: D:\Webserver\pages\gallery\include\functions.inc.php - Line: 249

The CPG MASS IMPORT plugin show a error too in the same file.

There was an error while processing a database query.
While executing query "INSERT INTO cpg1410_categories (pos, parent, name) VALUES ('10000', '0', 'A')" on 0

mySQL error: Field 'description' doesn't have a default value
File: D:\Webserver\pages\gallery\include\functions.inc.php - Line: 249

Is it the same database problem for the 2 errors?
Must i create it by another way?

Thanks
Parti


Nibbler

Don't run your MySQL server in strict mode if you don't know how to fix the errors it will throw at you.

parti02