For some odd reasons, I can access the gallery today without seeing the "Fatal error" msg. Weird.
I still have my debug mode turned on and there's the msg:
USER:
------------------
Array
(
[ID] => 81f5605d35d26e69006761637d475533
[am] => 1
[lang] => english
)
==========================
USER DATA:
------------------
Array
(
[user_id] => 1
[user_name] => damevenus
[groups] => Array
(
[0] => 106
[1] => 108
[2] => 111
[3] => 101
[4] => 110
[5] => 104
[6] => 113
)
[disk_max] => 2000
[disk_min] => 0
[can_rate_pictures] => 1
[can_send_ecards] => 1
[ufc_max] => 3
[ufc_min] => 3
[custom_user_upload] => 1
[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] => 1
[priv_upl_need_approval] => 0
[group_name] => Testimonials
[upload_form_config] => 3
[group_quota] => 0
[can_see_all_albums] => 1
[group_id] => 106
)
==========================
Queries:
------------------
Array
(
[0] => SELECT extension, mime, content, player FROM cpg_filetypes; (0.001s)
[1] => select * from cpg_plugins order by priority asc; (0s)
[2] => SELECT * FROM cpg_bridge (0s)
[3] => 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 (106,108,111,101,110,104,113) (0s)
[4] => SELECT group_name FROM cpg_usergroups WHERE group_id= 106 (0s)
[5] => SELECT user_favpics FROM cpg_favpics WHERE user_id = 1 (0.001s)
[6] => SELECT * FROM cpg_mark_users WHERE user_id = 1 (0s)
[7] => SELECT * FROM cpg_mark_config (0s)
[8] => DELETE FROM cpg_banned WHERE expiry < '2007-02-28 11:30:21' (0s)
[9] => SELECT * FROM cpg_banned WHERE (ip_addr='207.216.236.131' OR ip_addr='207.216.236.131' OR user_id=1) AND brute_force=0 (0s)
[10] => SELECT cid, name, description, thumb FROM cpg_categories WHERE parent = '' ORDER BY pos (0s)
[11] => SELECT aid FROM cpg_albums WHERE category = 19 (0s)
[12] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 19 (0s)
[13] => SELECT aid FROM cpg_albums WHERE category = 10 (0s)
[14] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 10 (0s)
[15] => SELECT aid FROM cpg_albums WHERE category = 20 (0s)
[16] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 20 (0s)
[17] => SELECT aid FROM cpg_albums WHERE category = 11 (0s)
[18] => SELECT count(*) FROM cpg_pictures as p, cpg_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 11 (0s)
[19] => SELECT aid FROM cpg_albums as a WHERE category = '0' (0s)
[20] => SELECT count(*) FROM cpg_albums as a WHERE 1 (0s)
[21] => SELECT count(*) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.001s)
[22] => SELECT count(*) FROM cpg_comments as c LEFT JOIN cpg_pictures as p ON c.pid=p.pid LEFT JOIN cpg_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
[23] => SELECT count(*) FROM cpg_categories WHERE 1 (0s)
[24] => SELECT sum(hits) FROM cpg_pictures as p LEFT JOIN cpg_albums as a ON p.aid=a.aid WHERE 1 (0.005s)
[25] => SELECT COUNT(*) FROM cpg_pictures WHERE approved = 'NO' (0.001s)
[26] => SELECT count(*) FROM cpg_albums as a WHERE category = '0' (0s)
[27] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES' (0.001s)
[28] => SELECT * FROM cpg_pictures WHERE approved = 'YES' ORDER BY RAND() LIMIT 4 (0.045s)
[29] => SELECT COUNT(*) from cpg_pictures WHERE approved = 'YES' (0.001s)
[30] => SELECT * FROM cpg_pictures WHERE approved = 'YES' ORDER BY pid DESC LIMIT 0 ,4 (0s)
)
==========================
GET :
------------------
Array
(
)
==========================
POST :
------------------
Array
(
)
==========================
VERSION INFO :
------------------
PHP version: 4.4.4 - OK
------------------
mySQL version: 4.1.21-standard
------------------
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 2
Client API version 4.1.21
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.1.2
Linked Version 1.2.1.2
==========================
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 | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
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 | /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.743 seconds - 31 queries in 0.057 seconds - Album set : ; Meta set: ;
I don't know if that means I still have error in the sql or not. Could you please let me know? The bridge that I am using for aMember script.
Thanks for your prompt replies.