I'm new to Coppermine, but I haven't had any problems setting it up and getting a pretty decent gallery running. I am having a problem with the zip download function though. All it does is take me to a basically blank page. It does this no matter who is logged in. I am using a free ad supported host, but it says the zlib support is enabled. I don't have any experience with php, but here is the debug output from the favorites page. I would appreciate a point in the right direction.
http://photos.gowdergraffiti.com/thumbnails.php?album=favpics (http://photos.gowdergraffiti.com/thumbnails.php?album=favpics)
USER:
------------------
Array
(
[ID] => b1ad2722899083e9d764dca265cf2d65
[am] => 1
[lang] => english
[liv] => Array
(
[0] => 10
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 0
[user_name] => Guest
[groups] => Array
(
[0] => 3
)
[group_quota] => 0
[can_rate_pictures] => 0
[can_send_ecards] => 0
[can_post_comments] => 0
[can_upload_pictures] => 0
[can_create_albums] => 0
[pub_upl_need_approval] => 1
[priv_upl_need_approval] => 1
[upload_form_config] => 3
[num_file_upload] => 5
[num_URI_upload] => 3
[custom_user_upload] => 0
[disk_max] => 0
[disk_min] => 0
[ufc_max] => 3
[ufc_min] => 3
[has_admin_access] => 0
[group_name] => Guests
[can_see_all_albums] => 0
[group_id] => 3
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0.003s)
[1] => select * from cpg_plugins order by priority asc; (0.001s)
[2] => delete from `gow0706407413922`.cpg_sessions where time<1173832374 and remember=0; (0.001s)
[3] => delete from `gow0706407413922`.cpg_sessions where time<1172626374; (0s)
[4] => select user_id from `gow0706407413922`.cpg_sessions where session_id=md5("cceb9355de6614858f98603abc42edb18c349e76493c7307b6b5b27ecbffef26"); (0.001s)
[5] => select user_id as id, user_password as password from `gow0706407413922`.cpg_users where user_id=0 (0s)
[6] => 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 cpg_usergroups WHERE group_id in (3) (0.001s)
[7] => SELECT group_name FROM cpg_usergroups WHERE group_id= 3 (0.001s)
[8] => update `gow0706407413922`.cpg_sessions set time='1173835974' where session_id=md5('cceb9355de6614858f98603abc42edb18c349e76493c7307b6b5b27ecbffef26'); (0.001s)
[9] => DELETE FROM cpg_banned WHERE expiry < '2007-03-13 20:32:54' (0s)
[10] => SELECT * FROM cpg_banned WHERE (ip_addr='24.50.17.52' OR ip_addr='24.50.17.52' OR user_id=0) AND brute_force=0 (0s)
[11] => SELECT aid FROM cpg_albums WHERE visibility != '0' AND visibility !='10000' AND visibility NOT IN (3) (0.001s)
[12] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES' AND pid IN (10) AND aid NOT IN (1,2,6,7) (0.002s)
[13] => SELECT * FROM cpg_pictures WHERE approved = 'YES'AND pid IN (10) AND aid NOT IN (1,2,6,7) LIMIT 0 ,40 (0.001s)
)
==========================
GET :
------------------
Array
(
[album] => favpics
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.27-max-log
------------------
Coppermine version: 1.4.10(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 5.0.18
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /usr/local/mysql-5.0/data/mysql.sock
MYSQL_INCLUDE -I/usr/local/mysql-5.0/include/mysql
MYSQL_LIBS -L/usr/local/mysql-5.0/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.1.4
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 | ~ | ~
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 | relay-hosting.secureserver.net | relay-hosting.secureserver.net
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 | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.258 seconds - 14 queries in 0.013 seconds - Album set : AND aid NOT IN (1,2,6,7) ; Meta set: AND aid NOT IN (1,2,6,7) ;
The system that injects the ads is interfering with the script.
Thanks for taking a look. I figured that had something to do with it. Is there any kind of work around for this?