Hi, I have just installed a new version of Coppermine on a new server, then I uploaded my old config-inc.php file and my albums file. I also altered the config-inc.php file to have the same extensions on the database so it says cpg11d rather than the lastest version which is: "cpg132_". I also used the database from my old gallery at
www.charlie-brown.co.uk/album.
The whole site works as you can see at
www.charleswbrown.com/gallery but none of the images can be found, nor can they be seen in the batch add list. Ive tried permissions at both 777 and 755 and nothing changes, any help?
Here is the debug code:
USER:
------------------
Array
(
[ID] => d1aab1c5eea0363b1f612f34f8364fe3
[am] => 1
[liv] => Array
(
[0] => 827
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 7
[user_group] => 2
[user_active] => YES
[user_name] => Charlie
[user_password] => ********
[user_lastvisit] => 2005-10-28 18:46:18
[user_regdate] => 2005-04-16 16:08:27
[user_group_list] => 1
[user_email] => ********************
[user_website] => http://www.charleswbrown.com
[user_actkey] => 0ce0b636e004d5bd20ff3798c6294682
[disk_max] => 3000
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 3
[ufc_min] => 3
[custom_user_upload] => 0
[num_file_upload] => 10
[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] => Registered
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 2
[groups] => Array
(
[0] => 1
[1] => 2
)
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content FROM cpg11d_filetypes;
[1] => SELECT * FROM cpg11d_users WHERE user_id='7'AND user_active = 'YES' AND user_password != '' AND BINARY MD5(user_password) = '915068eddff19a55f8428328013ba011'
[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 cpg11d_usergroups WHERE group_id in (1,2)
[3] => SELECT group_name FROM cpg11d_usergroups WHERE group_id= 2
[4] => DELETE FROM cpg11d_banned WHERE expiry < '2005-10-28 18:47:01'
[5] => SELECT * FROM cpg11d_banned WHERE ip_addr='84.12.199.72' OR ip_addr='84.12.199.72' OR user_id=7
[6] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '' ORDER BY pos
[7] => SELECT aid FROM cpg11d_albums as a WHERE category>=10000
[8] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category >= 10000
[9] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '1' ORDER BY pos
[10] => SELECT aid FROM cpg11d_albums WHERE category = 4
[11] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 4
[12] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '4'
[13] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_albums as a LEFT JOIN cpg11d_pictures as p ON a.thumb=p.pid WHERE category=4 ORDER BY a.pos LIMIT 0,3
[14] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (25, 26, 44) AND approved = 'YES' GROUP BY aid
[15] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='877'
[16] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '4' ORDER BY pos
[17] => SELECT aid FROM cpg11d_albums WHERE category = 3
[18] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 3
[19] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '3'
[20] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_albums as a LEFT JOIN cpg11d_pictures as p ON a.thumb=p.pid WHERE category=3 ORDER BY a.pos LIMIT 0,3
[21] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (7, 22, 28) AND approved = 'YES' GROUP BY aid
[22] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='936'
[23] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '3' ORDER BY pos
[24] => SELECT aid FROM cpg11d_albums WHERE category = 6
[25] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 6
[26] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '6'
[27] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_albums as a LEFT JOIN cpg11d_pictures as p ON a.thumb=p.pid WHERE category=6 ORDER BY a.pos LIMIT 0,14
[28] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (29, 30, 31, 32, 33, 34, 35, 36, 37, 42, 45, 47, 46, 48) AND approved = 'YES' GROUP BY aid
[29] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='994'
[30] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='984'
[31] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='798'
[32] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='380'
[33] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='634'
[34] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='623'
[35] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='385'
[36] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='884'
[37] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='620'
[38] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1153'
[39] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1247'
[40] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1239'
[41] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1301'
[42] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '6' ORDER BY pos
[43] => SELECT aid FROM cpg11d_albums WHERE category = 7
[44] => SELECT count(*) FROM cpg11d_pictures as p, cpg11d_albums as a WHERE p.aid = a.aid AND category = 7
[45] => SELECT count(*) FROM cpg11d_albums as a WHERE category = '7'
[46] => SELECT a.aid, a.title, a.description, visibility, filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_albums as a LEFT JOIN cpg11d_pictures as p ON a.thumb=p.pid WHERE category=7 ORDER BY a.pos LIMIT 0,1
[47] => SELECT aid, count(pid) as pic_count, max(pid) as last_pid, max(ctime) as last_upload FROM cpg11d_pictures WHERE aid IN (39) AND approved = 'YES' GROUP BY aid
[48] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg11d_pictures WHERE pid='1010'
[49] => SELECT cid, name, description, thumb FROM cpg11d_categories WHERE parent = '7' ORDER BY pos
[50] => SELECT aid FROM cpg11d_albums as a WHERE category = '0'
[51] => SELECT count(*) FROM cpg11d_albums as a WHERE 1
[52] => SELECT count(*) FROM cpg11d_pictures as p LEFT JOIN cpg11d_albums as a ON a.aid=p.aid WHERE 1
[53] => SELECT count(*) FROM cpg11d_comments as c LEFT JOIN cpg11d_pictures as p ON c.pid=p.pid LEFT JOIN cpg11d_albums as a ON a.aid=p.aid WHERE 1
[54] => SELECT count(*) FROM cpg11d_categories WHERE 1
[55] => SELECT sum(hits) FROM cpg11d_pictures as p LEFT JOIN cpg11d_albums as a ON p.aid=a.aid WHERE 1
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.6 - OK
------------------
mySQL version: 4.1.10a
------------------
Coppermine version: 1.3.5
==========================
Module: gd
------------------
GD Support enabled
GD Version bundled (2.0.22 compatible)
FreeType Support enabled
FreeType Linkage with freetype
T1Lib Support enabled
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled
JIS-mapped Japanese Font Support enabled
==========================
Module: mysql
------------------
Active Persistent Links 0
Active Links 1
Client API version 4.0.18
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I/usr/local/include/mysql
MYSQL_LIBS -L/usr/local/lib/mysql -lmysqlclient
==========================
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 | .:/php/includes:/usr/local/share/pear:/usr/local/lib/php/pear | .:/php/includes:/usr/local/share/pear:/usr/local/lib/php/pear
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 | 60 | 60
upload_max_filesize | 8M | 8M
post_max_size | 8M | 8M
==========================
Page generated in 0.228 seconds - 56 queries in 0.06 seconds - Album set :