Can't upload Pics Can't upload Pics
 

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

Can't upload Pics

Started by chiefus, February 06, 2006, 09:42:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chiefus

Hello,
sorry my englisg is not so good so I hope you can understand me ;)
When I will upload a pic the following mesage apper:

Die vorhergehende Datei konnte nicht gesetzt werden.
Alle Dateien wurden erfolgreich Alben zugeordnet.

Do you need some Debug Infos or something? Then tell me please!
I hope you can help me,please. I don't know what the error is.


Joachim Müller


chiefus

Thank You. Here is the Debug info:
USER:
------------------
Array
(
    [ID] => 7420f93257d25a701dc620f0ac629726
    [am] => 1
    [lang] => german
    [liv] => Array
        (
        )

)

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

    [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
(
    [0] => SELECT extension, mime, content, player FROM cpg143_filetypes; (0.006s)
    [1] => select * from cpg143_plugins order by priority asc; (0.005s)
    [2] => delete from `malsch`.cpg143_sessions where time<1139212229 and remember=0; (0.001s)
    [3] => delete from `malsch`.cpg143_sessions where time<1138006229; (0.001s)
    [4] => select user_id from `malsch`.cpg143_sessions where session_id=md5("2fc535a5dc986d2fbfe56ecaecac1d71bfd30e422b26ec9e7297bd9601ba7d12"); (0s)
    [5] => select user_id as id, user_password as password from `malsch`.cpg143_users where user_id=1 (0.004s)
    [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 `malsch`.cpg143_users AS u INNER JOIN `malsch`.cpg143_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `malsch`.cpg143_users AS u WHERE user_id='1' and user_group_list <> ''; (0.009s)
    [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) (0.003s)
    [9] => SELECT group_name FROM  cpg143_usergroups WHERE group_id= 1 (0.004s)
    [10] => update `malsch`.cpg143_sessions set time='1139215829' where session_id=md5('2fc535a5dc986d2fbfe56ecaecac1d71bfd30e422b26ec9e7297bd9601ba7d12'); (0.003s)
    [11] => SELECT user_favpics FROM cpg143_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg143_banned WHERE expiry < '2006-02-06 08:50:30' (0s)
    [13] => SELECT * FROM cpg143_banned WHERE (ip_addr='141.52.232.84' OR ip_addr='141.52.47.168' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT group_id, group_name FROM cpg143_usergroups WHERE 1 (0s)
    [15] => UPDATE cpg143_usergroups SET has_admin_access = '1' WHERE group_id = '1' LIMIT 1 (0s)
    [16] => SELECT COUNT(*) FROM cpg143_pictures WHERE approved = 'NO' (0s)
    [17] => SELECT * FROM cpg143_usergroups WHERE 1 ORDER BY group_id (0s)
)

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

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.1 - OK
------------------
mySQL version: 4.0.26-log
------------------
Coppermine version: 1.4.3(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
XBM Support: 1
JIS-mapped Japanese Font Support: 1

==========================
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.2.2
Linked Version 1.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 | fsockopen,pfsockopen,proc_open,proc_nice,proc_terminate,proc_close,proc_get_status,shell_exec,exec,passthru,system,popen,highlight_file,diskfreespace,disk_free_space,disk_total_space,show_source,php_uname,ini_alter,ini_restore,ini_set,getrusage,get_current_user,set_time_limit,getmyuid,getmypid,dl,leak | fsockopen,pfsockopen,proc_open,proc_nice,proc_terminate,proc_close,proc_get_status,shell_exec,exec,passthru,system,popen,highlight_file,diskfreespace,disk_free_space,disk_total_space,show_source,php_uname,ini_alter,ini_restore,ini_set,getrusage,get_current_user,set_time_limit,getmyuid,getmypid,dl,leak
file_uploads | On | On
include_path | .: | .: |  |
==========================
email
------------------
Directive | Local Value | Master Value |  |  |  |  |  |  |  |
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 10 | 10
max_input_time | 30 | 30
upload_max_filesize | 1550K | 1550K
post_max_size | 1550K | 1550K
==========================
Page generated in 0.38 seconds - 18 queries in 0.037 seconds - Album set : ; Meta set: ;

Joachim Müller

didn't ask for it. After all, the section I refered to clearly says not to post debug output. Re-read it and do exactly as suggested.

chiefus

Oh sorry. I have changed the options und did it saved. Then I want upload a pic and this error appear:
Das Bild 'albums/userpics/10001/Blaue_Berge~2.jpg' kann nicht in das Album eingefügt werden

Kann Thumbnail nicht erzeugen.

Datei: /usr/export/www/vhosts/funnetwork/hosting/malsch/smf/coppermine/db_input.php - Zeile: 391

PS:@GauGau: Kann ich nicht deutsch schreiben? Ich galube, dann verstehen wir uns besser ;)

Joachim Müller

no, you can't write in German here, there's a sub-board dedicated to German support. On the rest of the board, only English is allowed for the benefit of other users that may have the same issue and to enable other supporters to keep track.
Like I said before: do exactly as suggested - the section I want you to re-read says that you're meant to post a link and test user account with the troubleshooting settings in place! The message you got indicates that you have fallen victim to a PHP bug mentioned on the thread "Coppermine and PHP 4.4.1 - imagejpeg workaround". Do as suggested on that particular thread. Return here if this doesn't solve your issues and do as suggested in the trouble-shooting section. If you don't, I won't be able to help you. I won't repeat the inctruction then for you, but abandon support, because I'm not ready to pray the mantra "do as suggested" for all eternity... :-\