Posts: 2
Sun 11 Nov, 2007 12:34
Subject: FAP SUPPORT - Problem When Trying To Enlarge A Picture
Everything works but if I try to enlarge a picture it gives this error.
I'm using: IMportal, Ch2.16e , phpbb 2.0.22 and now full album mod 2.16e, birthday mod and calender mod
- Fatal error: Cannot redeclare class bbcode in /home/jeroen/domains/jeroen.kmowebsite.be/public_html/forum/includes/bbcode.php on line 31
in bbcode.php comes these lines:(
the line in red is line 31)
//-- mod : categories hierarchy ------------------------------------------------
//-- add
class bbcode
{
var $bbcode_tpl;
function bbcode()
{
$this->bbcode_tpl = false;
}
function read()
{
// load templates from file into array.
$this->bbcode_tpl = load_bbcode_template();
// prepare array for use in regexps.
$this->bbcode_tpl = prepare_bbcode_template($this->bbcode_tpl);
}
}
tnx in advance
Posts: 1030
Sun 11 Nov, 2007 15:20
Subject: Re: Problem When Trying To Enlarge A Picture
I don´t know what´s your problem. I think i have mis-understood you.
So, what´s your promblem?
Posts: 2
Sun 11 Nov, 2007 20:36
Subject: Re: Problem When Trying To Enlarge A Picture
if you try to enlarge a picture, you get this error.
the slide show works, only at the end with this in the url: "h**p://jeroen.kmowebsite.be/forum/album_showpage.php?pic_id=11#TopPic"
you also get this error. I really don't know what I did wrong.
tnx in advance.
EDIT: Now I searched some more there is this strange thing in the FAP manual:
I only did the things in red.
#-----[ OPEN ]------------------------------------------------
#
includes/constants.php
#
#-----[ FIND ]------------------------------------------------
#
// finaly, delete the user
$sql = 'DELETE FROM ' . USERS_TABLE . '
WHERE user_id IN(' . implode(', ', array_keys($user_ids)) . ')';
unset($user_ids);
$db->sql_query($sql, false, __LINE__, __FILE__);
unset($sql);
$count_user_ids = $db->sql_affectedrows();
#
#-----[ BEFORE, ADD ]------------------------------------------
#
//-- mod : Mighty Gorgon - Full Album Pack 1.4.1 (CH 2.1.6e) --------------------------------------
// find all pics from user
$sql = "SELECT pic_filename, pic_thumbnail
FROM " . ALBUM_TABLE . "
WHERE pic_user_id = $user_id";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not obtain album information for this user', '', __LINE__, __FILE__, $sql);
}
while ($row = $db->sql_fetchrow($result))
{
@unlink('../' . ALBUM_UPLOAD_PATH . $row['pic_filename']);
@unlink('../' . ALBUM_CACHE_PATH . $row['pic_thumbnail']);
}
// delete them all
$sql = "DELETE
FROM " . ALBUM_TABLE . "
WHERE pic_user_id = $user_id";
if( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Could not delete album information for this user', '', __LINE__, __FILE__, $sql);
}
//-- end mod : Mighty Gorgon - Full Album Pack 1.4.1 (CH 2.1.6e) ----------------------------------
#
#-----[ OPEN ]------------------------------------------------
#
includes/constants.php
#
#-----[ OPEN ]------------------------------------------------
#
includes/constants.php
#
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
#
#-----[ AFTER, ADD ]------------------------------------------
#
//-- mod : Mighty Gorgon - Full Album Pack 1.4.1 (CH 2.1.6e) --------------------------------------
define('ALBUM_MOD_PATH', 'album_mod/');
define('ALBUM_FILES_PATH', 'album_mod/upload/');
include($phpbb_root_path . ALBUM_MOD_PATH . 'album_constants.' . $phpEx);
//-- end mod : Mighty Gorgon - Full Album Pack 1.4.1 (CH 2.1.6e) ----------------------------------
Page 1 of 1
You
cannot post new topics
You
cannot reply to topics
You
cannot edit your posts
You
cannot delete your posts
You
cannot vote in polls
You
cannot attach files
You
can download files
You
cannot post calendar events