Batch add will not generate/insert thumbnails/picutures/intermediate pictures Batch add will not generate/insert thumbnails/picutures/intermediate pictures
 

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

Batch add will not generate/insert thumbnails/picutures/intermediate pictures

Started by dalamarian, September 04, 2004, 05:36:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dalamarian

Background:

Just moved to a new server.  I have root.  PHP/MYSQL/Apache I thought were working fine, that may not be the case.  I transferred my old db/files from my server and started to do some batch adds when I noticed that it would of course not work.  It doesn't generate any pictures period from my albums/ directory.  (no, this isn't a userpics problem).

I changed the permissions to a=rwx for testing purposes of all the files and still no go.  I then noticed that it would display the pictures in the batch add if they were already generated previously (the thumbnails that is).  I had a few directories that already had all of the normal_* and thumb_* created.

I figured for the sake of testing, I'd just setup a completely new test install.  So I made a new db and installationd directory and set it all up.  The same thing is happening.

This leads me to believe that there might be a problem with php/apache.  Are there any obvious errors (besides permissions because for the sake of testing I bumped them all) with PHP or Apache that could cause this problem?  I am even using the same setup for the vhosts from my previous box so...

thanks :)

USER:
------------------
Array
(
    [ID] => 9a5e847a6734fdaec122cd936ed83823
    [am] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => warf
    [user_password] => ********
    [user_lastvisit] => 2004-09-04 10:19:58
    [user_regdate] => 2004-09-04 10:19:53
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] =>
    [user_interests] =>
    [user_occupation] =>
    [user_actkey] =>
    [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
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
  • => SELECT extension, mime, content FROM cpg132_filetypes;
        [1] => SELECT * FROM cpg132_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '3843e0182f8392432d0d36d51261b6ba'
        [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 cpg132_usergroups WHERE group_id in (1)
        [3] => SELECT group_name FROM  cpg132_usergroups WHERE group_id= 1
        [4] => DELETE FROM cpg132_banned WHERE expiry < 1094311735
        [5] => SELECT * FROM cpg132_banned WHERE ip_addr='128.118.113.18' OR ip_addr='128.118.113.18' OR user_id=1
    )

    ==========================
    GET :
    ------------------
    Array
    (
        [insert] => 1
    )

    ==========================
    POST :
    ------------------
    Array
    (
        [d0000] => 1
        [pics] => Array
            (
               
  • => i0000
                [1] => i0001
                [2] => i0002
                [3] => i0003
                [4] => i0004
                [5] => i0005
                [6] => i0006
                [7] => i0007
                [8] => i0008
                [9] => i0009
                [10] => i0010
                [11] => i0011
                [12] => i0012
                [13] => i0013
                [14] => i0014
                [15] => i0015
                [16] => i0016
                [17] => i0017
                [18] => i0018
                [19] => i0019
                [20] => i0020
                [21] => i0021
                [22] => i0022
                [23] => i0023
                [24] => i0024
                [25] => i0025
                [26] => i0026
                [27] => i0027
                [28] => i0028
                [29] => i0029
                [30] => i0030
                [31] => i0031
                [32] => i0032
                [33] => i0033
                [34] => i0034
                [35] => i0035
                [36] => i0036
                [37] => i0037
                [38] => i0038
                [39] => i0039
                [40] => i0040
                [41] => i0041
                [42] => i0042
                [43] => i0043
                [44] => i0044
                [45] => i0045
            )

        [album_lb_id_i0000] => d0000
        [picfile_i0000] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAwMV9fc2NhbGVkXzY0MC5qcGc=
        [album_lb_id_i0001] => d0000
        [picfile_i0001] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAwMV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAwMl9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAwM19fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAwNF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAwNV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAwN19fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAwOF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAwOV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAxMF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAxMV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAxM19fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAxNF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAxNV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAxNl9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAxOC5qcGc=
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAxOV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAyMV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAyM19fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAyNF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAyNV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0021] => d0000
        [picfile_i0021] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAyNl9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0022] => d0000
        [picfile_i0022] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAyN19fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0023] => d0000
        [picfile_i0023] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAyOF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0024] => d0000
        [picfile_i0024] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAyOV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0025] => d0000
        [picfile_i0025] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAzMF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0026] => d0000
        [picfile_i0026] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAzMV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0027] => d0000
        [picfile_i0027] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAzMl9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0028] => d0000
        [picfile_i0028] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAzM19fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0029] => d0000
        [picfile_i0029] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAzNF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0030] => d0000
        [picfile_i0030] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAzNV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0031] => d0000
        [picfile_i0031] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAzNl9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0032] => d0000
        [picfile_i0032] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDAzOV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0033] => d0000
        [picfile_i0033] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA0MV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0034] => d0000
        [picfile_i0034] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA0M19fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0035] => d0000
        [picfile_i0035] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA0NF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0036] => d0000
        [picfile_i0036] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA0NV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0037] => d0000
        [picfile_i0037] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA0Nl9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0038] => d0000
        [picfile_i0038] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA0N19fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0039] => d0000
        [picfile_i0039] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA0OF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0040] => d0000
        [picfile_i0040] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA0OV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0041] => d0000
        [picfile_i0041] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA1MF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0042] => d0000
        [picfile_i0042] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA1MV9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0043] => d0000
        [picfile_i0043] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA1Ml9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0044] => d0000
        [picfile_i0044] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA1NF9fc2NhbGVkXzEwMjQuanBn
        [album_lb_id_i0045] => d0000
        [picfile_i0045] => c3RldmUvMjAwMy9wYXJ0aWVzL2NocmlzdGlhbnMtMjAwM18xMF8xOC9jaHJpc3RpYW5zMDA1NV9fc2NhbGVkXzEwMjQuanBn
        [insert] => Insert selected files
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 4.3.8 - OK
    ------------------
    mySQL version: 4.0.20
    ------------------
    Coppermine version: 1.3.2
    ==========================
    Module: gd
    ------------------
    module doesn't exist
    ==========================
    Module: mysql
    ------------------
    Active Persistent Links 0
    Active Links 1
    Client API version 4.0.20
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/run/mysqld/mysqld.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.1
    Linked Version 1.2.1
    ==========================
    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/lib/php | .:/usr/lib/php
    open_basedir | no value | no value
    ==========================
    email
    ------------------
    Directive | Local Value | Master Value
    sendmail_from | no value | no value
    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 | 2M | 2M
    post_max_size | 8M | 8M
    ==========================
    Page generated in 0.205 seconds - 6 queries in 0.004 seconds - Album set :

kegobeer

What method are you using for resizing your images?  GD1/2 or ImageMagick?  Verify you have GD and/or ImageMagick installed.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

brandenallmon

I am seeing the same thing. I have all permissions at 777 and have tried several versions of Coppermine. I believe it is an Apaceh issue because the PHP doesn't generate any errors. Have you had any luck? I am using GD2 and it is enabled.

Thanks in advance,
Branden Allmon

brandenallmon