[SOLVED] Hi! People can't to upload photos on my gallery [SOLVED] Hi! People can't to upload photos on my gallery
 

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

[SOLVED] Hi! People can't to upload photos on my gallery

Started by Orhidea, February 26, 2008, 03:41:27 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Orhidea

Hi! People can't to upload photos on my gallery.
First, there is a message that the file has been successfully added. Once the desired category choose to add photos, a message: "Previous file can not be added"
How do I fix the problem?
My gallery here


Orhidea

#2
USER:
------------------
Array
(
    [ID] => 5817aad7cf40639b6b03168a933da9d6
    [am] => 1
    [lang] => russian
    [liv] => Array
        (
            [0] => 4
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => admin
    [groups] => Array
        (
            [0] => 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] => 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
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `foter`.cpg14x_sessions where time<1204036129 and remember=0; (0s)
    [3] => delete from `foter`.cpg14x_sessions where time<1202830129; (0s)
    [4] => select user_id from `foter`.cpg14x_sessions where session_id=md5("561f57dd8f9fcf63a6f0c7bda97a839ef0cda45a175d21231f7b17c09e849e45"); (0.001s)
    [5] => select user_id as id, user_password as password from `foter`.cpg14x_users where user_id=1 (0s)
    [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 `foter`.cpg14x_users AS u INNER JOIN `foter`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `foter`.cpg14x_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 cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `foter`.cpg14x_sessions set time='1204039729' where session_id=md5('561f57dd8f9fcf63a6f0c7bda97a839ef0cda45a175d21231f7b17c09e849e45'); (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-02-26 15:28:49' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='81.26.188.90' OR ip_addr='81.26.188.90' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT group_id, group_name FROM cpg14x_usergroups WHERE 1 (0s)
    [15] => UPDATE cpg14x_usergroups SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1 (0s)
    [16] => UPDATE cpg14x_usergroups SET group_name='Администратор',group_quota='0',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='0',can_create_albums='1',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='1',num_URI_upload='0' WHERE group_id = '1' LIMIT 1 (0.001s)
    [17] => UPDATE cpg14x_usergroups SET group_name='Участники',group_quota='0',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='0',can_create_albums='0',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='1',num_URI_upload='0' WHERE group_id = '2' LIMIT 1 (0s)
    [18] => UPDATE cpg14x_usergroups SET group_name='Гости',group_quota='0',can_rate_pictures='1',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='0',can_create_albums='0',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='1',num_URI_upload='0' WHERE group_id = '3' LIMIT 1 (0s)
    [19] => UPDATE cpg14x_usergroups SET group_name='Блок',group_quota='0',can_rate_pictures='0',can_send_ecards='0',can_post_comments='0',can_upload_pictures='0',pub_upl_need_approval='0',can_create_albums='0',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='0',num_URI_upload='0' WHERE group_id = '4' LIMIT 1 (0s)
    [20] => UPDATE cpg14x_usergroups SET group_name='Фотограф-эксперт',group_quota='0',can_rate_pictures='1',can_send_ecards='1',can_post_comments='1',can_upload_pictures='1',pub_upl_need_approval='0',can_create_albums='0',priv_upl_need_approval='0',upload_form_config='0',custom_user_upload='0',num_file_upload='1',num_URI_upload='0' WHERE group_id = '5' LIMIT 1 (0s)
    [21] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0s)
    [22] => SELECT * FROM cpg14x_usergroups WHERE 1 ORDER BY group_id (0s)
)

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

==========================
POST :
------------------
Array
(
    [group_id] => Array
        (
            [0] => 1
            [1] => 2
            [2] => 3
            [3] => 4
            [4] => 5
        )

    [group_name_1] => Администратор
    [group_quota_1] => 0
    [can_rate_pictures_1] => 1
    [can_send_ecards_1] => 1
    [can_post_comments_1] => 1
    [can_upload_pictures_1] => 1
    [pub_upl_need_approval_1] => 0
    [can_create_albums_1] => 1
    [priv_upl_need_approval_1] => 0
    [custom_user_upload_1] => 0
    [num_file_upload_1] => 1
    [num_URI_upload_1] => 0
    [group_name_2] => Участники
    [group_quota_2] => 0
    [can_rate_pictures_2] => 1
    [can_send_ecards_2] => 1
    [can_post_comments_2] => 1
    [can_upload_pictures_2] => 1
    [pub_upl_need_approval_2] => 0
    [can_create_albums_2] => 0
    [priv_upl_need_approval_2] => 0
    [custom_user_upload_2] => 0
    [num_file_upload_2] => 1
    [num_URI_upload_2] => 0
    [group_name_3] => Гости
    [group_quota_3] => 0
    [can_rate_pictures_3] => 1
    [can_send_ecards_3] => 0
    [can_post_comments_3] => 0
    [can_upload_pictures_3] => 0
    [pub_upl_need_approval_3] => 0
    [can_create_albums_3] => 0
    [priv_upl_need_approval_3] => 0
    [custom_user_upload_3] => 0
    [num_file_upload_3] => 1
    [num_URI_upload_3] => 0
    [group_name_4] => Блок
    [group_name_5] => Фотограф-эксперт
    [group_quota_5] => 0
    [can_rate_pictures_5] => 1
    [can_send_ecards_5] => 1
    [can_post_comments_5] => 1
    [can_upload_pictures_5] => 1
    [pub_upl_need_approval_5] => 0
    [can_create_albums_5] => 0
    [priv_upl_need_approval_5] => 0
    [custom_user_upload_5] => 0
    [num_file_upload_5] => 1
    [num_URI_upload_5] => 0
    [apply_modifs] => Применить изменения
    [upload_form_config_1] => 0
    [upload_form_config_2] => 0
    [upload_form_config_3] => 0
    [upload_form_config_4] => 0
    [upload_form_config_5] => 0
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.5 - OK
------------------
mySQL version: 5.0.45-community-log
------------------
Coppermine version: 1.4.16(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
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 5.0.45
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib64 -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | On | On
safe_mode_include_dir | /usr/local/lib/php/ | /usr/local/lib/php/
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | mb_send_mail | mb_send_mail
file_uploads | On | On
include_path | .:./includes:/usr/local/lib/php | .:./includes:/usr/local/lib/php
open_basedir | /home/users/f/foter/:/usr/local/lib/php:/tmp | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | env USER=foter HOUR_LIMIT=500 DAY_LIMIT=2000 php-sendmail -t -i -f postmaster@foter.jino.ru | /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 | 30 | 30
upload_max_filesize | 50M | 50M
post_max_size | 50M | 50M
==========================
Page generated in 0.153 seconds - 23 queries in 0.003 seconds - Album set : ; Meta set: ;

Hein Traag

Only post debug info when asked for. Follow the steps as said by Nibbler and report back.

Orhidea

I will add a file
I get a message:
Файл 'albums/userpics/10001/site_logo~0.png' не может быть добавлен в альбом

Error executing ImageMagick - Return value: 127


Cmd line :
convert -quality 100 -antialias -geometry 100x38 'albums/userpics/10001/site_logo~0.png' 'albums/userpics/10001/thumb_site_logo~0.png'



The convert program said:



Файл: /home/users/f/foter/domains/fotograd.net/db_input.php - Строка: 402

Orhidea

I understood. All thanks!
I put GD version 2.x!!!

Hein Traag