Sorry, but can you see it for me? iám not very good with mysql.
Here is my debugcode.
USER:
------------------
Array
(
[ID] => 6036ec705c212113cff050268184eca3
[am] => 1
[liv] => Array
(
[0] => 4462
[1] => 4461
[2] => 4460
[3] => 4459
[4] => 4455
)
[uid] => 181
[search] => Array
(
[search] => annie
[album] => search
[title] => on
[newer_than] =>
[caption] => on
[older_than] =>
[keywords] => on
[owner_name] => on
[type] => AND
[params] => Array
(
[title] => on
[caption] => on
[keywords] => on
[owner_name] => on
)
)
[lang] => english
[lap] => 1
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => annie
[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] => 0
[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 cpg135_filetypes; (0s)
[1] => select * from cpg135_plugins order by priority asc; (0s)
[2] => delete from `sextekort`.cpg135_sessions where time<1156358589 and remember=0; (0.001s)
[3] => delete from `sextekort`.cpg135_sessions where time<1155152589; (0s)
[4] => select user_id from `sextekort`.cpg135_sessions where session_id=md5("d770569a5855f59095b0269c638d6b7aab3ccfcb31501c718c90748e5529b79e"); (0s)
[5] => select user_id as id, user_password as password from `sextekort`.cpg135_users where user_id=1 (0s)
[6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.avatar_url AS avatar_url, u.enable_admin_email AS notify, u.auto_subscribe_post AS auto_subscribe_post, u.auto_subscribe_comment AS auto_subscribe_comment, u.user_group+100 AS group_id FROM `sextekort`.cpg135_users AS u INNER JOIN `sextekort`.cpg135_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
[7] => SELECT user_group_list FROM `sextekort`.cpg135_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 cpg135_usergroups WHERE group_id in (1) (0s)
[9] => SELECT group_name FROM cpg135_usergroups WHERE group_id= 1 (0s)
[10] => update `sextekort`.cpg135_sessions set time='1156362189' where session_id=md5('d770569a5855f59095b0269c638d6b7aab3ccfcb31501c718c90748e5529b79e'); (0s)
[11] => SELECT user_favpics FROM cpg135_favpics WHERE user_id = 1 (0.001s)
[12] => DELETE FROM cpg135_mod_online WHERE last_action < NOW() - INTERVAL 10 MINUTE (0s)
[13] => REPLACE INTO cpg135_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'annie', '83.98.239.43', NOW()) (0s)
[14] => SELECT count(*) FROM cpg135_pms WHERE owner=1 (0.002s)
[15] => SELECT count(*) FROM cpg135_pms WHERE owner=1 AND showed='0' (0.002s)
[16] => SELECT count(*) FROM cpg135_buddy WHERE user_id=1 (0s)
[17] => SELECT count(*) FROM cpg135_buddy_req WHERE buddy_to=1 (0s)
[18] => DELETE FROM cpg135_banned WHERE expiry < '2006-08-23 21:47:57' (0s)
[19] => SELECT * FROM cpg135_banned WHERE (ip_addr='83.98.239.43' OR ip_addr='83.98.239.43' OR user_id=1) AND brute_force=0 (0s)
[20] => SELECT title, category FROM cpg135_albums WHERE aid = '51' (0s)
[21] => SELECT DISTINCT aid, title, IF(category = 0, CONCAT('> ', title), CONCAT(name,' < ',title)) AS cat_title FROM cpg135_albums, cpg135_categories WHERE category < '10000' AND (category = 0 OR category = cid) ORDER BY cat_title (0.001s)
[22] => SELECT aid, title FROM cpg135_albums WHERE category='10001' OR category='10001' ORDER BY title (0s)
[23] => SELECT category, filepath, filename, owner_id FROM cpg135_pictures, cpg135_albums WHERE cpg135_pictures.aid = cpg135_albums.aid AND pid='4202' (0s)
[24] => UPDATE cpg135_pictures SET aid = '51', title = 'ondanks alles', caption = 'wel oud maar zo heerlijk!!!', keywords = '', user1 = '', user2 = '', user3 = '', user4 = '' WHERE pid='4202' LIMIT 1 (0s)
[25] => SELECT category, filepath, filename, owner_id FROM cpg135_pictures, cpg135_albums WHERE cpg135_pictures.aid = cpg135_albums.aid AND pid='4371' (0s)
[26] => UPDATE cpg135_pictures SET aid = '51', title = '', caption = '', keywords = '', user1 = '', user2 = '', user3 = '', user4 = '' WHERE pid='4371' LIMIT 1 (0s)
[27] => SELECT count(*) FROM cpg135_pictures WHERE aid = '51' (0s)
[28] => SELECT p.*,a.category FROM cpg135_pictures as p INNER JOIN cpg135_albums as a ON a.aid=p.aid WHERE p.aid = '51' ORDER BY p.filename LIMIT 0, 25 (0s)
[29] => SELECT COUNT(*) FROM cpg135_pictures WHERE approved = 'NO' (0.003s)
[30] => SELECT aid, title FROM cpg135_albums WHERE category='10001' OR category='10607' ORDER BY title (0s)
[31] => SELECT aid, title FROM cpg135_albums WHERE category='10001' ORDER BY title (0s)
)
==========================
GET :
------------------
Array
(
[album] => 51
[start] => 0
[count] => 25
)
==========================
POST :
------------------
Array
(
[count] => 25
[pid] => Array
(
[0] => 4202
[1] => 4371
)
[aid4202] => 51
[title4202] => ondanks alles
[caption4202] => wel oud maar zo heerlijk!!!
[keywords4202] =>
[user14202] =>
[user24202] =>
[user34202] =>
[user44202] =>
[reset_potd4202] => YES
[aid4371] => 51
[title4371] =>
[caption4371] =>
[keywords4371] =>
[user14371] =>
[user24371] =>
[user34371] =>
[user44371] =>
)
==========================
VERSION INFO :
------------------
PHP version: 5.1.4-pl0-gentoo - OK
------------------
mySQL version: 4.0.18
------------------
Coppermine version: 1.4.8(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XPM Support:
XBM Support: 1
JIS-mapped Japanese Font Support:
==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.0.18
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/run/mysqld/mysqld.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.1.4
Linked Version 1.1.4
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | /home/chroot/home/sites/bin | /home/chroot/home/sites/bin
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | /home/chroot/home/sites/bin | /home/chroot/home/sites/bin
sql.safe_mode | Off | Off
disable_functions | exec,system,shell_exec,popen,chown,chmod,passthru,posix_kill,touch | exec,system,shell_exec,popen,chown,chmod,passthru,posix_kill,touch
file_uploads | On | On
include_path | .:/usr/lib/php:/usr/lib/php/DB:/usr/lib/php/PEAR | .:/usr/lib/php:/usr/lib/php/DB:/usr/lib/php/PEAR
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 -fwebmaster@sextekort.nl | /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.124 seconds - 32 queries in 0.01 seconds - Album set : ; Meta set: ;