Can't add pictures.. Can't add pictures..
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Can't add pictures..

Started by verlinde, July 27, 2007, 02:01:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

verlinde

Oke my problem is, i can upload my pictures, but add it to the gallary i can't?
I have more than 10.000 pictures on coppermine..

Picture:
http://img525.imageshack.us/img525/4326/huhyw8.png


Thx

verlinde

On debug mode: When trying to add pictures;


USER:
------------------
Array
(
    [ID] => e8273023dd10721e15777dd23c4afa63
    [am] => 1
    [lang] => dutch
    [lap] => 2
    [liv] => Array
        (
           
  • => 11346
                [1] => 11347
                [2] => 4822
                [3] => 5473
                [4] => 8201
            )

        [name] => Vrlinde
        [search] => Array
            (
                [search] => daphne
                [album] => search
                [title] => on
                [newer_than] =>
                [caption] => on
                [older_than] =>
                [keywords] => on
                [type] => AND
                [params] => Array
                    (
                        [title] => on
                        [caption] => on
                        [keywords] => on
                    )

            )

        [theme] => ipodlounge
        [sort] => pa
    )

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

        [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] => 1
        [priv_upl_need_approval] => 1
        [group_name] => Administrators
        [upload_form_config] => 3
        [group_quota] => 0
        [can_see_all_albums] => 1
        [group_id] => 1
    )

    ==========================
    Queries:
    ------------------
    Array
    (
       
  • => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
        [1] => select * from cpg143_plugins order by priority asc; (0s)
        [2] => delete from `ffchille_be_1`.cpg143_sessions where time<1185534518 and remember=0; (0.001s)
        [3] => delete from `ffchille_be_1`.cpg143_sessions where time<1184328518; (0s)
        [4] => select user_id from `ffchille_be_1`.cpg143_sessions where session_id=md5("e9caa4d8c81b7ca2c239b7eda005335856975ae42fae2d584aa8579003a0fcbc"); (0s)
        [5] => select user_id as id, user_password as password from `ffchille_be_1`.cpg143_users where user_id=1 (0.002s)
        [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `ffchille_be_1`.cpg143_users AS u INNER JOIN `ffchille_be_1`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
        [7] => SELECT user_group_list FROM `ffchille_be_1`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
        [8] => 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 cpg143_usergroups WHERE group_id in (1) (0s)
        [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0s)
        [10] => update `ffchille_be_1`.cpg143_sessions set time='1185538118' where session_id=md5('e9caa4d8c81b7ca2c239b7eda005335856975ae42fae2d584aa8579003a0fcbc'); (0.001s)
        [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0.003s)
        [12] => DELETE FROM cpg143_banned WHERE expiry < '2007-07-27 14:08:38' (0.005s)
        [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='84.196.217.99' OR ip_addr='84.196.217.99' OR user_id=1) AND brute_force=0 (0.001s)
        [14] => SELECT aid, title FROM cpg143_albums WHERE 1 (0.002s)
        [15] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
    )

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

    ==========================
    POST :
    ------------------
    Array
    (
        [d0000] => 160
        [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] => i0035
            )

        [album_lb_id_i0000] => d0000
        [picfile_i0000] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1MzIuSlBH
        [album_lb_id_i0001] => d0000
        [picfile_i0001] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1MzMuSlBH
        [album_lb_id_i0002] => d0000
        [picfile_i0002] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1MzQuSlBH
        [album_lb_id_i0003] => d0000
        [picfile_i0003] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1MzYuSlBH
        [album_lb_id_i0004] => d0000
        [picfile_i0004] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1MzcuSlBH
        [album_lb_id_i0005] => d0000
        [picfile_i0005] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1MzguSlBH
        [album_lb_id_i0006] => d0000
        [picfile_i0006] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NDAuSlBH
        [album_lb_id_i0007] => d0000
        [picfile_i0007] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NDEuSlBH
        [album_lb_id_i0008] => d0000
        [picfile_i0008] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NDIuSlBH
        [album_lb_id_i0009] => d0000
        [picfile_i0009] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NDQuSlBH
        [album_lb_id_i0010] => d0000
        [picfile_i0010] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NDUuSlBH
        [album_lb_id_i0011] => d0000
        [picfile_i0011] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NDYuSlBH
        [album_lb_id_i0012] => d0000
        [picfile_i0012] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NDcuSlBH
        [album_lb_id_i0013] => d0000
        [picfile_i0013] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NDguSlBH
        [album_lb_id_i0014] => d0000
        [picfile_i0014] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NDkuSlBH
        [album_lb_id_i0015] => d0000
        [picfile_i0015] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NTAuSlBH
        [album_lb_id_i0016] => d0000
        [picfile_i0016] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NTEuSlBH
        [album_lb_id_i0017] => d0000
        [picfile_i0017] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NTIuSlBH
        [album_lb_id_i0018] => d0000
        [picfile_i0018] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NTMuSlBH
        [album_lb_id_i0019] => d0000
        [picfile_i0019] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NTQuSlBH
        [album_lb_id_i0020] => d0000
        [picfile_i0020] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NTYuSlBH
        [album_lb_id_i0021] => d0000
        [picfile_i0021] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NTguSlBH
        [album_lb_id_i0022] => d0000
        [picfile_i0022] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NTkuSlBH
        [album_lb_id_i0023] => d0000
        [picfile_i0023] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NjAuSlBH
        [album_lb_id_i0024] => d0000
        [picfile_i0024] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NjIuSlBH
        [album_lb_id_i0025] => d0000
        [picfile_i0025] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NjMuSlBH
        [album_lb_id_i0026] => d0000
        [picfile_i0026] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NjQuSlBH
        [album_lb_id_i0027] => d0000
        [picfile_i0027] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NjYuSlBH
        [album_lb_id_i0028] => d0000
        [picfile_i0028] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NjcuSlBH
        [album_lb_id_i0029] => d0000
        [picfile_i0029] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NjguSlBH
        [album_lb_id_i0030] => d0000
        [picfile_i0030] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NjkuSlBH
        [album_lb_id_i0031] => d0000
        [picfile_i0031] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NzAuSlBH
        [album_lb_id_i0032] => d0000
        [picfile_i0032] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NzEuSlBH
        [album_lb_id_i0033] => d0000
        [picfile_i0033] => SnVtcHN0eWxlcnogMjAtMDctMDcvRFNDMDg1NzMuSlBH
        [album_lb_id_i0034] => d0000
        [picfile_i0034] => SnVtcHN0eWxlcnogMjAtMDctMDcvTU9WMDg1NTcuTVBH
        [album_lb_id_i0035] => d0000
        [picfile_i0035] => SnVtcHN0eWxlcnogMjAtMDctMDcvTU9WMDg1NTcuVEhN
        [insert] => Invoegen van geselecteerde bestanden
    )

    ==========================
    VERSION INFO :
    ------------------
    PHP version: 5.0.4 - OK
    ------------------
    mySQL version: 4.1.20
    ------------------
    Coppermine version: 1.4.4(stable)
    ==========================
    Module: GD
    ------------------
    GD Version: bundled (2.0.28 compatible)
    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
    XPM Support:
    XBM Support: 1
    JIS-mapped Japanese Font Support:

    ==========================
    Module: mysql
    ------------------
    MySQL Supportenabled
    Active Persistent Links 1
    Active Links 2
    Client API version 4.1.20
    MYSQL_MODULE_TYPE external
    MYSQL_SOCKET /var/lib/mysql/mysql.sock
    MYSQL_INCLUDE -I/usr/include/mysql
    MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
    ==========================
    Module: zlib
    ------------------
    ZLib Support enabled
    Compiled Version 1.2.2.2
    Linked Version 1.2.2.2
    ==========================
    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 | .: | .:
    open_basedir | /var/www/vhosts/ffchille.be/subdomains/fotoalbum/httpdocs:/tmp | 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.273 seconds - 16 queries in 0.015 seconds - Album set : ; Meta set: ;

verlinde

/include/logger.inc.php

    * Warning line 155: unlink(logs/global.log.php) [function.unlink]: Permission denied
    * Warning line 51: fopen(logs/global.log.php) [function.fopen]: failed to open stream: Permission denied
    * Warning line 52: fwrite(): supplied argument is not a valid stream resource
    * Warning line 53: fwrite(): supplied argument is not a valid stream resource
    * Warning line 54: fclose(): supplied argument is not a valid stream resource

/searchnew.php

    * Notice line 461: Undefined variable: edit_pics_content


Maybe this can help.. Sorry fot mutiple posts, where is the edit button?

Joachim Müller

Quote from: verlinde on July 27, 2007, 02:16:43 PM
Maybe this can help.
No, doesn't help at all. In fact you did quite the opposite of what you're suppossed to do.

Do exactly as suggested in the upload troubleshooting section of the docs, as suggested in countless threads in this sub-board.


Quote from: verlinde on July 27, 2007, 02:16:43 PMSorry fot mutiple posts, where is the edit button?
Has been removed to keep people like you (who don't read the docs, don't search the board before posting and who - generally speaking - don't show respect for board rules and common sense) from editing out their postings, making subsequent replies look silly and useless.