Batch add upload error Batch add upload error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Batch add upload error

Started by davelu, December 29, 2005, 07:08:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

davelu

Hey
    I just run into this problem but i did search for solultions and couldn't find any so i decied to make a new post.
It works perfectly fine if i upload an image that its res is smaller than 1000 but when i tried batch uploading bunch of high res images 1200x2036 size 1.27mb for thumnail preview it shows a x and when i tried insterting these images the result was an red x as wel. When i clicked on it says this "
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, dave.lu.3@gmail.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log."
I tried reconfiging Files and thumnail settings for max size and max width and .... but it still doesn't work... I'm using GD 2.0
Help would be appreciated. I'm using canaca hosting server. there site is http://www.canaca.com/    sliver
Debug mode code:
USER:
------------------
Array
(
    [ID] => e2cccc7e7b8f6d256089d30e11305abb
    [am] => 1
    [lang] => english
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Dave
    [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 cpg140_filetypes; (0s)
    [1] => select * from cpg140_plugins order by priority asc; (0s)
    [2] => delete from `emmawatson_ca_-_gallery`.cpg140_sessions where time<1135876232 and remember=0; (0.001s)
    [3] => delete from `emmawatson_ca_-_gallery`.cpg140_sessions where time<1134670232; (0s)
    [4] => select user_id from `emmawatson_ca_-_gallery`.cpg140_sessions where session_id=md5("f72b69a126fd22c56093e36e17527ce9e0381c541d2f9b3293533bad26cc34a2"); (0s)
    [5] => select user_id as id, user_password as password from `emmawatson_ca_-_gallery`.cpg140_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 `emmawatson_ca_-_gallery`.cpg140_users AS u INNER JOIN `emmawatson_ca_-_gallery`.cpg140_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `emmawatson_ca_-_gallery`.cpg140_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 cpg140_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg140_usergroups WHERE group_id= 1 (0s)
    [10] => update `emmawatson_ca_-_gallery`.cpg140_sessions set time='1135879832' where session_id=md5('f72b69a126fd22c56093e36e17527ce9e0381c541d2f9b3293533bad26cc34a2'); (0s)
    [11] => SELECT user_favpics FROM cpg140_favpics WHERE user_id = 1 (0.001s)
    [12] => DELETE FROM cpg140_banned WHERE expiry < '2005-12-29 18:10:32' (0s)
    [13] => SELECT * FROM cpg140_banned WHERE (ip_addr='69.197.161.203' OR ip_addr='69.197.161.203' OR user_id=1) AND brute_force=0 (0s)
    [14] => SELECT aid, title FROM cpg140_albums WHERE 1 (0s)
    [15] => SELECT COUNT(*) FROM cpg140_pictures WHERE approved = 'NO' (0s)
)

==========================
GET :
------------------
Array
(
    [insert] => 1
)

==========================
POST :
------------------
Array
(
    [d0000] => 10
    [pics] => Array
        (
            [0] => i0000
            [1] => i0001
            [2] => i0002
            [3] => i0003
            [4] => i0004
            [5] => i0005
            [6] => i0006
            [7] => i0007
            [8] => i0008
            [9] => i0009
            [10] => i0010
            [11] => i0011
            [12] => i0012
            [13] => i0013
            [14] => i0014
            [15] => i0015
            [16] => i0016
            [17] => i0017
            [18] => i0018
            [19] => i0019
            [20] => i0020
            [21] => i0021
            [22] => i0022
            [23] => i0023
            [24] => i0024
            [25] => i0025
            [26] => i0026
            [27] => i0027
            [28] => i0028
            [29] => i0029
            [30] => i0030
            [31] => i0031
            [32] => i0032
            [33] => i0033
            [34] => i0034
            [35] => i0035
            [36] => i0036
            [37] => i0037
            [38] => i0038
            [39] => i0039
            [40] => i0040
            [41] => i0041
            [42] => i0042
            [43] => i0043
            [44] => i0044
            [45] => i0045
            [46] => i0046
            [47] => i0047
            [48] => i0048
            [49] => i0049
            [50] => i0050
        )

    [album_lb_id_i0000] => d0000
    [picfile_i0000] => YWxidW1zL1Njb29ieV9Eb29fMi8wMDFfY29weS5qcGc=
    [album_lb_id_i0001] => d0000
    [picfile_i0001] => YWxidW1zL1Njb29ieV9Eb29fMi8wMDJfY29weS5qcGc=
    [album_lb_id_i0002] => d0000
    [picfile_i0002] => YWxidW1zL1Njb29ieV9Eb29fMi8wMDNfY29weS5qcGc=
    [album_lb_id_i0003] => d0000
    [picfile_i0003] => YWxidW1zL1Njb29ieV9Eb29fMi8wMDRfY29weS5qcGc=
    [album_lb_id_i0004] => d0000
    [picfile_i0004] => YWxidW1zL1Njb29ieV9Eb29fMi8wMDVfY29weS5qcGc=
    [album_lb_id_i0005] => d0000
    [picfile_i0005] => YWxidW1zL1Njb29ieV9Eb29fMi8wMDZfY29weS5qcGc=
    [album_lb_id_i0006] => d0000
    [picfile_i0006] => YWxidW1zL1Njb29ieV9Eb29fMi8wMDdfY29weS5qcGc=
    [album_lb_id_i0007] => d0000
    [picfile_i0007] => YWxidW1zL1Njb29ieV9Eb29fMi8wMDhfY29weS5qcGc=
    [album_lb_id_i0008] => d0000
    [picfile_i0008] => YWxidW1zL1Njb29ieV9Eb29fMi8wMDlfY29weS5qcGc=
    [album_lb_id_i0009] => d0000
    [picfile_i0009] => YWxidW1zL1Njb29ieV9Eb29fMi8wMTBfY29weS5qcGc=
    [album_lb_id_i0010] => d0000
    [picfile_i0010] => YWxidW1zL1Njb29ieV9Eb29fMi8wMTFfY29weS5qcGc=
    [album_lb_id_i0011] => d0000
    [picfile_i0011] => YWxidW1zL1Njb29ieV9Eb29fMi8wMTJfY29weS5qcGc=
    [album_lb_id_i0012] => d0000
    [picfile_i0012] => YWxidW1zL1Njb29ieV9Eb29fMi8wMTNfY29weS5qcGc=
    [album_lb_id_i0013] => d0000
    [picfile_i0013] => YWxidW1zL1Njb29ieV9Eb29fMi8wMTRfY29weS5qcGc=
    [album_lb_id_i0014] => d0000
    [picfile_i0014] => YWxidW1zL1Njb29ieV9Eb29fMi8wMTVfY29weS5qcGc=
    [album_lb_id_i0015] => d0000
    [picfile_i0015] => YWxidW1zL1Njb29ieV9Eb29fMi8wMTZfY29weS5qcGc=
    [album_lb_id_i0016] => d0000
    [picfile_i0016] => YWxidW1zL1Njb29ieV9Eb29fMi8wMTdfY29weS5qcGc=
    [album_lb_id_i0017] => d0000
    [picfile_i0017] => YWxidW1zL1Njb29ieV9Eb29fMi8wMThfY29weS5qcGc=
    [album_lb_id_i0018] => d0000
    [picfile_i0018] => YWxidW1zL1Njb29ieV9Eb29fMi8wMTlfY29weS5qcGc=
    [album_lb_id_i0019] => d0000
    [picfile_i0019] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjBfY29weS5qcGc=
    [album_lb_id_i0020] => d0000
    [picfile_i0020] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjFfY29weS5qcGc=
    [album_lb_id_i0021] => d0000
    [picfile_i0021] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjJfY29weS5qcGc=
    [album_lb_id_i0022] => d0000
    [picfile_i0022] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjNfY29weS5qcGc=
    [album_lb_id_i0023] => d0000
    [picfile_i0023] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjRfY29weS5qcGc=
    [album_lb_id_i0024] => d0000
    [picfile_i0024] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjVfY29weS5qcGc=
    [album_lb_id_i0025] => d0000
    [picfile_i0025] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjZfY29weS5qcGc=
    [album_lb_id_i0026] => d0000
    [picfile_i0026] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjdfY29weS5qcGc=
    [album_lb_id_i0027] => d0000
    [picfile_i0027] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjhfY29weS5qcGc=
    [album_lb_id_i0028] => d0000
    [picfile_i0028] => YWxidW1zL1Njb29ieV9Eb29fMi8wMjlfY29weS5qcGc=
    [album_lb_id_i0029] => d0000
    [picfile_i0029] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzBfY29weS5qcGc=
    [album_lb_id_i0030] => d0000
    [picfile_i0030] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzFfY29weS5qcGc=
    [album_lb_id_i0031] => d0000
    [picfile_i0031] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzJfY29weS5qcGc=
    [album_lb_id_i0032] => d0000
    [picfile_i0032] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzMuanBn
    [album_lb_id_i0033] => d0000
    [picfile_i0033] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzRfY29weS5qcGc=
    [album_lb_id_i0034] => d0000
    [picfile_i0034] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzUuanBn
    [album_lb_id_i0035] => d0000
    [picfile_i0035] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzYuanBn
    [album_lb_id_i0036] => d0000
    [picfile_i0036] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzcuanBn
    [album_lb_id_i0037] => d0000
    [picfile_i0037] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzguanBn
    [album_lb_id_i0038] => d0000
    [picfile_i0038] => YWxidW1zL1Njb29ieV9Eb29fMi8wMzkuanBn
    [album_lb_id_i0039] => d0000
    [picfile_i0039] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDAuanBn
    [album_lb_id_i0040] => d0000
    [picfile_i0040] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDEuanBn
    [album_lb_id_i0041] => d0000
    [picfile_i0041] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDIuanBn
    [album_lb_id_i0042] => d0000
    [picfile_i0042] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDMuanBn
    [album_lb_id_i0043] => d0000
    [picfile_i0043] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDQuanBn
    [album_lb_id_i0044] => d0000
    [picfile_i0044] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDUuanBn
    [album_lb_id_i0045] => d0000
    [picfile_i0045] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDYuanBn
    [album_lb_id_i0046] => d0000
    [picfile_i0046] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDcuanBn
    [album_lb_id_i0047] => d0000
    [picfile_i0047] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDguanBn
    [album_lb_id_i0048] => d0000
    [picfile_i0048] => YWxidW1zL1Njb29ieV9Eb29fMi8wNDkuanBn
    [album_lb_id_i0049] => d0000
    [picfile_i0049] => YWxidW1zL1Njb29ieV9Eb29fMi8wNTAuanBn
    [album_lb_id_i0050] => d0000
    [picfile_i0050] => YWxidW1zL1Njb29ieV9Eb29fMi9UaHVtYnMuZGI=
    [d0001] => 0
    [album_lb_id_i0051] => d0001
    [picfile_i0051] => YWxidW1zL1Njb29ieV9Eb29fMi9GaXhlZCBjb3B5L1RodW1icy5kYg==
    [insert] => Insert selected files
)

==========================
VERSION INFO :
------------------
PHP version: 4.3.10 - OK
------------------
mySQL version: 3.23.58
------------------
Coppermine version: 1.4.2(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 3.23.58
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.1
Linked Version 1.2.1.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 | .:/php/includes:/usr/share/php | .:/php/includes:/usr/share/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 | 60 | 60
max_input_time | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.273 seconds - 16 queries in 0.002 seconds - Album set : ; Meta set: ;

kegobeer

You're running into a PHP memory limit.  It takes huge amounts of resources to resize images, and whatever limit your host has set is being exceeded when you attempt to resize images larger than 1000 pixels.  You can switch to ImageMagick (if your host provides it) and that should eliminate the problem.  You can also ask your host to increase PHP memory.

Read the FAQ for more information.
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