Critical Error Critical Error
 

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]

Main Menu

Critical Error

Started by nmjayhawk, January 16, 2006, 04:53:30 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nmjayhawk

I have read through several posts to correct the error that I am receiving.  I have even followed the troubleshooting steps.  None of the suggestions have worked.  Here is the error I am receiving:

The file 'albums/userpics/10001/CIMG1523.JPG' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /usr/home/sites/www.thedirtydiaper.com/web/gallery/db_input.php - Line: 391

The debug output is below:

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

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
           
  • => 1
                [1] => 0
            )

        [disk_max] => 0
        [disk_min] => 0
        [can_rate_pictures] => 1
        [can_send_ecards] => 1
        [ufc_max] => 0
        [ufc_min] => 0
        [custom_user_upload] => 0
        [num_file_upload] => 1
        [num_URI_upload] => 0
        [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] => 0
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM gallery_filetypes; (0.004s)
        [1] => select * from gallery_plugins order by priority asc; (0.007s)
        [2] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM gallery_usergroups WHERE group_id in (1,0) (0.001s)
        [3] => SELECT group_name FROM  gallery_usergroups WHERE group_id= 1 (0.001s)
        [4] => SELECT user_favpics FROM gallery_favpics WHERE user_id = 1 (0.001s)
        [5] => DELETE FROM gallery_banned WHERE expiry < '2006-01-15 20:38:09' (0.001s)
        [6] => SELECT * FROM gallery_banned WHERE (ip_addr='68.35.62.163' OR ip_addr='68.35.62.163' OR user_id=1) AND brute_force=0 (0s)
        [7] => SELECT category FROM gallery_albums WHERE aid='2' (0.001s)
        [8] => SELECT COUNT(*) FROM gallery_pictures WHERE approved = 'NO' (0.001s)
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [b_input_php] =>
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [album] => 2
        [MAX_FILE_SIZE] => 1048576
        [title] =>
        [caption] =>
        [keywords] =>
        [event] => picture
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.11 - OK
    ------------------
    mySQL version: 4.0.26
    ------------------
    Coppermine version: 1.4.3(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: 2.0 or higher
    FreeType Support: 1
    FreeType Linkage: with freetype
    T1Lib Support:
    GIF Read Support: 1
    GIF Create Support: 1
    JPG Support: 1
    PNG Support: 1
    WBMP Support: 1
    XBM Support:
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.26
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /tmp/mysql.sock
    MYSQL_INCLUDE -I/usr/local/include/mysql
    MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.1.4
    Linked Version 1.1.4
    ==========================
    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 | .:/usr/local/lib/php | .:/usr/local/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | me@localhost.com | me@localhost.com
    sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
    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 | 10M | 10M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.72 seconds - 9 queries in 0.017 seconds - Album set : ; Meta set: ;

Joachim Müller

don't post debug_output unless requested, it only clutters the thread. Do as suggested here: http://forum.coppermine-gallery.net/index.php?topic=23342.0 instead

nmjayhawk

I tried this and I am still receiving the same error.  Any other suggestions?

nmjayhawk

Here is the error I am receiving in case anyone else can help.

The file 'albums/userpics/10001/elenacrying~0.jpg' can't be inserted in the album

Unable to create thumbnail or reduced size image.

File: /usr/home/sites/www.thedirtydiaper.com/web/gallery/db_input.php - Line: 391

I have tried the steps in the troubleshooting uploads post.  Please help.

Joachim Müller