coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: apondonet on May 28, 2005, 06:42:50 AM

Title: Coppermine Has Stopped Uploading Files.
Post by: apondonet on May 28, 2005, 06:42:50 AM
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
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: apondonet on May 28, 2005, 07:14:38 AM
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?
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Joachim Müller on May 30, 2005, 07:50:52 AM
non admin test user account please
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: himuro on May 30, 2005, 06:02:36 PM
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
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: himuro on May 30, 2005, 07:21:11 PM
Quote from: GauGau on May 30, 2005, 07:50:52 AM
non admin test user account please

what does that mean?
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Tranz on May 30, 2005, 08:25:51 PM
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.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: himuro on May 31, 2005, 05:51:05 AM
mine is username test password is 1234


http://www.fatalworld.com/pictures/index.php
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Joachim Müller on May 31, 2005, 06:41:26 AM
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.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: himuro on May 31, 2005, 03:29:57 PM
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?
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Tranz on May 31, 2005, 04:42:54 PM
It is in Config, but not in config.inc.php. You can see the link when in admin mode.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: himuro on June 01, 2005, 04:26:25 AM
I must be dumb, the config file you are talking about is the config file on my server right?
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Nibbler on June 01, 2005, 03:04:38 PM
It's not a file, it's part of the normal interface called 'config'.

http://coppermine.sourceforge.net/manual.php#config
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: himuro on June 03, 2005, 02:16:40 PM
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 :
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Joachim Müller on June 05, 2005, 11:59:23 PM
we need the error message, not the debug output!
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: kegobeer on June 06, 2005, 12:15:44 AM
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).
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Joachim Müller on June 06, 2005, 12:18:05 AM
set upload method to "Single file uploads" on the groups page for all relevant groups to get a more detailed error message.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: kegobeer on June 06, 2005, 12:23:58 AM
He did.  I visited the site, attempted a single file upload, and what I posted is all that happens.  No error messages at all.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Joachim Müller on June 06, 2005, 06:56:54 AM
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.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: kegobeer on June 06, 2005, 05:03:24 PM
Ahhh, you are correct!  I am indeed mistaken.  @himuro: Make this happen so we can see any actual error messages.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: hony on June 13, 2005, 12:20:34 PM
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":
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: kegobeer on June 13, 2005, 12:51:42 PM
I uploaded a test image without any problems.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Joachim Müller on June 13, 2005, 08:51:31 PM
uploads work as expected on your gallery - see http://vbeshop.web.aplus.net/vbritney/photos/displayimage.php?pos=-139
Test with a known-good, small file (both in dimensions and filesize). You probably exceeded your max allowed size.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: hony on June 13, 2005, 09:12:43 PM
Yes, I just tried to upload a couple of small pix and the upload was successful.
It just did not work with the other one, which is 1.50mb and size is 2704x2416.

I change my config and it's working now. Thank you.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: hony on June 13, 2005, 09:15:19 PM
No, actually, it got me to the preview page and then a blank screen again.

This is the link to the pix I was trying to upload: http://vbeshop.web.aplus.net/vbritney/UPN%20Promo%2002.jpg

