pragmaMx Support Forum

Archive => veraltete bzw. unsupportete Systeme und Module => Alt Archive => eBoard => Thema gestartet von: Energy-drink am 21 Mai 2005, 20:51:21

Titel: Fehlermeldung Eboard in der setting.php
Beitrag von: Energy-drink am 21 Mai 2005, 20:51:21
folgende fehlermeldung sehe ich wenn ich den Debugmodus einschalte wenn ich z.b. Profile ansehe.

Notice: Use of undefined constant prefix - assumed 'prefix' in /www/htdocs/******/modules/eBoard/settings.php on line 27

leider weiß ich nicht was an der Zeile 27 falsch sein sollte da ich manuell nichts geändert habe.. hier ein ausschnitt vom anfang meiner settings.php

<?php

######################################################################
/**********************************************************************/
/* pragmaMx/vkpMx/phpnuke  Content Management System Platform         */
/* ================================================================== */
/*                                                                    */
/* This file is to configure eBoard-forum module                      */
/* options for your site.                                             */
/*                                                                    */
/* Based on XMB and XForum                                            */
/*                                                                    */
/* This program is freeware from http://www.maax-design.de.           */
/*                                                                    */
/* Copyright (C) 2004 by the maax-design Developer Team               */
/* homepage:     http://www.maax-design.de &                          */
/**********************************************************************/
if (!function_exists('is_user')) die ("You can't access this file directly...");
######################################################################


# eBoard-version
$versioninfo "1.1.a";

# Database settings
$nukesystem "phpnuke5x";
$tablepre "{$GLOBALS[prefix]}_eBoard_";
$table_banned      $tablepre.'banned';
$table_forums      $tablepre.'forums';
$table_links       $tablepre.'links';
$table_members     $tablepre.'members';
$table_posts       $tablepre.'posts';
$table_ranks       $tablepre.'ranks';
$table_smilies     $tablepre.'smilies';
$table_themes      $tablepre.'themes';
$table_threads     $tablepre.'threads';
$table_whosonline  $tablepre.'whosonline';
$table_words       $tablepre.'words';
$table_nukemembers $GLOBALS['user_prefix'].'_users';
$table_nukepm      $GLOBALS['prefix'].'_priv_msgs';

# This value activated on a standard-nuke 5.5 or greater system will cause problems!
$gzipcompress "off";

# general settings
$bbname "Forum";
$sitename "*********";
$siteurl "http://www.*******.de/";
$avastatus "on";
$eb_avatarwidth "";
$eb_avatarheight "";
$eb_avatarsizeteam "off";
$eb_avatarsizemember "off";
$eb_avatarsizedefault "off";
$avatarpath "images/forum/avatar";
$teamavatarpath "images/forum/member_avatar";
$memberavatarpath "images/forum/member_avatar";
$langfile "german_du";
$XFtheme "default";
$affheader "on";
$afffooter "on";
$lastpostsubj "on";
$lastpostsubjchars "25";
$linkforumstatus "off";
$linkthreadstatus "off";
$postperpage "25";
$topicperpage "30";
$memberperpage "45";
$hottopic "50";
$floodctrl "5";

# Boardstatus-settings
$bbstatus "on";
$bboffreason "";
# Boardstatus End

$whosonlinestatus "on";
$advancedonlinestatus "on";
$regstatus "on";
$coppa "off";
$regviewonly "off";
$catsonly "off";
$hideprivate "on";
$showsort "on";
Titel: Re: Fehlermeldung Eboard in der setting.php
Beitrag von: RiotheRat am 21 Mai 2005, 22:17:25
Das ist keine Fehlermeldung, sondern ein Hinweis ... steht ja schon da "Notice" ... das zu ändern ist einfach.
Mach mal aus $tablepre = "{$GLOBALS[prefix]}_eBoard_";folgendes$tablepre = "{$GLOBALS['prefix']}_eBoard_";und das Notice müsste historisch sein.

RtR
Titel: Re: Fehlermeldung Eboard in der setting.php
Beitrag von: Energy-drink am 21 Mai 2005, 23:23:00
okay werde es mal ausprobieren.

aber aus welchen Grund kommt der hinweiß?? steckt doch bestimmt ein Grund dahinter das dieser Hinweiß kommt.