Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Fatel Error  (Read 4873 times)

0 Members and 1 Guest are viewing this topic.

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Fatel Error
« on: August 05, 2008, 05:49:05 am »

I need help and I hope that i am posting in the right place. I have been getting people telling me there getting a fatal error when clicking the gallery link off of my forum. I put the gallery in debug mode and the message that came up with the error I have attached it to the end of this message. I believe it has something to do with the phpBB2 integration. I turn off the integration and nobody complains, just say they don't like having to login different. Anyways i have contacted my Hosting company and they are scratching their heads as well. i am hoping that someone on here can help me out. The site forum is www.prettyscrappy.com/forum
Now I hardly get this error message, but I did get it when i wasn't logged in to the forum. i logged in and now I don't get the error at all no matter if I am logged in or not. IE gives the error more often than not. Also one of our desginers posted a link when she got the error message. Here is that link
http://prettyscrappy.com/gallery/thumbnails.php?album=lastupby&uid=283

Now if needed There is a test account that could be used UN: test1234 PS: test5678

Let me know if you need anything else
And thank you for your time

there is another message that came up with the debug:
Quote
While executing query "SELECT u.user_id, u.user_password, u.user_level FROM `pmemori_forum`.phpbb_sessions_keys AS s

INNER JOIN `pmemori_forum`.phpbb_users AS u ON s.user_id = u.user_id WHERE u.user_id = '2' AND u.user_active = 1 AND s.key_id = MD5('7f579789212052943f41e61503ad5e7e')" on Resource id #18

mySQL error: Table 'pmemori_forum.phpbb_sessions_keys' doesn't exist

