forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 permissions => Topic started by: eureal on October 18, 2006, 03:52:25 pm

Title: Cant Create Albums
Post by: eureal on October 18, 2006, 03:52:25 pm
I am a noob so its probably something simple ...

While executing query "INSERT INTO cpalbums (category, title, uploads, pos) VALUES ('2', 'Rose Mcgowan', 'NO',  '1')" on 0

mySQL error: Field 'description' doesn't have a default value


USER:
------------------
Array
(
    [ID] => f2fb1980284cdc98580d1f8379509b7c
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => ***
    [groups] => Array
        (
           
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [what] => albmgr
)

==========================
POST :
------------------
Array
(
    [delete_album] =>
    [sort_order] =>
    [cat] => 2
    [to] => Array
        (
           
        )

    [album_nm] => *****
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 5.0.26-community-nt
------------------
Coppermine version: 1.4.9(stable)
==========================
Module: gd
------------------
module doesn't exist
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .;c:\php4\pear | .;c:\php4\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | no value | no value
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.172 seconds - 16 queries in 0.012 seconds - Album set : ; Meta set: ;
Title: Re: Cant Create Albums
Post by: Sami on October 18, 2006, 05:49:33 pm
- Do not post debug output unless requested
- Upgrade to most recent version (currently 1.4.9)
Title: Re: Cant Create Albums
Post by: Nibbler on October 18, 2006, 11:27:38 pm
It is 1.4.9.

This has already been fixed for the next version of Coppermine, the code to change can be viewed in svn (http://svn.sourceforge.net/viewvc/coppermine/trunk/stable/delete.php?r1=3303&r2=3309).
Title: Re: Cant Create Albums
Post by: Sami on October 18, 2006, 11:31:11 pm
oops sorry missed the debug info !
Just wondering that's why it was there ;)