Seite 4 von 5
Verfasst: 27.05.2004 11:08
von musashi
Hier gibts:
http://www.php-styles.com/dload.php?act ... egory&id=3 die aktuellere Version mit Buttons und install.txt ...
FAQ sind fertig, kommen in bälde hinzu.
Verfasst: 20.06.2004 11:18
von henrik
habe die auktion erfolgreich installier´t...
habe nur ein problem ... die ins normale forum (portal) einzubinden ...komme nur über die adminseite auf die auktion...
die auktionsräume werden nicht angezeit ??
muss doch möglich sein alles zur auktion auch gleich im portal darzustellen oder ??
Verfasst: 24.06.2004 10:05
von musashi
Dann hast Du definitiv vergessen etwas einzubinden
Support gibts btw. auch bei den Machern:
http://www.phpbb-auction.com/
Verfasst: 26.06.2004 11:30
von jojooriginal
habe den auctions mod eingebaut und funktioniert soweit gut, nur im acp bei a2 roomangement kommt dieser fehler..
benutze minerva
Fatal error: Cannot redeclare get_max_depth() (previously declared in /home/www/web207/html/phpBB2/includes/functions.php:31) in /home/www/web207/html/phpBB2/includes/functions.php on line 31
das steht in der functions.php bei line 31
// get the depth level
function get_max_depth($cat_id)
{
global $db;
if ($cat_id < 0) $cat_id = 0;
$local_depth = 0;
$sql = "select * from " . CATEGORIES_TABLE . " where cat_main = $cat_id";
if( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Could not query categorie parm', '', __LINE__, __FILE__, $sql);
while ( $row = $db->sql_fetchrow($result) )
{
$branch_depth = get_max_depth( $row['cat_id'] );
if ( $cat_id > 0 ) $branch_depth++;
if ( $branch_depth > $local_depth ) $local_depth = $branch_depth;
}
return $local_depth;
}
Verfasst: 26.06.2004 22:15
von Christian_W
Versuch's mal so:
Ersetzte den von Dir geposteten Code mit diesem:
Code: Alles auswählen
if ( !function_exists(get_max_depth) )
{
function get_max_depth($cat_id)
{
global $db;
if ($cat_id < 0) $cat_id = 0;
$local_depth = 0;
$sql = "select * from " . CATEGORIES_TABLE . " where cat_main = $cat_id";
if( !($result = $db->sql_query($sql)) ) message_die(GENERAL_ERROR, 'Could not query categorie parm', '', __LINE__, __FILE__, $sql);
while ( $row = $db->sql_fetchrow($result) )
{
$branch_depth = get_max_depth( $row['cat_id'] );
if ( $cat_id > 0 ) $branch_depth++;
if ( $branch_depth > $local_depth ) $local_depth = $branch_depth;
}
return $local_depth;
}
}
Gruß Christian
Verfasst: 05.07.2004 14:55
von jojooriginal
habe ich ersetzt. jetzt steht da aber..
Fatal error: Cannot redeclare get_auth_cat_order() (previously declared in /home/www/web207/html/phpBB2/includes/functions.php:50) in /home/www/web207/html/phpBB2/includes/functions.php on line 50
zeile 49-52
// build the cat list sorted
function get_auth_cat_order(&$cat_row, &$cat_list, $cat_main=0, $level=0)
{
global $db;
weisst du dafür auch ne lösung?
Verfasst: 05.07.2004 15:53
von Christian_W
Verlinke mal die admin_auction_room.php und die functions.php
KB:datei
Gruß Christian
Verfasst: 05.07.2004 23:47
von jojooriginal
Verfasst: 07.07.2004 06:40
von Christian_W
Versuch mal das:
Code: Alles auswählen
----- öffne -----
common.php
----- suche ------
<?php
----- füge danach ein -----
echo ("common.php wurde aufgerufen<br>");
----- öffne -----
includes/functions.php
----- suche ------
<?php
----- füge danach ein -----
echo ("functions.php wurde aufgerufen<br>");
Danach sollte auf jeder Seite oben stehen:
common.php wurde aufgerufen
functions.php wurde aufgerufen
Was (wie oft) steht da jetzt bei Dir?
Gruß Christian
Verfasst: 07.07.2004 13:50
von jojooriginal
beim einloggen ist jetzt folgendes:
[ externes Bild ]
beim ausloggen steht:
common.php wurde aufgerufen
functions.php wurde aufgerufen
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web207/html/phpBB2/common.php:2) in /home/www/web207/html/phpBB2/includes/sessions.php on line 375
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web207/html/phpBB2/common.php:2) in /home/www/web207/html/phpBB2/includes/sessions.php on line 376
Warning: Cannot modify header information - headers already sent by (output started at /home/www/web207/html/phpBB2/common.php:2)
in /home/www/web207/html/phpBB2/includes/functions.php on line 1144
bei jder anderen seite steht immer nur :
common.php wurde aufgerufen
functions.php wurde aufgerufen