Danke für den Tip!
Folgende Fehlermeldung erscheint:
While executing query "DELETE FROM WHERE picture_id='288'" on 0
mySQL error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE picture_id='288'' at line 1
USER:
------------------
Array
(
[ID] => d2a945272fa6887bc2717cc1feb60da1
[am] => 1
[liv] => Array
(
[0] => 286
)
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => DirkTh
[groups] => Array
(
[0] => 1
)
[disk_max] => 0
[disk_min] => 0
[can_rate_pictures] => 0
[can_send_ecards] => 0
[ufc_max] => 3
[ufc_min] => 3
[custom_user_upload] => 0
[num_file_upload] => 10
[num_URI_upload] => 10
[can_post_comments] => 0
[can_upload_pictures] => 1
[can_create_albums] => 1
[has_admin_access] => 1
[pub_upl_need_approval] => 1
[priv_upl_need_approval] => 1
[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; (0.001s)
[1] => select * from cpg135_plugins order by priority asc; (0.186s)
[2] => delete from `DB169702`.cpg135_sessions where time<1160662226 and remember=0; (0.136s)
[3] => delete from `DB169702`.cpg135_sessions where time<1159456226; (0.001s)
[4] => select user_id from `DB169702`.cpg135_sessions where session_id=md5("1c2480914d77b694b8e2469836461d0a174ef36fb482fdadcfe5d811552f50d2"); (0.001s)
[5] => select user_id as id, user_password as password from `DB169702`.cpg135_users where user_id=1 (0.001s)
[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 `DB169702`.cpg135_users AS u INNER JOIN `DB169702`.cpg135_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0.001s)
[7] => SELECT user_group_list FROM `DB169702`.cpg135_users 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 cpg135_usergroups WHERE group_id in (1) (0.109s)
[9] => SELECT group_name FROM cpg135_usergroups WHERE group_id= 1 (0.001s)
[10] => update `DB169702`.cpg135_sessions set time='1160665826' where session_id=md5('1c2480914d77b694b8e2469836461d0a174ef36fb482fdadcfe5d811552f50d2'); (0.002s)
[11] => SELECT user_favpics FROM cpg135_favpics WHERE user_id = 1 (0.001s)
[12] => DELETE FROM cpg135_banned WHERE expiry < '2006-10-12 15:10:27' (0.001s)
[13] => SELECT * FROM cpg135_banned WHERE (ip_addr='217.231.90.35' OR ip_addr='217.231.90.35' OR user_id=1) AND brute_force=0 (0.003s)
[14] => SELECT COUNT(*) FROM cpg135_pictures WHERE approved = 'NO' (0.001s)
[15] => SELECT aid, filepath, filename FROM cpg135_pictures WHERE pid='288' (0.002s)
[16] => DELETE FROM cpg135_comments WHERE pid='288' (0.001s)
[17] => DELETE FROM WHERE picture_id='288' (0.001s)
)
==========================
GET :
------------------
Array
(
[id] => 288
[what] => picture
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.0.24
------------------
Coppermine version: 1.4.9(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.19
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /tmp/mysql.sock
MYSQL_INCLUDE -I../local/include/mysql
MYSQL_LIBS -L../local/lib/mysql -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | On | On
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | /opt/RZphp4/includes | /opt/RZphp4/includes
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 | .:/opt/RZphp4/includes | .:/opt/RZphp4/includes
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/lib/sendmail -t -i | /usr/lib/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 0 | 0
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 1.421 seconds - 18 queries in 0.45 seconds - Album set : ; Meta set: ;