What would be the config for "Max size for uploaded files (KB)" and "Max width or height for uploaded pictures/videos (pixels)" to work in this case? Sorry about the doulbe message.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Joachim Müller on June 13, 2005, 09:16:49 PM
http://forum.coppermine-gallery.net/index.php?topic=5841.0
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: hony on June 13, 2005, 09:29:14 PM
The problem is I did try a huge value for those 2 max kb, and max size but it doesn't work, and there's no error message.
I read the thread you above but couldn't find the answer. :-\\
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Joachim Müller on June 14, 2005, 03:42:45 AM
you can't just make up max values in coppermine's config if your server is not configured to accomplish this - that's what the sticky thread that I posted says: those settings apply to your webserver's configuration file (named php.ini), you usually can't change it when webhosted. Setting up large max values in coppermine's config is just whishfull thinking.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: urban lover on July 23, 2005, 06:38:54 AM
Today I tried to upload more files.
I changed the www.karl-images.com/coppermine/ to www.karl-images.com. I switched the url's on my control panel.
I then went and uploaded folders with ftp.
When I click on batch upload files I get a thumbnail db. It also has a red x with it.
I set up a tester
Username: test
password: test
USER:
------------------
Array
(
    [ID] => 1800aa2a5427b1ccad5d2969bc7a0c80
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_group] => 1
    [user_active] => YES
    [user_name] => admin
    [user_password] => ********
    [user_lastvisit] => 2005-07-22 22:49:05
    [user_regdate] => 2005-07-18 15:22:07
    [user_group_list] =>
    [user_email] =>
    [user_website] =>
    [user_location] => Ohio
    [user_interests] => Karl Urban, LOTR guys, and lots of other things
    [user_occupation] => Stay at home mother to 2 "brats"
    [user_actkey] =>
    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 1
    [ufc_min] => 1
    [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] => 1
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
    [groups] => Array
        (
            [1] => 1
        )

)

==========================
Queries:
------------------
Array
(
   
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: kegobeer on July 23, 2005, 02:25:04 PM
This is the error message I get:

Warning: mkdir(albums/userpics/10005): Permission denied in /hsphere/local/home/urbanlov/karl-images.com/db_input.php on line 228

When you moved your files, did you make sure your /albums directory (and all subdirectories in it) permissions were still 777?
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: urban lover on July 23, 2005, 06:09:45 PM
I went in and changed them 777 but I am still getting the tumbnail as an x with no listing of the pictures.
Title: Coppermine stopped uploading
Post by: urban lover on July 23, 2005, 06:22:30 PM
I changed all the codes to 777. when I went back and redid it it still doesn't work.
I still get the little thumbnail db. with an x. Is there a way for me to erase the uploads and start them over?
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: kegobeer on July 23, 2005, 06:36:06 PM
I still get the same error - permission denied.  PM me your FTP login information (address, username, password) and I will look at your directory structure.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: urban lover on July 24, 2005, 08:44:50 PM
****
Username is: ****
Password is: ****

[edit]Never post FTP login publically - I asked for a PM.  You should change your FTP login information immediately and then send me a Private Message with the new info.[/edit]
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: kegobeer on July 24, 2005, 09:34:58 PM
Your permissions for the albums directory were not set correctly.  I set them to 777 for you.  I successfully uploaded a test image.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: urban lover on July 25, 2005, 04:54:16 AM
Sorry about that I got distracted by my kids. I went and changed my password and I will try it again.
Thank you for your help.
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: robzee on July 29, 2005, 03:12:45 AM
I'm having same problem, can someone help please?!

gallery is at: http://www.ultimatefya.co.uk/jessica

Thanks! :)
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: kegobeer on July 29, 2005, 04:08:42 AM
Have you read this thread and tried all of the recommendations?  Have you searched the forums yet?
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: robzee on July 29, 2005, 09:31:09 AM
I get this error message:

The file 'albums/userpics/10001/bn01.jpg' can't be inserted in the album

Error executing ImageMagick - Return value: 127


Cmd line :
/usr/bin/convert -quality 80 -antialias -geometry 73x100 'albums/userpics/10001/bn01.jpg' 'albums/userpics/10001/thumb_bn01.jpg'



The convert program said:
sh: line 1: /usr/bin/convert: No such file or directory
Title: Re: Coppermine Has Stopped Uploading Files.
Post by: Joachim Müller on July 29, 2005, 09:44:49 AM
Then you have specified the wrong path to ImageMagick, or you haven't set sufficient permissions on the ImageMagick executables (only applies when self-hosted). Try using GD instead. The issues you have are not related to the ones discussed in this thread, so don't hijack this thread. A search would have told you that this error message is quite common and has been answered before many times already.
My guess is that uploads never have worked for you before, you probably set up coppermine just now - replying to this thread is not a good idea, as it deals with issues users have who had the upload work before, which is different to your issues.