Code: [Select]
USER:
------------------
Array
(
    [ID] => d37838da5f2448e6e3f589dad2b8cc97
    [am] => 1
    [lang] => english
    [liv] => Array
        (
            [0] => 28
            [1] => 30
            [2] => 29
            [3] => 31
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 2
    [user_name] => prettyscrappy
    [groups] => Array
        (
            [0] => 102
            [1] => 105
            [2] => 424
            [3] => 423
        )

    [disk_max] => 1024
    [disk_min] => 0
    [can_rate_pictures] => 0
    [can_send_ecards] => 0
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 0
    [can_upload_pictures] => 1
    [can_create_albums] => 0
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 1
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 102
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM ps08x_filetypes; (0.001s)
    [1] => select * from ps08x_plugins order by priority asc; (0.001s)
    [2] => SELECT * FROM ps08x_bridge (0.001s)
    [3] => SELECT u.user_id AS user_id, u.user_password AS password, u.user_level FROM `pmemori_forum`.phpbb_users AS u, `pmemori_forum`.phpbb_sessions AS s WHERE u.user_id=s.session_user_id AND s.session_id = '725de72f85267c7241d6abe9ea9a056c' AND u.user_id > 0 (0.001s)
    [4] => SELECT u.user_id AS id, u.username AS username, u.user_password AS password, ug.group_id AS group_id FROM `pmemori_forum`.phpbb_users AS u, `pmemori_forum`.phpbb_user_group AS ug WHERE u.user_id=ug.user_id AND u.user_id='2' (0.001s)
    [5] => SELECT ug.group_id+100 AS group_id FROM `pmemori_forum`.phpbb_users AS u, `pmemori_forum`.phpbb_user_group AS ug, `pmemori_forum`.phpbb_groups as g WHERE u.user_id=ug.user_id AND u.user_id='2' AND g.group_id = ug.group_id AND  group_single_user = 0 (0.002s)
    [6] => 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 ps08x_usergroups WHERE group_id in (102,105,424,423) (0.001s)
    [7] => SELECT group_name FROM  ps08x_usergroups WHERE group_id= 102 (0.001s)
    [8] => SELECT description from ps08x_albums WHERE aid='random' (0.001s)
    [9] => SELECT user_favpics FROM ps08x_favpics WHERE user_id = 2 (0.005s)
    [10] => DELETE FROM ps08x_banned WHERE expiry < '2008-08-05 03:15:28' (0.001s)
    [11] => SELECT * FROM ps08x_banned WHERE (ip_addr='98.198.183.157' OR ip_addr='98.198.183.157' OR user_id=2) AND brute_force=0 (0.001s)
    [12] => SELECT aid from ps08x_pictures WHERE pid='22'  LIMIT 1 (0.001s)
    [13] => SELECT title,keyword from ps08x_albums WHERE aid='25' (0.001s)
    [14] => SELECT COUNT(*) from ps08x_pictures WHERE ((aid='25'  ) )   (0.001s)
    [15] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from ps08x_pictures WHERE ((aid='25'  ) )   ORDER BY pid DESC  (0.008s)
    [16] => SELECT title,keyword from ps08x_albums WHERE aid='25' (0.001s)
    [17] => SELECT COUNT(*) from ps08x_pictures WHERE ((aid='25'  ) )   (0.001s)
    [18] => SELECT * from ps08x_pictures WHERE ((aid='25'  ) )   ORDER BY pid DESC  LIMIT 3 ,1 (0.002s)
    [19] => SELECT title, comments, votes, category, aid FROM ps08x_albums WHERE aid='25' LIMIT 1 (0.001s)
    [20] => SELECT username as user_name FROM `pmemori_forum`.phpbb_users WHERE user_id = '132' (0.001s)
    [21] => SELECT cid, name, parent FROM ps08x_categories WHERE cid = '1' (0.001s)
    [22] => SELECT msg_id, msg_author, msg_body, UNIX_TIMESTAMP(msg_date) AS msg_date, author_id, author_md5_id, msg_raw_ip, msg_hdr_ip, pid FROM ps08x_comments WHERE pid='22' ORDER BY msg_id ASC (0.003s)
    [23] => SELECT COUNT(*) FROM ps08x_pictures WHERE approved = 'NO' (0.001s)
    [24] => SELECT title,keyword from ps08x_albums WHERE aid='25' (0.001s)
    [25] => SELECT COUNT(*) from ps08x_pictures WHERE ((aid='25'  ) )   (0.006s)
    [26] => SELECT pid, filepath, filename, url_prefix, filesize, pwidth, pheight, ctime, aid, keywords, title, caption,hits,owner_id,owner_name from ps08x_pictures WHERE ((aid='25'  ) )   ORDER BY pid DESC  LIMIT 0 ,10 (0.002s)
)

==========================
GET :
------------------
Array
(
    [album] => random
    [cat] => 0
    [pos] => -22
)

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

==========================
VERSION INFO :
------------------
PHP version: 4.3.11 - OK
------------------
mySQL version: 4.1.20-max-log
------------------
Coppermine version: 1.4.18(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.20
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.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 | 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/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 | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 30000 | 30
max_input_time | -1 | -1
upload_max_filesize | 2M | 2M
post_max_size | 8M | 8M
==========================
Page generated in 0.138 seconds - 27 queries in 0.048 seconds - Album set : ; Meta set: ;
« Last Edit: August 05, 2008, 07:41:00 am by Joachim Müller »
Logged

prettyscrappy

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Fatel Error
« Reply #1 on: August 05, 2008, 07:14:44 am »

This is what my web hosting company is saying the problem is:

mySQL error: Table 'pmemori_forum.phpbb_sessions_keys' doesn't exist

This would be true because that table is not in your database pmemori_forum, you will need to add this phpbb_sessions_keys with the administrator database user.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Fatel Error
« Reply #2 on: August 05, 2008, 07:40:20 am »

As your webhost suggested: the error message comes from a missing phpbb table. Ask phpbb, not us.
Logged

Nibbler

  • Guest
Re: Fatel Error
« Reply #3 on: August 05, 2008, 01:12:51 pm »

Means you used the wrong bridge. Make sure you select the one that corresponds to your version of phpBB.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.