forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: BMOwner on February 16, 2009, 09:43:17 pm

Title: Add Batch Upload leads to White Page
Post by: BMOwner on February 16, 2009, 09:43:17 pm
I have spent over two horus trying to resolve this, and I have done everything , nothing works.
I am being hosted by sharked.org ( i'm a ''hostee'' )

Anywho, here is the link to my gallery: http://bm.sharked.org/Images/index.php

It won't allow me to upload a lot of files. I mean no more than 25 to be more specific. I have a lot of images that I need to upload, some folders ( I upload by FTP using SmartFTP ) have 300+ images, so when I upload by add batch , I get a white screen no matter how many images I select//unselect.

Now it works if I upload by  Http; but not Add Batch, help?


Now if I upload a big image I get this on the HTTP: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1300 bytes) in /home/sharkedo/public_html/bm/Images/include/picmgmt.inc.php on line 272

[ Debug Info ( for Add Batch or Whatever )  ]

Code: [Select]
USER:
------------------
Array
(
    [ID] => 7d8fe98f0e0558e7d90e46681b7165f0
    [am] => 1
    [lang] => english
    [lap] => 1
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Masquerade
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [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] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg15x_filetypes; (0s)
    [1] => delete from `sharkedo_bm`.cpg15x_sessions where time<1234813304 and remember=0; (0s)
    [2] => delete from `sharkedo_bm`.cpg15x_sessions where time<1233607304; (0s)
    [3] => select user_id from `sharkedo_bm`.cpg15x_sessions where session_id = '2d7dd239b382ca47dae6ecf2218984e4' (0s)
    [4] => select user_id as id, user_password as password from `sharkedo_bm`.cpg15x_users where user_id=1 (0s)
    [5] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `sharkedo_bm`.cpg15x_users AS u INNER JOIN `sharkedo_bm`.cpg15x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [6] => SELECT user_group_list FROM `sharkedo_bm`.cpg15x_users AS u WHERE user_id='1' and user_group_list <> ''; (0s)
    [7] => 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 cpg15x_usergroups WHERE group_id in (1) (0s)
    [8] => SELECT group_name FROM  cpg15x_usergroups WHERE group_id= 1 (0s)
    [9] => update `sharkedo_bm`.cpg15x_sessions set time='1234816904' where session_id = '2d7dd239b382ca47dae6ecf2218984e4' (0s)
    [10] => SELECT user_favpics FROM cpg15x_favpics WHERE user_id = 1 (0s)
    [11] => DELETE FROM cpg15x_banned WHERE expiry < '2009-02-16 20:41:44' (0.001s)
    [12] => SELECT * FROM cpg15x_banned WHERE (ip_addr='98.217.52.33' OR ip_addr='98.217.52.33' OR user_id=1) AND brute_force=0 (0s)
    [13] => SELECT aid from cpg15x_pictures WHERE pid='148'  LIMIT 1 (0.001s)
    [14] => SELECT title,keyword from cpg15x_albums WHERE aid='9' (0s)
    [15] => SELECT COUNT(*) from cpg15x_pictures WHERE ((aid='9'  ) )   (0s)
    [16] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg15x_pictures WHERE ((aid='9'  ) )   ORDER BY pid ASC  (0.001s)
    [17] => SELECT title,keyword from cpg15x_albums WHERE aid='9' (0s)
    [18] => SELECT COUNT(*) from cpg15x_pictures WHERE ((aid='9'  ) )   (0s)
    [19] => SELECT * from cpg15x_pictures WHERE ((aid='9'  ) )   ORDER BY pid ASC  LIMIT 1 ,1 (0.001s)
    [20] => SELECT title, comments, votes, category, aid FROM cpg15x_albums WHERE aid='9' LIMIT 1 (0s)
    [21] => SELECT name, parent FROM cpg15x_categories WHERE cid = '4' (0s)
    [22] => SELECT cid, name, parent FROM cpg15x_categories WHERE cid = '2' (0s)
    [23] => SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM cpg15x_comments WHERE pid='148' ORDER BY msg_id ASC (0.001s)
    [24] => SELECT COUNT(*) FROM cpg15x_pictures WHERE approved = 'NO' (0.001s)
    [25] => SELECT title,keyword from cpg15x_albums WHERE aid='9' (0s)
    [26] => SELECT COUNT(*) from cpg15x_pictures WHERE ((aid='9'  ) )   (0s)
    [27] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from cpg15x_pictures WHERE ((aid='9'  ) )   ORDER BY pid ASC  LIMIT 0 ,10 (0.001s)
)

==========================
GET :
------------------
Array
(
    [pos] => -148
)

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

==========================
VERSION INFO :
------------------
PHP version: 5.2.5 - OK
------------------
mySQL version: 5.0.24-standard
------------------
Coppermine version: 1.4.20(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 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
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.24
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
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/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | no value | no value
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 | 60 | 60
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.136 seconds - 28 queries in 0.007 seconds - Album set : ; Meta set: ;



and the notices I get :: /displayimage.php


Hopefully I did everything correct.
Title: Re: Add Batch Upload leads to White Page
Post by: Fabricio Ferrero on February 16, 2009, 10:13:17 pm
Quote
Hopefully I did everything correct.
No. In fact, you did the opposite as it should in this situations. :)

Read: Asking for support on upload issues. (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support) to discover on which point you failed.

Then, read: http://forum.coppermine-gallery.net/index.php/topic,3417.html (http://forum.coppermine-gallery.net/index.php/topic,3417.html) to solve your problem. If you don't know about the php.ini file, ask your web hosting support, not here. ;)

Then, post if you still have an issue.

Regards,