I have nothing to do with the shadowbox code.Artack wrote:Hi Nick
this line in shadow.cssbrake css validationCode: Select all
#sb-overlay{height:expression(document.documentElement.clientHeight+'px');}
I personally use highslide only.
I have nothing to do with the shadowbox code.Artack wrote:Hi Nick
this line in shadow.cssbrake css validationCode: Select all
#sb-overlay{height:expression(document.documentElement.clientHeight+'px');}
Ahh a dreaded SQL error! Please help me find the cause and fix it because the gallery script does look wonderful. The only error I got was that when I went to clear the subsilver2 themes cache it says that "This theme is stored on the filesystem so there is no need to refresh it.". Please help! Thank you in advance!SQL ERROR [ mysql4 ]
Unknown column 'gu.personal_album_id' in 'field list' [1054]
SQL
SELECT u.*, z.friend, z.foe, p.*, gu.personal_album_id, gu.user_images FROM (phpbb_users u, phpbb_posts p) LEFT JOIN phpbb_zebra z ON (z.user_id = 342 AND z.zebra_id = p.poster_id) WHERE p.post_id IN (35254, 35250) AND u.user_id = p.poster_id
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal_mysql->sql_error()
FILE: galleryviewtopic.php
LINE: 946
CALL: dbal_mysql->sql_query()
Code: Select all
<?php
/**
*
* @package phpBB Gallery
* @version $Id: index.php 1214 2009-06-26 12:35:47Z nickvergessen $
* @copyright (c) 2007 nickvergessen [email protected] http://www.flying-bits.org
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
* @ignore
*/
define('IN_PHPBB', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpbb_root_path = $gallery_root_path = './forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . $gallery_root_path . 'includes/root_path.' . $phpEx);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_root_path . 'includes/functions_display.' . $phpEx);
include($phpbb_root_path . 'includes/message_parser.' . $phpEx);
//Own files
//include($phpbb_root_path . 'common.' . $phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup(array('mods/gallery', 'mods/info_acp_gallery', 'mods/portal'));
$gallery_root_path = GALLERY_ROOT_PATH;
include($phpbb_root_path . $gallery_root_path . 'includes/common.' . $phpEx);
include($phpbb_root_path . $gallery_root_path . 'includes/permissions.' . $phpEx);
include($phpbb_root_path . $gallery_root_path . 'includes/functions_display.' . $phpEx);
/**
* Recent images & comments and random images
*/
include($phpbb_root_path . $gallery_root_path . 'includes/functions_recent.' . $phpEx);
$ints = array(
'rows' => 5,
'columns' => 2,
'comments' => 5,
'contests' => 1,
);
recent_gallery_images($ints, 189, 1, false, true, 'album', 0);
page_header($user->lang['GALLERY']);
$template->set_filenames(array(
'body' => 'site/index_body.html')
);
page_footer();
?>
Code: Select all
PHP Warning: include(./forum/./forum/includes/root_path.php) [<a href='function.include'>function.include</a>]: failed to open stream: No such file or directory in G:\\www_root\\testing\\phpBB3\\index.php on line 18, referer: http://192.168.0.2/testing/phpBB3/forum/gallery/index.php
PHP Warning: include() [<a href='function.include'>function.include</a>]: Failed opening './forum/./forum/includes/root_path.php' for inclusion (include_path='.;C:\\php5\\pear') in G:\\www_root\\testing\\phpBB3\\index.php on line 18, referer: http://192.168.0.2/testing/phpBB3/forum/gallery/index.php