When I try to use the form upload, I get 0 uploads were successful. When I try to use the WPW I can usually post about 20 or so photos and then it stops accepting any more photos. Here's my debug:
USER:
------------------
Array
(
[ID] => 587c3f749adea9528b5ca1d178ed5851
[am] => 1
[liv] => Array
(
- => 44
[1] => 95
[2] => 148
[3] => 143
[4] => 156
)
[theme] => hardwired
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_group] => 1
[user_active] => YES
[user_name] => admin
[user_password] => ********
[user_lastvisit] => 2004-08-18 00:14:57
[user_regdate] => 2004-08-18 00:12:23
[user_group_list] =>
[user_email] =>
[user_website] =>
[user_location] =>
[user_interests] =>
[user_occupation] =>
[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] => 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
[groups] => Array
(
[1] => 1
)
)
==========================
Queries:
------------------
Array
(
- => SELECT extension, mime, content FROM cpg131_filetypes;
[1] => SELECT * FROM cpg131_users WHERE user_id='1'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '**************************'
[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 cpg131_usergroups WHERE group_id in (1)
[3] => SELECT group_name FROM cpg131_usergroups WHERE group_id= 1
[4] => DELETE FROM cpg131_banned WHERE expiry < 1092883016
[5] => SELECT * FROM cpg131_banned WHERE ip_addr='192.168.1.21' OR ip_addr='192.168.1.21' OR user_id=1
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[URI_array] => Array
(
- =>
[1] =>
[2] =>
)
[control] => phase_1
)
==========================
VERSION INFO :
------------------
PHP version: 5.0.0 - OK
------------------
mySQL version: 4.0.20a-debug
------------------
Coppermine version: 1.3.1
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.23 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.1.5
GIF Read 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.57
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
Linked Version 1.1.4
==========================
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 | .;C:\php5\pear | .;C:\php5\pear
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | info@magicboxsolutions.com | info@magicboxsolutions.com
sendmail_path | no value | no value
SMTP | magicserver | magicserver
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 45 | 45
max_input_time | 45 | 45
upload_max_filesize | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.081 seconds - 6 queries in 0.004 seconds - Album set :
I did this again with an older 3.1mp camera file and it worked fine.. however when I try to upload my unprocessed 8mp files from my sony camera they never get uploaded. I guess this is a size limitation with the gallery in general? Anyone? It doesnt explain how web publishing wizard caps off at 30 or so photos either.
these are not size restrictions of coppermine, but size restrictions set up on your webserver. Read the sticky threads (the ones with a pin icon) on this board to find out more. 8MB per pic is definitely a file size you shouldn't upload, even if it did work it would be a waste of resources.
GauGau
Okay, I read the sticky threads and I must be blind since I don't see anything related to restrictions on the web server. I own the web server, there are no quotas or file restrictions. It just doesnt make any sense.
In trying to track down whats going on I also played with batch uploading, it seems to work very well but I still hit a wall after X amount of photos is posted.. I resized a folder of images to 1024x768 and was able to post 63 photos. I wish I could figure out where this strange limitation is coming from! :)
I FOUND IT!
Under Server 2003, right click on my computer, go to manage, go to disk management, go to the properties and then go to the quota tab, IUSR_SERVERNAME had a quota of 1GB and I had reached it!
Awesome!!!!!!
you owe me a beer - it has been server setup ;)
Thanks for resolving this issue - I hope others may find your solution helpfull as well.
GauGau
yes a beer is in order, what kind do you like? heh!
do I get my karma back? lol what is that anyways?
Karma: see http://forum.coppermine-gallery.net/index.php?topic=8749.msg39256#msg39256
Beer: doesn't matter, as long as it's very cold.
GauGau
I have the exact same problem, it says 0 files uploaded with me now, but after reading this i and the stickys above i still dont understand how to fix it, i have 2500mb webspace on my webhost, my coppermine gallery has 96 pictures in it just now, it must have reached a limit somewhere but i cant figure out how to fix it.
It has been uploading ok after i placed the edit in the albums folder, but today it stopped again, please help.
I will send you all the Cold beers i can find ;D
Coppermine can handle more than 100 pictures... make sure that you haven't
1) filled your hosting space (highly unlikely) with other scripts and versions of the images. (easy way to resolve is use admin tools to remove your original uploaded files and condense the albums.)
2) that the images you are uploading now are not too large. There should be some kind of error that CM prints as to why the upload failed.
do you get any error messages?
Hi skybax
My webhost must be doing something to coppermine, the uploads are now working again, it wasnt uploading for 12 hours, now it is uploading as before, i dont understand this at all. I should be able to upload all the time without any problems.
I contacted them and they said there is no size restriction on the web server.
When it wasnt uploading it just said 0 files uploaded, and the option to click continue, i didnt see any error messages.
The hosting space is 2500 mb, and its no where near full lol
I have the upload image max size set to 200k each which is more than enough after i convert them to jpg with infranview, most are around 60k, and this also means that other people dont upload huge files to the gallery.
I use the gallery for people to upload pictures and screen shots, and have just created another coppermine gallery on the same host for someone else to have there own gallery, (yup seperate databse and folder) both were not accepting any uploads yesterday, giving the same message, 0 uploads were successful, which i found out later.
So it has to be my webhost doing something very strange, in the hands of the gods i guess with them, but i havent a clue how they can stop the upload from working sometimes.
Thanks again skybax
beer for GauGau - server problems...