New installation - problems with upload New installation - problems with upload
 

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

New installation - problems with upload

Started by yacenty, January 01, 2007, 09:43:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yacenty

Hi guys,
finally I decided to use clear cpg 1.4.10 without any plugins, but unfortunatelly I can not upload any photo, constraint is 800pixels but my picture has 400x300, 800x600 or 752x590.
I allways get info: 0 uploads were successful.

here is debug info:
USER:
------------------
Array
(
    [ID] => 664245d6af4cb437e97477d4b90b4c1b
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 1443
            [1] => 3472
            [2] => 3166
            [3] => 3084
            [4] => 2591
        )

    [theme] => water_drop
    [search] => Array
        (
            [search] => ts
            [album] => search
            [title] => on
            [newer_than] =>
            [caption] => on
            [older_than] =>
            [keywords] => on
            [type] => AND
            [params] => Array
                (
                    [title] => on
                    [caption] => on
                    [keywords] => on
                )

        )

    [lap] => 1
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => yacenty
    [groups] => Array
        (
            [0] => 104
        )

    [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] => Root Admin
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 104
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0s)
    [1] => select * from cpg143_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg143_bridge (0s)
    [3] => SELECT member_id , member_login_key FROM `agrofoto`.ibf_sessions AS s INNER JOIN `agrofoto`.ibf_members AS u ON s.member_id = u.id WHERE s.id = '29d10a37c44c608e860779f721335987' (0s)
    [4] => SELECT u.id AS id, u.name AS username, u.member_login_key AS password, u.mgroup+100 AS group_id FROM `agrofoto`.ibf_members AS u INNER JOIN `agrofoto`.ibf_groups AS g ON u.mgroup=g.g_id WHERE u.id='2' (0s)
    [5] => 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 (104) (0s)
    [6] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 104 (0s)
    [7] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 2 (0s)
    [8] => DELETE FROM cpg143_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE (0s)
    [9] => REPLACE INTO cpg143_mod_online (user_id, user_name, user_ip, last_action) VALUES ('2', 'yacenty', '83.27.89.57', NOW()) (0s)
    [10] => DELETE FROM cpg143_banned WHERE expiry < '2007-01-01 21:41:07' (0s)
    [11] => SELECT * FROM cpg143_banned WHERE (ip_addr='83.27.89.57' OR ip_addr='83.27.89.57' OR user_id=2) AND brute_force=0 (0s)
    [12] => SELECT aid, title FROM cpg143_albums WHERE category < 10000 ORDER BY title (0s)
    [13] => SELECT aid, title FROM cpg143_albums WHERE category='10002' ORDER BY title (0s)
    [14] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
    [URI_array] => Array
        (
            [0] =>
            [1] =>
            [2] =>
        )

    [control] => phase_1
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.0 - OK
------------------
mySQL version: 5.0.30-Debian_0.dotdeb.1-log
------------------
Coppermine version: 1.4.10(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 0
Active Links 1
Client API version 4.0.24
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient_r 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.2
Linked Version 1.2.2
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /usr/local/php/bin | /usr/local/php/bin
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

==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.064 seconds - 15 queries in 0 seconds - Album set : ; Meta set: ;

do You have any Idea what is going wrong?
My gallery is bridged with IPB 2.2.1

Thanks in advance
Best regards,
YacentY


yacenty

I've checked parameters for php - http://www.agrofoto.pl/gallery/phpinfo.php I think everything is OK, I've checked and upload folder has 755 rights.
What should be done, sorry but I think everytnig is ok but this doesn't work :(

thanks in advance
Best regards,
YacentY

Joachim Müller

Do exactly as suggested in the upload troubleshootig section Nibbler has refered to if you want help. If you don't, we won't be able to help you. You have been told to RTFM many times over and have received negative karma for not respecting board rules in the past. Start playing by the rules or your support requests will get ignored completely.