Okay, whenever I go to edit a category in my album, such as adding a description, it wil change the permission to view by "Me Only", even though I never even touched said option. When I go to change it back, I set it to "Everybody" and when I update, I get the "No update needed" message.
http://gallery.rojadrik.comHere's the debug info on my "Update Info" page:
USER:
------------------
Array
(
[ID] => 3f0e01a3b6be4d267f43120269ed39b5
[am] => 1
[lang] => english
[liv] => Array
(
- => 222
[1] => 231
[2] => 230
[3] => 220
[4] => 244
)
[sort] => na
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => RojAdrik
[groups] => Array
(
)
[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
(
- => SELECT extension, mime, content, player FROM cpg_143filetypes; (0.006s)
[1] => select * from cpg_143plugins order by priority asc; (0.001s)
[2] => delete from `user_330444`.cpg_143sessions where time<1147054207 and remember=0; (0.004s)
[3] => delete from `user_330444`.cpg_143sessions where time<1145848207; (0.01s)
[4] => select user_id from `user_330444`.cpg_143sessions where session_id=md5("47f7479fa6bd2beb6c079fb703f72ab33142975ba0a217627efdaf34fd5699c8"); (0.005s)
[5] => select user_id as id, user_password as password from `user_330444`.cpg_143users where user_id=1 (0.001s)
[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 `user_330444`.cpg_143users AS u INNER JOIN `user_330444`.cpg_143usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
[7] => SELECT user_group_list FROM `user_330444`.cpg_143users AS u WHERE user_id='1' and user_group_list <> ''; (0.002s)
[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 cpg_143usergroups WHERE group_id in (1) (0.053s)
[9] => SELECT group_name FROM cpg_143usergroups WHERE group_id= 1 (0.002s)
[10] => update `user_330444`.cpg_143sessions set time='1147057807' where session_id=md5('47f7479fa6bd2beb6c079fb703f72ab33142975ba0a217627efdaf34fd5699c8'); (0.01s)
[11] => SELECT user_favpics FROM cpg_143favpics WHERE user_id = 1 (0.003s)
[12] => DELETE FROM cpg_143banned WHERE expiry < '2006-05-08 03:10:07' (0.001s)
[13] => SELECT * FROM cpg_143banned WHERE (ip_addr='69.252.240.207' OR ip_addr='69.252.240.207' OR user_id=1) AND brute_force=0 (0.001s)
[14] => SELECT * FROM cpg_143albums WHERE aid='20' (0.002s)
[15] => SELECT COUNT(*) FROM cpg_143pictures WHERE approved = 'NO' (0.002s)
[16] => SELECT aid, title FROM cpg_143albums WHERE category < '10000' ORDER BY title (0.001s)
[17] => SELECT aid, CONCAT('(', user_name, ') ', a.title) AS title
FROM cpg_143albums AS a
INNER JOIN `user_330444`.cpg_143users AS u
ON category = (10000 + user_id)
ORDER BY title (0.001s)
[18] => SELECT cid, name, description FROM cpg_143categories WHERE parent = '0' AND cid != 1 ORDER BY pos (0.001s)
[19] => SELECT cid, name, description FROM cpg_143categories WHERE parent = '4' AND cid != 1 ORDER BY pos (0.001s)
[20] => SELECT cid, name, description FROM cpg_143categories WHERE parent = '3' AND cid != 1 ORDER BY pos (0s)
[21] => SELECT cid, name, description FROM cpg_143categories WHERE parent = '5' AND cid != 1 ORDER BY pos (0s)
[22] => SELECT cid, name, description FROM cpg_143categories WHERE parent = '2' AND cid != 1 ORDER BY pos (0.001s)
[23] => SELECT pid, filepath, filename, url_prefix FROM cpg_143pictures WHERE aid='20' AND approved='YES' ORDER BY filename (0.001s)
[24] => SELECT group_id, group_name FROM cpg_143usergroups WHERE 1 (0.007s)
[25] => SELECT SUM(hits) FROM cpg_143pictures WHERE aid='20' (0.002s)
[26] => SELECT SUM(votes) FROM cpg_143pictures WHERE aid='20' AND votes > 0 (0.004s)
[27] => SELECT COUNT(*) FROM cpg_143pictures WHERE aid='20' (0.002s)
)
==========================
GET :
------------------
Array
(
[album] => 20
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.24-max-log
------------------
Coppermine version: 1.4.5(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.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | ~ | ~
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.394 seconds - 28 queries in 0.125 seconds - Album set : ; Meta set: ;
And for the result:
USER:
------------------
Array
(
[ID] => 3f0e01a3b6be4d267f43120269ed39b5
[am] => 1
[lang] => english
[liv] => Array
(
- => 222
[1] => 231
[2] => 230
[3] => 220
[4] => 244
)
[sort] => na
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => RojAdrik
[groups] => Array
(
)
[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
(
- => SELECT extension, mime, content, player FROM cpg_143filetypes; (0.005s)
[1] => select * from cpg_143plugins order by priority asc; (0.001s)
[2] => delete from `user_330444`.cpg_143sessions where time<1147054278 and remember=0; (0.007s)
[3] => delete from `user_330444`.cpg_143sessions where time<1145848278; (0.027s)
[4] => select user_id from `user_330444`.cpg_143sessions where session_id=md5("47f7479fa6bd2beb6c079fb703f72ab33142975ba0a217627efdaf34fd5699c8"); (0.001s)
[5] => select user_id as id, user_password as password from `user_330444`.cpg_143users where user_id=1 (0.002s)
[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 `user_330444`.cpg_143users AS u INNER JOIN `user_330444`.cpg_143usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.011s)
[7] => SELECT user_group_list FROM `user_330444`.cpg_143users AS u WHERE user_id='1' and user_group_list <> ''; (0.001s)
[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 cpg_143usergroups WHERE group_id in (1) (0.001s)
[9] => SELECT group_name FROM cpg_143usergroups WHERE group_id= 1 (0.001s)
[10] => update `user_330444`.cpg_143sessions set time='1147057878' where session_id=md5('47f7479fa6bd2beb6c079fb703f72ab33142975ba0a217627efdaf34fd5699c8'); (0.001s)
[11] => SELECT user_favpics FROM cpg_143favpics WHERE user_id = 1 (0.002s)
[12] => DELETE FROM cpg_143banned WHERE expiry < '2006-05-08 03:11:18' (0.002s)
[13] => SELECT * FROM cpg_143banned WHERE (ip_addr='69.252.240.207' OR ip_addr='69.252.240.207' OR user_id=1) AND brute_force=0 (0.001s)
[14] => UPDATE cpg_143albums SET title='05 - Furloween', description='All images taken by me were with a Motorola V265 Camera Phone (which sucks, BTW).', category='5', thumb='0', uploads='NO', comments='YES', votes='YES', visibility='10001', alb_password='snowmeow', alb_password_hint='', keyword='' WHERE aid='20' LIMIT 1 (0.001s)
[15] => SELECT COUNT(*) FROM cpg_143pictures WHERE approved = 'NO' (0.001s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
[event] => album_update
[aid] => 20
[title] => 05 - Furloween
[category] => 5
[description] => All images taken by me were with a Motorola V265 Camera Phone (which sucks, BTW).
[keyword] =>
[thumb] => 0
[visibility] => 0
[alb_password] => snowmeow
[alb_password_hint] =>
[uploads] => NO
[comments] => YES
[votes] => YES
)
==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.0.24-max-log
------------------
Coppermine version: 1.4.5(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.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
==========================
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 | ~ | ~
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.72 seconds - 16 queries in 0.065 seconds - Album set : ; Meta set: ;
If you need anything else, just let me know.