Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Some problems with the upload  (Read 4394 times)

0 Members and 1 Guest are viewing this topic.

Saku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Some problems with the upload
« on: August 29, 2007, 01:31:11 pm »

I've uploaded 315 photos, and now, I'm trying to upload something more, and I can't!!

When I try with my Ftp's software, the gallery says me 'can't read that file'. And when I try with the gallery, I can't see my new photos. I've tried with a lot of different photos, but nothing happens =(

Thanks in advance
Logged

Saku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Some problems with the upload
« Reply #1 on: August 29, 2007, 04:09:14 pm »

? =(
Logged

Saku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Some problems with the upload
« Reply #2 on: August 29, 2007, 04:19:05 pm »

My debug is

Code: [Select]
USER:
------------------
Array
(
    [ID] => fc8c51476b4b9a143d874ce8f145172d
    [am] => 1
    [lang] => spanish
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Saku
    [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 cpg1411_filetypes; (0.001s)
    [1] => select * from cpg1411_plugins order by priority asc; (0.001s)
    [2] => delete from `capitaledelumiere_es_db`.cpg1411_sessions where time<1188393479 and remember=0; (0.001s)
    [3] => delete from `capitaledelumiere_es_db`.cpg1411_sessions where time<1187187479; (0s)
    [4] => select user_id from `capitaledelumiere_es_db`.cpg1411_sessions where session_id=md5("ba217bceb933850795475629494b13659b5390be900a4c7f3afb7b194353fd98"); (0.002s)
    [5] => select user_id as id, user_password as password from `capitaledelumiere_es_db`.cpg1411_users where user_id=1 (0.001s)
    [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 `capitaledelumiere_es_db`.cpg1411_users AS u INNER JOIN `capitaledelumiere_es_db`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
    [7] => SELECT user_group_list FROM `capitaledelumiere_es_db`.cpg1411_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 cpg1411_usergroups WHERE group_id in (1) (0.001s)
    [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0.001s)
    [10] => update `capitaledelumiere_es_db`.cpg1411_sessions set time='1188397079' where session_id=md5('ba217bceb933850795475629494b13659b5390be900a4c7f3afb7b194353fd98'); (0s)
    [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0.002s)
    [12] => DELETE FROM cpg1411_banned WHERE expiry < '2007-08-29 14:18:00' (0.001s)
    [13] => SELECT * FROM cpg1411_banned WHERE (ip_addr='81.172.75.234' OR ip_addr='81.172.75.234' OR user_id=1) AND brute_force=0 (0.001s)
    [14] => SELECT cid, name, description, thumb FROM cpg1411_categories WHERE parent = ''  ORDER BY pos (0.001s)
    [15] => SELECT aid FROM cpg1411_albums as a WHERE category>=10000 (0s)
    [16] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
    [17] => SELECT cid, name, description, thumb FROM cpg1411_categories WHERE parent = '1'  ORDER BY pos (0.001s)
    [18] => SELECT aid FROM cpg1411_albums WHERE category = 2 (0.001s)
    [19] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
    [20] => SELECT count(*) FROM cpg1411_albums as a WHERE category = '2' (0s)
    [21] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_albums as a LEFT JOIN cpg1411_pictures as p ON a.thumb=p.pid WHERE category=2 ORDER BY a.pos LIMIT 0,7 (0.002s)
    [22] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg1411_albums AS a  LEFT JOIN cpg1411_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (4, 5, 7, 9, 11, 13, 14)GROUP BY a.aid (0.001s)
    [23] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='48' (0.001s)
    [24] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='338' (0.001s)
    [25] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='359' (0.001s)
    [26] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='356' (0.002s)
    [27] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='351' (0.001s)
    [28] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='285' (0.001s)
    [29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='276' (0.002s)
    [30] => SELECT cid, name, description, thumb FROM cpg1411_categories WHERE parent = '2'  ORDER BY pos (0.001s)
    [31] => SELECT aid FROM cpg1411_albums WHERE category = 3 (0.001s)
    [32] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
    [33] => SELECT count(*) FROM cpg1411_albums as a WHERE category = '3' (0s)
    [34] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_albums as a LEFT JOIN cpg1411_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,6 (0.001s)
    [35] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg1411_albums AS a  LEFT JOIN cpg1411_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (3, 6, 8, 10, 12, 17)GROUP BY a.aid (0s)
    [36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='41' (0.001s)
    [37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='331' (0.001s)
    [38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='354' (0.001s)
    [39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='360' (0.001s)
    [40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='355' (0.001s)
    [41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='279' (0.001s)
    [42] => SELECT cid, name, description, thumb FROM cpg1411_categories WHERE parent = '3'  ORDER BY pos (0.001s)
    [43] => SELECT aid FROM cpg1411_albums WHERE category = 4 (0.001s)
    [44] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0s)
    [45] => SELECT count(*) FROM cpg1411_albums as a WHERE category = '4' (0s)
    [46] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_albums as a LEFT JOIN cpg1411_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,2 (0.001s)
    [47] => SELECT a.aid, count( p.pid )  AS pic_count, max( p.pid )  AS last_pid, max( p.ctime )  AS last_upload, a.keyword FROM cpg1411_albums AS a  LEFT JOIN cpg1411_pictures AS p ON a.aid = p.aid AND p.approved =  'YES' WHERE a.aid IN (15, 16)GROUP BY a.aid (0.001s)
    [48] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='312' (0.001s)
    [49] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='358' (0.002s)
    [50] => SELECT cid, name, description, thumb FROM cpg1411_categories WHERE parent = '4'  ORDER BY pos (0.001s)
    [51] => SELECT aid FROM cpg1411_albums as a WHERE category = '0' (0s)
    [52] => SELECT count(*) FROM cpg1411_albums as a WHERE 1 (0s)
    [53] => SELECT count(*) FROM cpg1411_pictures as p LEFT JOIN cpg1411_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0s)
    [54] => SELECT count(*) FROM cpg1411_comments as c LEFT JOIN cpg1411_pictures as p ON c.pid=p.pid LEFT JOIN cpg1411_albums as a ON a.aid=p.aid WHERE 1 (0s)
    [55] => SELECT count(*) FROM cpg1411_categories WHERE 1 (0s)
    [56] => SELECT sum(hits) FROM cpg1411_pictures as p LEFT JOIN cpg1411_albums as a ON p.aid=a.aid WHERE 1 (0s)
    [57] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0s)
    [58] => SELECT count(*) FROM cpg1411_albums as a WHERE category = '0' (0.017s)
    [59] => SELECT COUNT(*) from cpg1411_pictures WHERE approved = 'YES'  (0s)
    [60] => SELECT * FROM cpg1411_pictures WHERE approved = 'YES'  ORDER BY RAND() LIMIT 8 (0.014s)
    [61] => SELECT COUNT(*) from cpg1411_pictures WHERE approved = 'YES'  (0.001s)
    [62] => SELECT * FROM cpg1411_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,8 (0.002s)
)

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

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

==========================
VERSION INFO :
------------------
PHP version: 4.4.6 - OK
------------------
mySQL version: 4.0.18-standard
------------------
Coppermine version: 1.4.12(stable)
==========================
Module: GD
------------------
GD Version: 2.0 or higher
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:
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 
==========================
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 | On | On
safe_mode_exec_dir | /data/apache/php/safe_exec | /data/apache/php/safe_exec
safe_mode_gid | Off | Off
safe_mode_include_dir | /data/apache/php/mmp_lib | /data/apache/php/mmp_lib
safe_mode_exec_dir | /data/apache/php/safe_exec | /data/apache/php/safe_exec
sql.safe_mode | Off | Off
disable_functions | highlight_file,diskfreespace, exec, passthru, system, popen, fsockopen, pfsockopen, show_source, php_uname, ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmygid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail, stream_bucket_append, stream_bucket_make_writeable, stream_bucket_new, stream_bucket_prepend, stream_context_create, stream_context_get_default, stream_context_get_options, stream_context_set_option, stream_context_set_params, stream_copy_to_stream, stream_encoding, stream_filter_append, stream_filter_prepend, stream_filter_register, stream_filter_remove, stream_get_contents, stream_get_filters, stream_get_line, stream_get_meta_data, stream_get_transports, stream_get_wrappers, stream_register_wrapper, stream_resolve_include_path, stream_select, stream_set_blocking, stream_set_timeout, stream_set_write_buffer, stream_socket_accept, stream_socket_client, stream_socket_enable_crypto, stream_socket_get_name, stream_socket_pair, stream_socket_recvfrom, stream_socket_sendto, stream_socket_server, stream_socket_shutdown, stream_wrapper_register, stream_wrapper_restore, stream_wrapper_unregister | highlight_file,diskfreespace, exec, passthru, system, popen, fsockopen, pfsockopen, show_source, php_uname, ini_get, ini_alter, ini_restore, ini_set, getrusage, mysql_list_dbs, get_current_user, set_time_limit, getmyuid, getmygid, getmypid, dl, leak, listen, chown, chmod, chgrp, realpath, tmpfile, link, mb_send_mail, stream_bucket_append, stream_bucket_make_writeable, stream_bucket_new, stream_bucket_prepend, stream_context_create, stream_context_get_default, stream_context_get_options, stream_context_set_option, stream_context_set_params, stream_copy_to_stream, stream_encoding, stream_filter_append, stream_filter_prepend, stream_filter_register, stream_filter_remove, stream_get_contents, stream_get_filters, stream_get_line, stream_get_meta_data, stream_get_transports, stream_get_wrappers, stream_register_wrapper, stream_resolve_include_path, stream_select, stream_set_blocking, stream_set_timeout, stream_set_write_buffer, stream_socket_accept, stream_socket_client, stream_socket_enable_crypto, stream_socket_get_name, stream_socket_pair, stream_socket_recvfrom, stream_socket_sendto, stream_socket_server, stream_socket_shutdown, stream_wrapper_register, stream_wrapper_restore, stream_wrapper_unregister
file_uploads | On | On
include_path | .:/data/apache/php/mmp_lib | .:/data/apache/php/mmp_lib
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
sendmail_path | /usr/sbin/sendmail -t | /usr/sbin/sendmail -t
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 10 | 10
max_input_time | -1 | -1
upload_max_filesize | 200000 | 200000
post_max_size | 512000 | 512000
==========================
Page generated in 1.219 seconds - 63 queries in 0.079 seconds - Album set : ; Meta set: ;

Thanks
Logged

Saku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Some problems with the upload
« Reply #3 on: August 29, 2007, 07:13:44 pm »

I'm sorry =( English is difficult to me

User: test
Pass: user
Logged

Nibbler

  • Guest
Re: Some problems with the upload
« Reply #4 on: August 29, 2007, 07:28:18 pm »

You didn't tell us where your site is, so a test account doesn't really help.

Review the upload troubleshooting guide in the manual.
Logged

Saku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Some problems with the upload
« Reply #5 on: August 29, 2007, 09:49:00 pm »

Sorry, I had to got and I forgot it

http://usuarios.lycos.es/capitaledelumiere/galerie/

User: test
Pass: user
Logged

Nibbler

  • Guest
Re: Some problems with the upload
« Reply #6 on: August 29, 2007, 10:29:07 pm »

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
Logged

Saku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Some problems with the upload
« Reply #7 on: August 29, 2007, 10:34:21 pm »

Thanks. I'll try in a few minutes =)
Logged

Saku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Some problems with the upload
« Reply #8 on: August 29, 2007, 11:28:11 pm »

I have the same problem =( I've done all... And nothing happens.

Thanks
Logged

Saku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Some problems with the upload
« Reply #9 on: August 29, 2007, 11:30:52 pm »

My gallery says me when I try to upload a photo this:

Code: [Select]
Fichero: /data/members/free/tripod/es/c/a/p/capitaledelumiere/htdocs/galerie/db_input.php - Línea: 370
And via FTP, I can't.

Thanks
Logged

Nibbler

  • Guest
Re: Some problems with the upload
« Reply #10 on: August 29, 2007, 11:39:11 pm »

Do you have enough disk space?
Logged

Saku

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 25
Re: Some problems with the upload
« Reply #11 on: August 29, 2007, 11:41:47 pm »

Yes. Yesterday, I uploaded a lot of photos. And this morning, I couldn't do anything... =S

Thanks
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Some problems with the upload
« Reply #12 on: September 04, 2007, 10:05:12 am »

That's not the anwer to Nibbler's question. If you're short on disk space, it would explain why you have been able to upload yesterday and are unable to upload today. Check your webhost's control panel (if you have one) or ask your webhost for support.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.