[Solved]: Fatal Error [Solved]: Fatal Error
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Solved]: Fatal Error

Started by tathy, May 28, 2008, 12:50:20 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

tathy

I'm seeing a "Fatal Error :" in my gallery when I use Firefox, I can it fine when I'm with IE... i didn't change anything...  :-[
Please help!

My url: http://www.sweet-keira.net/gallery/index.php

I put it on Debug Mode:


USER:
------------------
Array
(
    [ID] => 46187843582ae26eb27d5fde44a4b15b
    [am] => 1
    [lang] => portuguese
    [liv] => Array
        (
            [0] => 20235
            [1] => 20236
            [2] => 20237
            [3] => 20238
            [4] => 20239
        )

    [lap] => 2
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 1
    [user_name] => Tathy
    [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] => 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
(
    [0] => SELECT extension, mime, content, player FROM cpg1411_filetypes; (0s)
    [1] => select * from cpg1411_plugins order by priority asc; (0s)
    [2] => delete from `sweetke_gallery`.cpg1411_sessions where time<1211924891 and remember=0; (0s)
    [3] => delete from `sweetke_gallery`.cpg1411_sessions where time<1210718891; (0s)
    [4] => select user_id from `sweetke_gallery`.cpg1411_sessions where session_id = '07bb202194abe4d634c7904525bc220b' (0s)
    [5] => select user_id as id, user_password as password from `sweetke_gallery`.cpg1411_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 `sweetke_gallery`.cpg1411_users AS u INNER JOIN `sweetke_gallery`.cpg1411_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='1' (0s)
    [7] => SELECT user_group_list FROM `sweetke_gallery`.cpg1411_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 cpg1411_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg1411_usergroups WHERE group_id= 1 (0s)
    [10] => update `sweetke_gallery`.cpg1411_sessions set time='1211928491' where session_id = '07bb202194abe4d634c7904525bc220b' (0s)
    [11] => SELECT user_favpics FROM cpg1411_favpics WHERE user_id = 1 (0s)
    [12] => DELETE FROM cpg1411_mod_online WHERE last_action < NOW() - INTERVAL 15 MINUTE (0s)
    [13] => REPLACE INTO cpg1411_mod_online (user_id, user_name, user_ip, last_action) VALUES ('1', 'Tathy', '201.52.115.118', NOW()) (0s)
    [14] => SELECT count(*) FROM  cpg1411_pms WHERE owner=1 (0s)
    [15] => SELECT count(*) FROM  cpg1411_pms WHERE owner=1 AND showed='0' (0s)
    [16] => SELECT count(*) FROM  cpg1411_buddy WHERE user_id=1 (0s)
    [17] => SELECT count(*) FROM  cpg1411_buddy_req WHERE buddy_to=1 (0s)
    [18] => DELETE FROM cpg1411_banned WHERE expiry < '2008-05-27 22:48:11' (0s)
    [19] => SELECT * FROM cpg1411_banned WHERE (ip_addr='201.52.115.118' OR ip_addr='201.52.115.118' OR user_id=1) AND brute_force=0 (0s)
    [20] => SELECT cid, name, description, thumb FROM cpg1411_categories WHERE parent = ''  ORDER BY pos (0s)
    [21] => SELECT aid FROM cpg1411_albums as a WHERE category>=10000 (0s)
    [22] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category >= 10000 (0s)
    [23] => SELECT aid FROM cpg1411_albums WHERE category = 20 (0s)
    [24] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 20 (0s)
    [25] => SELECT filepath, filename, url_prefix, pwidth, pheight FROM cpg1411_pictures WHERE pid='1149' (0s)
    [26] => SELECT aid FROM cpg1411_albums WHERE category = 2 (0s)
    [27] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 2 (0s)
    [28] => SELECT aid FROM cpg1411_albums WHERE category = 4 (0s)
    [29] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 4 (0.001s)
    [30] => SELECT aid FROM cpg1411_albums WHERE category = 21 (0s)
    [31] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 21 (0s)
    [32] => SELECT aid FROM cpg1411_albums WHERE category = 3 (0s)
    [33] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 3 (0s)
    [34] => SELECT aid FROM cpg1411_albums WHERE category = 5 (0s)
    [35] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 5 (0s)
    [36] => SELECT aid FROM cpg1411_albums WHERE category = 53 (0s)
    [37] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 53 (0s)
    [38] => SELECT aid FROM cpg1411_albums WHERE category = 66 (0s)
    [39] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 66 (0s)
    [40] => SELECT aid FROM cpg1411_albums WHERE category = 63 (0s)
    [41] => SELECT count(*) FROM cpg1411_pictures as p, cpg1411_albums as a WHERE p.aid = a.aid AND approved='YES' AND category = 63 (0s)
    [42] => SELECT aid FROM cpg1411_albums as a WHERE category = '0' (0s)
    [43] => SELECT count(*) FROM cpg1411_albums as a WHERE 1 (0s)
    [44] => SELECT count(*) FROM cpg1411_categories WHERE 1 (0s)
    [45] => SELECT count(*) FROM cpg1411_pictures as p LEFT JOIN cpg1411_albums as a ON a.aid=p.aid WHERE 1 AND approved='YES' (0.012s)
    [46] => SELECT sum(hits) FROM cpg1411_pictures as p LEFT JOIN cpg1411_albums as a ON p.aid=a.aid WHERE 1 (0.047s)
    [47] => SELECT count(*) FROM cpg1411_comments as c LEFT JOIN cpg1411_pictures as p ON c.pid=p.pid LEFT JOIN cpg1411_albums as a ON a.aid=p.aid WHERE 1 (0.001s)
    [48] => SELECT COUNT(*) FROM cpg1411_pictures WHERE approved = 'NO' (0.008s)
    [49] => SELECT COUNT(*) from cpg1411_pictures WHERE approved = 'YES'  (0.008s)
    [50] => SELECT * FROM cpg1411_pictures WHERE approved = 'YES'  ORDER BY pid DESC  LIMIT 0 ,6 (0s)
    [51] => SELECT count(*) FROM cpg1411_albums as a WHERE category = '0' (0s)
    [52] => SELECT COUNT(*) from cpg1411_pictures WHERE approved = 'YES' and hits > 0  (0.044s)
    [53] => SELECT *, UNIX_TIMESTAMP(mtime) as mtime FROM cpg1411_pictures WHERE approved = 'YES' and hits > 0  ORDER BY mtime DESC  LIMIT 0 ,6 (0.154s)
    [54] => SELECT count(cpg1411_albums.aid) FROM cpg1411_pictures,cpg1411_albums WHERE cpg1411_pictures.aid = cpg1411_albums.aid AND approved = 'YES'  GROUP  BY cpg1411_pictures.aid (0.023s)
    [55] => SELECT *,cpg1411_albums.title AS title,cpg1411_albums.aid AS aid FROM cpg1411_pictures,cpg1411_albums WHERE cpg1411_pictures.aid = cpg1411_albums.aid AND approved = 'YES'  GROUP BY cpg1411_pictures.aid ORDER BY cpg1411_pictures.ctime DESC  LIMIT 0 ,6 (0.175s)
    [56] => SELECT COUNT(*) from cpg1411_pictures WHERE approved = 'YES' AND hits > 0    (0.043s)
    [57] => SELECT * FROM cpg1411_pictures WHERE approved = 'YES'AND hits > 0   ORDER BY hits DESC, filename   LIMIT 0 ,6 (0.137s)
    [58] => SELECT count(*) FROM `sweetke_gallery`.cpg1411_users WHERE 1 (0s)
    [59] => SELECT COUNT(*) FROM cpg1411_mod_online (0s)
    [60] => SELECT COUNT(*) FROM cpg1411_mod_online WHERE user_id <> 0 (0s)
    [61] => SELECT user_id AS user_id, user_name AS user_name FROM `sweetke_gallery`.cpg1411_users ORDER BY user_id DESC LIMIT 1 (0s)
    [62] => SELECT user_id, user_name FROM cpg1411_mod_online WHERE user_id <> 0 (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 5.2.5 - OK
------------------
mySQL version: 4.1.22-standard
------------------
Coppermine version: 1.4.18(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.34 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
XPM Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 4.1.22
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
Stream Wrapper support compress.zlib://
Stream Filter support zlib.inflate, zlib.deflate
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 | /home/sweetke:/usr/lib/php:/usr/local/lib/php:/tmp | 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 | 16M | 16M
post_max_size | 32M | 32M
==========================
Page generated in 0.814 seconds - 63 queries in 0.653 seconds - Album set : ; Meta set: ;



Thanks!

tathy

I got it! I repair the mysql with phpMyAdmin and now it's working fine.  :)