https://www.icyphoenix.com/viewtopic.php?f=26&t=3095&p=21367#p21367
-----------------------------------
woete
Sun 11 Nov, 2007 20:36

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: "http://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) ----------------------------------[color=#ff0000][/color]


