Just some little fixes on recent CVS... these are only modifications to let the board run...
THESE ARE NOT TO BE CONSIDERED OFFICIAL FIXES. Many of the files are still missed or incomplete... so there are still many unwanted errors... please, let the developer work.
Open your DB, go to the users table and set
user_style to have a default of 1
Open
includes/sessions.php.
Find:
Code: Select all
$sql = 'SELECT DISTINCT s.style_id, t.*, c.*, i.*
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TPL_TABLE . ' t, ' . STYLES_CSS_TABLE . ' c, ' . STYLES_IMAGE_TABLE . " i
WHERE s.style_id IN ($style, " . $config['default_style'] . ')
AND t.template_id = s.template_id
AND c.theme_id = s.theme_id
AND i.imageset_id = s.imageset_id';
$result = $db->sql_query($sql, 3600);
Replace with:
Code: Select all
$sql = 'SELECT DISTINCT s.*, t.*, c.*, i.*
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TPL_TABLE . ' t, ' . STYLES_CSS_TABLE . ' c, ' . STYLES_IMAGE_TABLE . ' i
WHERE s.style_id = ' . $style . '
AND t.template_id = s.template_id
AND c.theme_id = s.theme_id
AND i.imageset_id = s.imageset_id';
$result = $db->sql_query($sql);
These should fix the blank pages when the board is installed. It worked for me.
Bye
8)