[ERLEDIGT] session Problem
Verfasst: 01.01.2008 22:53
Moin!
Konnte erfolgreich mein Board von Version 2.0.22 auf V3 updaten.
Nachdem ich aber das Portal eingebunden habe, kommt immer diese FM
Soweit so gut.
Hier der Inhalt von der portal.php
Wo ist nun mein Fehler?
Bin zwar neu hier im Forum, werde mich aber dennoch bemühen hier öfters auf zu tauchen.
Gruss
Schnibbel
+ + + + + + + + + + + + + + + + + + + +
EDIT*
habe das Problem selber lokalisieren können. War ein Ausgabefehler in der "function/session.php"
Hatte eine Zeile doppelt eingeführt.
+ + + + + + + + + + + + + + + + + + + +
Nachtrag...
Mein Portal Button oben links ist nicht aktiv. Wo ändere ich dieses?
Konnte erfolgreich mein Board von Version 2.0.22 auf V3 updaten.
Nachdem ich aber das Portal eingebunden habe, kommt immer diese FM
Code: Alles auswählen
SQL ERROR [ mysql4 ]
You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND t.template_id = s.template_id AND c.theme_id = s.theme [1064]
SQL
SELECT s.style_id, t.template_storedb, t.template_path, t.template_id, t.bbcode_bitfield, c.theme_path, c.theme_name, c.theme_storedb, c.theme_id, i.imageset_path, i.imageset_id, i.imageset_name FROM phpbb_v3styles s, phpbb_v3styles_template t, phpbb_v3styles_theme c, phpbb_v3styles_imageset i WHERE s.style_id = AND t.template_id = s.template_id AND c.theme_id = s.theme_id AND i.imageset_id = s.imageset_id
BACKTRACE
FILE: includes/db/mysql.php
LINE: 158
CALL: dbal_mysql->sql_error()
FILE: includes/session.php
LINE: 1377
CALL: dbal_mysql->sql_query()
FILE: portal.php
LINE: 26
CALL: user->setup()
Hier der Inhalt von der portal.php
Code: Alles auswählen
<?php
/*
*
* @package phpBB3 Portal a.k.a canverPortal ( www.phpbb3portal.com )
* @version $Id: portal.php,v 1.5 2007/08/19 17:51:00 angelside Exp $
* @copyright (c) Canver Software - www.canversoft.net
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
// Note: If you would like to have the portal in a different location than in the main phpBB3 directory
// You must change the following variable, and change the 'U_PORTAL' template variable in functions.php
define('IN_PHPBB', true);
define('IN_PORTAL', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './';
$phpbb_portal_path = (defined('PHPBB_PORTAL_PATH')) ? PHPBB_PORTAL_PATH : './portal/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
include($phpbb_portal_path . '/includes/functions.'.$phpEx);
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('portal'); <--- hier scheint der Wurm zu sein!?
Bin zwar neu hier im Forum, werde mich aber dennoch bemühen hier öfters auf zu tauchen.
Gruss
Schnibbel
+ + + + + + + + + + + + + + + + + + + +
EDIT*
habe das Problem selber lokalisieren können. War ein Ausgabefehler in der "function/session.php"
Hatte eine Zeile doppelt eingeführt.

+ + + + + + + + + + + + + + + + + + + +
Nachtrag...
Mein Portal Button oben links ist nicht aktiv. Wo ändere ich dieses?