Coppermine Has Stopped Uploading Files. Coppermine Has Stopped Uploading Files.
 

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

Coppermine Has Stopped Uploading Files.

Started by apondonet, May 28, 2005, 06:42:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

apondonet

My coppermine installation has been working OK until today.

Everytime I try to upload a file here is the error that I get:

The previous file could not be placed.
You have successfully placed all the files.


I have looked around your forum and tried several things but cannot find a solution for the error message above:

I have consulted with my web host and I believe I have specified the Image Magick settings correctly. It's also not running in safe mode.

All required directories are CHMODED to 777

Location: http://www.clubafrika.com/photos/cpg133/

I don't know what could be wrong. Please help.

The debug info may be found here: http://www.clubafrika.com/test/index.txt
E-Biz Opps & Tools: http://tinyurl.com/44mfr
FREE IT Certification Test Questions: http://www.thecertificationhub.com/

apondonet

I switched to GD 2.x in the config panel.

Now I am able to upload some files but I do get errors with some - Error Message: "This is not a valid GD Extension"

These are normal jpeg files....what could be causing the error messages?
E-Biz Opps & Tools: http://tinyurl.com/44mfr
FREE IT Certification Test Questions: http://www.thecertificationhub.com/

Joachim Müller


himuro

Im having same problem, I was uploading pics tthen all of a sudden I got

The previous file could not be placed.
You have successfully placed all the files.

The place where you see the pic/where you place picture in album has no pic and its a lil box witha red like x in middle. This happened to me 2 times now. I had to re install and start over. Is there a solution to this? I dont want to reinstall after I placed all those pics.

http://www.fatalworld.com/pictures/index.php

himuro


Tranz

Please create and post a test account that supporters can use to troubleshoot. Do not provide an admin account because it is unneccessary, and this is a public board where you should not post sensitive info.

himuro


Joachim Müller

please enable debug_mode for everyone in coppermine config (with notices_display turned off) and "method for uploads" set to "Single file uploads only" for all relevant groups in the groups panel. Post a reply if you have done so.

himuro

ok i set everything to single upload but I dont understand the debug thing you mentioned. Something I have to edit in my config file?

Tranz

It is in Config, but not in config.inc.php. You can see the link when in admin mode.

himuro

I must be dumb, the config file you are talking about is the config file on my server right?

Nibbler


himuro

OK I did it and here is the debug code. Now what do I do?

