Uploading Files Tissue Uploading Files Tissue
 

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

Uploading Files Tissue

Started by SLORG, September 10, 2007, 12:24:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SLORG

I'm having problems with uploading files into my coppermine gallery. I don't see any new photos that I've added! Here are the processes:
http://img521.imageshack.us/img521/4061/uploadingtf5.png
1. Uploading my files . . . .
http://img261.imageshack.us/img261/4226/uploadsucess1al9.png
2. Uploaded . . .
http://img293.imageshack.us/img293/6315/picturesxwq0.png
3. The pictures with an 'X' and tried to uploaded them to album.
http://img293.imageshack.us/my.php?image=messagespf4.png
4. Uploaded Sucess . . .
http://img521.imageshack.us/img521/4888/displaymq5.png
5. Where are my new photos?!

I tried everything!!!!Please help . . .

SLORG

#1
USER:
------------------
Array
(
    [ID] => 2df8fdfec94c208bc468d66e84132fc3
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 269
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => eddie
    [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] => 10
    [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] => 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 cpg_filetypes; (0s)
    [1] => select * from cpg_plugins order by priority asc; (0s)
    [2] => delete from `stephani_copp1`.cpg_sessions where time<1189374867 and remember=0; (0s)
    [3] => delete from `stephani_copp1`.cpg_sessions where time<1188168867; (0s)
    [4] => select user_id from `stephani_copp1`.cpg_sessions where session_id=md5("23cc1ce9696c5f4de4a7dbb40c730918b8b0d812c69632e7a00e7fcf3f6f4345"); (0s)
    [5] => select user_id as id, user_password as password from `stephani_copp1`.cpg_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 `stephani_copp1`.cpg_users AS u INNER JOIN `stephani_copp1`.cpg_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `stephani_copp1`.cpg_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 cpg_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg_usergroups WHERE group_id= 1 (0s)
    [10] => update `stephani_copp1`.cpg_sessions set time='1189378467' where session_id=md5('23cc1ce9696c5f4de4a7dbb40c730918b8b0d812c69632e7a00e7fcf3f6f4345'); (0s)
    [11] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg_banned WHERE expiry < '2007-09-09 22:54:27' (0s)
    [13] => SELECT * FROM cpg_banned WHERE (ip_addr='71.191.196.51' OR ip_addr='71.191.196.51' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = ''  ORDER BY pos (0s)
    [15] => SELECT aid FROM cpg_albums WHERE category = 44 (0s)
    [16] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 44 (0s)
    [17] => SELECT aid FROM cpg_albums as a WHERE category>=10000 (0s)
    [18] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
    [19] => SELECT aid FROM cpg_albums WHERE category = 46 (0s)
    [20] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 46 (0s)
    [21] => SELECT aid FROM cpg_albums WHERE category = 47 (0s)
    [22] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 47 (0s)
    [23] => SELECT aid FROM cpg_albums WHERE category = 48 (0s)
    [24] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 48 (0s)
    [25] => SELECT aid FROM cpg_albums WHERE category = 79 (0s)
    [26] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 79 (0s)
    [27] => SELECT aid FROM cpg_albums WHERE category = 49 (0s)
    [28] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 49 (0s)
    [29] => SELECT aid FROM cpg_albums WHERE category = 85 (0s)
    [30] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 85 (0s)
    [31] => SELECT aid FROM cpg_albums WHERE category = 51 (0s)
    [32] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 51 (0s)
    [33] => SELECT aid FROM cpg_albums WHERE category = 52 (0s)
    [34] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 52 (0s)
    [35] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0s)
    [36] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
    [37] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
    [38] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0s)
    [39] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
    [40] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0s)
    [41] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0s)
    [42] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0s)
    [43] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0s)
    [44] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8 (0.023s)
    [45] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES'  (0s)
    [46] => SELECT * FROM cpg_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8 (0s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.6 - OK
------------------
mySQL version: 4.1.22-standard
------------------
Coppermine version: 1.4.12(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:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.22
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
Compiled Version 1.2.1.2
Linked Version 1.2.1.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 | show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen | show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/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 | 30M | 30M
post_max_size | 30M | 30M
==========================
Page generated in 0.106 seconds - 47 queries in 0.023 seconds - Album set : ; Meta set: ;


SLORG

I don't understand this.

4.11.3.2 XP Web Publishing Wizard: Uploading pictures

The process of uploading pictures is a matter of following a simple dialog. It takes much longer to describe the process than do it.

Start Windows Explorer and locate the directory with your photographs and select one or more pictures for upload.

If the Windows Explorer left panel is not titled "Picture Tasks", click on the "X" in the top right corner of the panel to close it and to reveal the Picture Tasks panel.

Select "Publish xxxx to the Web" from "File and Folder Tasks" on the left panel. "xxxx" could say "this file, these files or this folder" depending on what is highlighted on the right panel.

On Web Publishing Wizard's Welcome screen click "Next".
You can change your selection if necessary on the Thumbnail window showing up. Click "Next" when you are ready.

From the service provider window highlight your Photo Gallery name and click "Next".

Enter your Coppermine username and password to login to your gallery and click "Next".

From the "Welcome username" window you have an option of uploading your picture(s) into one of the existing albums or starting a new album. Click "Next" when you are ready.

Click "Next" in the upload starting confirmation window.

Select the picture sizes for the uploaded pictures. If you are unsure about acceptable picture sizes, verify with your

Gallery administrator. Click "Next" when you are ready.

You are presented with the last window of the dialog and given a choice of opening the Gallery when the upload is complete.

Click "Finish" to end the XP Web Publishing Wizard and to enter the Gallery to check the new album contents.

Joachim Müller

Do exactly as suggested in the upload troubleshooting section of the docs that Nibbler already refered to:
Quote4.11.4 Upload troubleshooting

If you are experiencing issues with coppermine's upload process, temporarily change your coppermine settings as suggested below to get more detailed error messages:

    * Go to your coppermine page and log in as admin
    * Go to the config screen
    * Scroll to the bottom of the page
    * Expand the "Maintenance settings" section by clicking on it
    * Enable debug mode for everyone
    * Leave display of notices switched off
    * Save the new settings by clicking on "Save new configuration"
    * Go to the "groups" panel
    * Set the upload form configuration for all groups to "Single file uploads only" (set File upload boxes to "1", URI upload boxes to "0" and No. of boxes to "fixed")
    * Save your new settings

Then try to upload (using http uploads, even if you experienced troubles using another upload method) - you should get a more detailed error message that tells you what exactly goes wrong with your uploads. If the error message doesn't mean anything to you, search the support board for the error message you get.
When asking for support on the coppermine forum, post a link to your site and a test user account (the test user mustn't be in the admin group!) with upload privileges, with the above mentioned settings in place - this way, supporters can see the error messages as well. Do not post debug_output unless requested.

When people have issues with uploading and decide to post their question on the Coppermine support board, they usually are told to read this upload troubleshooting section. Many of them fail to do so properly, which results in frustration both for users as well as supporters. To make this absolutely clear: the above mentioned steps are absolutely mandatory, no matter what skill level you have, no matter what upload method you have troubles with. Failing to do exactly as suggested will result in your request for help being ignored. Yes, this applies to you. We mean it!