PunBB Resource

Your ultimate PunBB resource!

Keywords:

    (Extended)

You are not logged in.

#1 2007-05-27 22:52:16

Zinezn
Member
Registered: 2007-05-27
Posts: 11

Error when installing PM mod

I use PunBB 1.2.15 and I'm trying to install the mod for 1.2.x (1.2.2) but I get this error:


An error was encountered
File: /customers/*****.se/*****.se/httpd.www/install_mod.php
Line: 62

PunBB reported: Unable to create table messages.

Database reported: Invalid default value for 'owner' (Errno: 1067)


Can someone help me please?

Offline

 

#2 2007-05-27 22:56:25

elbekko
Moderator
From: Leuven, Belgium
Registered: 2006-01-31
Posts: 1353

Re: Error when installing PM mod

In install_mod.php, remove DEFAULT '' from the queries.


FluxBB
dictionary.com on programming: The most fun you can have with your clothes on (although clothes are not mandatory).

Offline

 

#3 2008-04-10 22:06:31

zahidprimex
Member
Registered: 2008-03-10
Posts: 34

Re: Error when installing PM mod

elbekko wrote:

In install_mod.php, remove DEFAULT '' from the queries.

I have not understood.Would you please explain it?

Offline

 

#4 2008-04-11 03:00:57

MattF
Member
From: South Yorkshire, England
Registered: 2007-03-16
Posts: 415

Re: Error when installing PM mod

If the line is, for example:

message_id INTEGER DEFAULT '',

change it to:

message_id INTEGER,

Just delete the DEFAULT and the two single quotes from the line. (Each line where it occurs).

Offline

 

#5 2008-04-11 17:49:16

zahidprimex
Member
Registered: 2008-03-10
Posts: 34

Re: Error when installing PM mod

MattF wrote:

If the line is, for example:

message_id INTEGER DEFAULT '',

change it to:

message_id INTEGER,

Just delete the DEFAULT and the two single quotes from the line. (Each line where it occurs).

Thanks for help

Offline

 

#6 2009-02-12 18:49:24

rey_rockstreet
New member
Registered: 2009-02-11
Posts: 1

Re: Error when installing PM mod

. i can't find DEFAULT ''

Offline

 

Board footer

Based on PunBB
© Copyright 2002–2005 Rickard Andersson

© Copyright 2004–2006 Kristoffer Jansson

User contributed files are property of their respective owners.