Seite 1 von 2
Fehler bei der Installation von Smartor Album Mod??
Verfasst: 09.05.2004 16:22
von zdslgrex
Hallo ich habe vollgendes Problem mit dem Album Mod von Smartor:
Nachdem ich alles nach Anleitung übernommen habe, kommt immer vollgender Fehler wenn ich auf den Album-Link klicke:
Code: Alles auswählen
Fatal error: Call to undefined function: session_pagestart() in /raid/domains/de/b/blue-water-diver/htdocs/www/modules/Forums/album.php on line 5
Kann mir jemand sagen woran das liegt?
Weis nicht mehr weiter.
Vielen Dank
Grex
Verfasst: 09.05.2004 23:19
von Markus67
Hi ...
welche phpBB Version setzt du ein ....
Alle Dateien in die richtigen Ordner hochgeladen ?
Markus
Verfasst: 10.05.2004 15:38
von zdslgrex
Also, das steht bei mir in der Admin:
Code: Alles auswählen
Powered by phpBB 2.0.6 © 2001 phpBB Group
phpBB port v2.0.5 based on Tom Nitzschner's phpbb2.0.6 upgraded to phpBB 2.0.5 standalone.
Ported and tested by:
Nuke Cops
BBtoNuke 2.0.5 by Nuke Cops © 2003
Die Dateien befinden sich alle in den richtigen Ordnern. Hab da so ca. 20mal nachgeprüft!!

Verfasst: 10.05.2004 15:50
von Markus67
Hast du auch die Dateien gemäß der Installationsanweisung editiert ?
Das sieht danach aus als wenn das was fehlen würde ...
Markus
Verfasst: 10.05.2004 21:34
von zdslgrex
Jep, alles nach Anleitung gemacht! Schon 3 mal!! ;(
Ich denke das mit der verlinkung in der constants.php die auf den "angeblich" fehlenden Befehl in der album_constants.php verweist was nicht stimmt.
Codeauschnitt der constants.php
Code: Alles auswählen
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
// Album MOD
include($phpbb_root_path . 'album_mod/album_constants.' . $phpEx);
// Debug Level
//define('DEBUG', 1); // Debugging on
define('DEBUG', 1); // Debugging off
Code der album_constants.php
Code: Alles auswählen
<?php
/***************************************************************************
* album_constants.php
* -------------------
* begin : Saturday, February 01, 2003
* copyright : (C) 2003 Smartor
* email : smartor_xp@hotmail.com
*
* $Id: album_constants.php,v 1.0.4 2003/02/23 20:50:48 ngoctu Exp $
*
***************************************************************************/
/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die('Hacking attempt');
}
define('PAGE_ALBUM', -19); // for Session Handling
define('PERSONAL_GALLERY', 0); // pic_cat_id <- do NOT change this value
// User Levels for Album system <- do NOT change these values
define('ALBUM_ANONYMOUS', -1);
define('ALBUM_GUEST', -1);
define('ALBUM_USER', 0);
define('ALBUM_ADMIN', 1);
define('ALBUM_MOD', 2);
define('ALBUM_PRIVATE', 3);
// Path (trailing slash required)
define('ALBUM_UPLOAD_PATH', 'album_mod/upload/');
define('ALBUM_CACHE_PATH', 'album_mod/upload/cache/');
// Table names
define('ALBUM_TABLE', $table_prefix.'album');
define('ALBUM_CAT_TABLE', $table_prefix.'album_cat');
define('ALBUM_CONFIG_TABLE', $table_prefix.'album_config');
define('ALBUM_COMMENT_TABLE', $table_prefix.'album_comment');
define('ALBUM_RATE_TABLE', $table_prefix.'album_rate');
?>
Verfasst: 10.05.2004 23:09
von Markus67
Hi ...
Wenn ich das vorhin richtig verstanden habe hast du ein Nuke .... und ich weiss nicht genau wie die ganze Sache da funktioniert .... und wo da die Fehler liegen können ....
Sorry ... Vielleicht kann dir da jemand anders weiterhelfen ....
Hast du mal bei Smartor nachgesehen ob es dort ein ähnliches Problem gab ?
Markus
Fehlermeldung beim start von Album_mod
Verfasst: 13.05.2004 18:38
von Baldwin
Hallo,
ich denke das ich alles nach Anleitung installiert habe die SQl Tabellen sind auch alle vorhanden ich bekomme aber folgende Fehlermeldung
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in c:\programme\foxserv\www\phpbb2\includes\constants.php on line 30
phpBB : Critical Error
Could not query config information
DEBUG MODE
SQL Error : 1146 Table 'mysql.config_table' doesn't exist
SELECT * FROM CONFIG_TABLE
Line : 176
File : c:\programme\foxserv\www\phpbb2\common.php
hier ein Auszug aus der constans.php
Code: Alles auswählen
***************************************************************************/
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
Don't worried! This file is very *lite*
// Album MOD
include($phpbb2_root_path . 'album_mod/album_constants.' . $phpEx);
define('MODULES_TABLE', $table_prefix . 'stats_modules');
define('STATS_CONFIG_TABLE', $table_prefix . 'stats_config');
// Debug Level
//define('DEBUG', 1); // Debugging on
define('DEBUG', 1); // Debugging off
// User Levels <- Do not change the values of USER or ADMIN
define('DELETED', -1);
define('ANONYMOUS', -1);
hat jemand ne idee woran es liegen könnte
Gruß Baldwin
Verfasst: 13.05.2004 18:53
von Andy120
Da fehlt dir immer noch ne Tabelle nämmlich: SQL Error : 1146 Table 'mysql.config_table' doesn't exist
Verfasst: 13.05.2004 19:00
von andreasOymann
Lösche bitte die Zeile
in der constants.php...
Verfasst: 13.05.2004 19:51
von Baldwin
@Andy120 also das mit der Tabelle hatte ich auch vermutet, aber offensichtlich hatte
andreasOymann recht habe den Text rausgenommen und siehe da das Board läuft. Danke noch mal.
Aber alle Fehler scheinen noch nicht raus zu sein beim Aufruf vom Admin-
bereich kommt jetzt noch ne Fehlermeldung
Warning: Failed opening 'album_mod/album_constants.php' for inclusion (include_path='.;c:\php4\pear') in c:\programme\foxserv\www\phpbb2\includes\constants.php on line 29
Warning: Cannot add header information - headers already sent by (output started at c:\programme\foxserv\www\phpbb2\includes\constants.php:29) in c:\programme\foxserv\www\phpbb2\admin\index.php on line 593
Warning: Cannot add header information - headers already sent by (output started at c:\programme\foxserv\www\phpbb2\includes\constants.php:29) in c:\programme\foxserv\www\phpbb2\admin\index.php on line 594
die constans.php sieht jetzt wie folgt aus
if ( !defined('IN_PHPBB') )
{
die("Hacking attempt");
}
// Album MOD
include($phpbb2_root_path . 'album_mod/album_constants.' . $phpEx);
define('MODULES_TABLE', $table_prefix . 'stats_modules');
define('STATS_CONFIG_TABLE', $table_prefix . 'stats_config');
// Debug Level
//define('DEBUG', 1); // Debugging on
define('DEBUG', 1); // Debugging off
// User Levels <- Do not change the values of USER or ADMIN
Gruß
Baldwin