USER:
------------------
Array
(
    [ID] => 9a5da0eea73bf6b25aff9ca268ef2bf9
    [am] => 1
    [liv] => Array
        (
            [0] => 89
            [1] => 92
            [2] => 4
            [3] => 123
            [4] => 133
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => Himuro
    [user_password] => ********
    [user_lastvisit] => 2005-05-31 06:26:24
    [user_regdate] => 2005-05-29 15:18:04
    [user_group_list] =>
    [user_email] =>
    [user_website] => http://www.fatalworld.com
    [user_location] => Colorado
    [user_interests] => Games
    [user_occupation] => Lord of Fatal Frame
    [user_actkey] =>
    [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] => 1
    [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
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content FROM cpg133_filetypes;
    [1] => SELECT * FROM cpg133_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = 'a7373f7b69133af9919485e587eabc24'
    [2] => 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 cpg133_usergroups WHERE group_id in (1)
    [3] => SELECT group_name FROM  cpg133_usergroups WHERE group_id= 1
    [4] => DELETE FROM cpg133_banned WHERE expiry < '2005-06-03 05:14:23'
    [5] => SELECT * FROM cpg133_banned WHERE ip_addr='68.64.134.239' OR ip_addr='68.64.134.239' OR user_id=1
    [6] => SELECT aid, title FROM cpg133_albums WHERE category < 10000 ORDER BY title
    [7] => SELECT aid, title FROM cpg133_albums WHERE category='10001' ORDER BY title
    [8] => SELECT encoded_string FROM cpg133_temp_data WHERE unique_ID = '7c197155'
    [9] => UPDATE cpg133_temp_data SET encoded_string = 'YToxOntpOjA7YTozOntzOjExOiJhY3R1YWxfbmFtZSI7czoxMDoic2NyaXB0LmpwZyI7czoxNDoidGVtcG9yYXJ5X25hbWUiO3M6MjM6Im1IVFRQX3RlbXBfYjNiYTZjNjkuanBnIjtzOjEyOiJwcmV2aWV3X3BhdGgiO3M6MzQ6Ii4vYWxidW1zL2VkaXQvcHJldmlld19iNTJiNzFiNC5qcGciO319' WHERE unique_ID = '7c197155'
    [10] => SELECT category FROM cpg133_albums WHERE aid='3'
    [11] => SELECT name FROM cpg133_categories WHERE cid='3'
    [12] => SELECT category FROM cpg133_albums WHERE aid='7'
    [13] => SELECT name FROM cpg133_categories WHERE cid='4'
    [14] => SELECT category FROM cpg133_albums WHERE aid='11'
    [15] => SELECT name FROM cpg133_categories WHERE cid='5'
    [16] => SELECT category FROM cpg133_albums WHERE aid='4'
    [17] => SELECT name FROM cpg133_categories WHERE cid='3'
    [18] => SELECT category FROM cpg133_albums WHERE aid='8'
    [19] => SELECT name FROM cpg133_categories WHERE cid='4'
    [20] => SELECT category FROM cpg133_albums WHERE aid='12'
    [21] => SELECT name FROM cpg133_categories WHERE cid='5'
    [22] => SELECT category FROM cpg133_albums WHERE aid='15'
    [23] => SELECT name FROM cpg133_categories WHERE cid='2'
    [24] => SELECT category FROM cpg133_albums WHERE aid='2'
    [25] => SELECT name FROM cpg133_categories WHERE cid='3'
    [26] => SELECT category FROM cpg133_albums WHERE aid='6'
    [27] => SELECT name FROM cpg133_categories WHERE cid='4'
    [28] => SELECT category FROM cpg133_albums WHERE aid='10'
    [29] => SELECT name FROM cpg133_categories WHERE cid='5'
    [30] => SELECT category FROM cpg133_albums WHERE aid='5'
    [31] => SELECT name FROM cpg133_categories WHERE cid='3'
    [32] => SELECT category FROM cpg133_albums WHERE aid='9'
    [33] => SELECT name FROM cpg133_categories WHERE cid='4'
    [34] => SELECT category FROM cpg133_albums WHERE aid='13'
    [35] => SELECT name FROM cpg133_categories WHERE cid='5'
)

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

==========================
POST :
------------------
Array
(
    [unique_ID] => 7c197155
    [control] => phase_2
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 4.0.18
------------------
Coppermine version: 1.3.3
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.28 compatible)
FreeType Support enabled
FreeType Linkage with freetype
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1
Linked Version 1.2.1
==========================
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 | no value | no value
file_uploads | On | On
include_path | .:/usr/local/lib/php | .:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
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 | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.175 seconds - 36 queries in 0.01 seconds - Album set :

Joachim Müller

we need the error message, not the debug output!

kegobeer

There is no error message.  Initial confirmation that the upload was successful (1 uploads were successful).  Next screen, no thumb image of the temp file (404 error when attempting to view).
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

set upload method to "Single file uploads" on the groups page for all relevant groups to get a more detailed error message.

kegobeer

He did.  I visited the site, attempted a single file upload, and what I posted is all that happens.  No error messages at all.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

when I log in on his page with the test user account provided above, all I can see is the multiple files upload interface created by hyperion, with the number of files set to "1". This is not the same as "Single file uploads only". When using "Single file uploads only", you don't get the message "1 uploads were successful" at all. I think you overlooked something there! "Single file uploads" is a one-step technique, "Mutliple file uploads" with only one Upload field uses a two-step technique.

kegobeer

Ahhh, you are correct!  I am indeed mistaken.  @himuro: Make this happen so we can see any actual error messages.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

hony

hi, i'm having the same problem.
Please check it out. Thanks in advance.
http://vbeshop.web.aplus.net/vbritney/photos/

user: Test
pass: 12345

I switched to Single file uploads only. There's still no error message, but only a blank screen at this url (http://vbeshop.web.aplus.net/vbritney/photos/db_input.php) with the status of the page is "Done":