Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Can't Install ! mySQL error  (Read 3958 times)

0 Members and 1 Guest are viewing this topic.

edmond0105

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Can't Install ! mySQL error
« on: October 16, 2006, 04:43:29 am »

PHP5+MYSQL5+Apache2.2

When I input the all information on install.php and press "Let's go", the error is following :

The following errors were encountered and need to be corrected first:

mySQL Error: BLOB/TEXT column 'description' can't have a default value on query ' CREATE TABLE cpg_albums ( aid int(11) NOT NULL auto_increment, title varchar(255) NOT NULL default '', description text NOT NULL default '', visibility int(11) NOT NULL default '0', uploads enum('YES','NO') NOT NULL default 'NO', comments enum('YES','NO') NOT NULL default 'YES', votes enum('YES','NO') NOT NULL default 'YES', pos int(11) NOT NULL default '0', category int(11) NOT NULL default '0', thumb int(11) NOT NULL default '0', keyword VARCHAR( 50 ), alb_password VARCHAR( 32 ), alb_password_hint TEXT, PRIMARY KEY (aid), KEY alb_category (category) ) TYPE=MyISAM COMMENT='Used to store albums''

How can I slove the problem?
« Last Edit: October 16, 2006, 01:25:38 pm by Nibbler »
Logged

edmond0105

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can't Install ! mySQL error
« Reply #1 on: October 16, 2006, 04:45:04 am »

PHP5+MYSQL5+Apache2.2

When I input the all information on install.php and press "Let's go", then....

The following errors were encountered and need to be corrected first:

mySQL Error: BLOB/TEXT column 'description' can't have a default value on query ' CREATE TABLE cpg_albums ( aid int(11) NOT NULL auto_increment, title varchar(255) NOT NULL default '', description text NOT NULL default '', visibility int(11) NOT NULL default '0', uploads enum('YES','NO') NOT NULL default 'NO', comments enum('YES','NO') NOT NULL default 'YES', votes enum('YES','NO') NOT NULL default 'YES', pos int(11) NOT NULL default '0', category int(11) NOT NULL default '0', thumb int(11) NOT NULL default '0', keyword VARCHAR( 50 ), alb_password VARCHAR( 32 ), alb_password_hint TEXT, PRIMARY KEY (aid), KEY alb_category (category) ) TYPE=MyISAM COMMENT='Used to store albums''

How can I slove the problem?
Logged

Nibbler

  • Guest
Re: Can't Install ! mySQL error
« Reply #2 on: October 16, 2006, 04:59:09 am »

Correct sql/schema.sql using the following code, drop any tables that have been created by the installer and re-run it.

EDIT: now in svn
« Last Edit: October 16, 2006, 05:06:08 am by Nibbler »
Logged

edmond0105

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Can't Install ! mySQL error
« Reply #3 on: October 16, 2006, 10:01:41 am »

Thank you ! I  was install it successfully .

but a new problem found with add batch file upload, please see the attached pic for reference.

How can I slove the problem?
Logged

Nibbler

  • Guest
Re: Can't Install ! mySQL error
« Reply #4 on: October 16, 2006, 01:25:23 pm »

One question per thread please.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.