Home Help Search Register
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Join the BIGACE Team
Pages: [1]
  Print  
Author Topic: Undefined index: include  (Read 2022 times)
0 Members and 1 Guest are viewing this topic.
Zerstoiber
Geek
****
Posts: 116


« on: October 28, 2009, 07:48:33 AM »

Guten Morgen Zusammen

ich habe gerade meine Seite erfolgreich auf BigAce 2.7 upgedatet. Nun bekomme ich folgende Meldung im Log:

Code:
ID  291256
Namespace system
Datum 28.10.2009 07:44:26
Level Script
Datei /www/htdocs/w00a4716/consumer/cid1/include/function.inc.php
Zeile 2
Benutzer 1
Nachricht Undefined index: include
Stacktrace

Script Error:
    File "/www/htdocs/w00a4716/system/libs/init_session.inc.php" at "171" by "logScriptError" Class "DBLogger" Type "->" with "Array"
    File "/www/htdocs/w00a4716/consumer/cid1/include/function.inc.php" at "2" by "_bigace_error_handler" with "Array"
    File "/www/htdocs/w00a4716/consumer/cid1/modul/ADMIN-Bestellung-anzeigen/modul.php" at "2" with "Array" by "require_once"
    File "/www/htdocs/w00a4716/addon/smarty/plugins/function.modul.php" at "55" with "Array" by "include"
    File "/www/htdocs/w00a4716/consumer/cid1/smarty/templates_c/%%A0^A04^A0484AC6%%KrhenContenseite.tpl.php" at "38" by "smarty_function_modul" with "Array"
    File "/www/htdocs/w00a4716/addon/smarty/Smarty.class.php" at "1255" with "Array" by "include"
    File "/www/htdocs/w00a4716/addon/smarty/Smarty.class.php" at "1105" by "fetch" Class "Smarty" Type "->" with "Array"
    File "/www/htdocs/w00a4716/system/command/smarty.cmd.php" at "125" by "display" Class "Smarty" Type "->" with "Array"
    File "/www/htdocs/w00a4716/public/index.php" at "90" with "Array" by "include_once"


hier der Auszug aus der Datei:

Code:
require_once($GLOBALS['_BIGACE']['DIR']['include'].'connect.inc.php');

Was muss ich hier machen?

Viele Grüße
Logged
Kevin
Global Moderator
BIGACE Guru
*****
Posts: 2601



WWW
« Reply #1 on: October 28, 2009, 12:08:52 PM »

Uuppssss, ich glaube das wurde ersatzlos gestrichen. Sorry!!!!!

Nimm das hier stattdessen:
Code:
require_once(_BIGACE_DIR_CID.'include/connect.inc.php');
Logged

BIGACE needs you. Join the Team! | BIGACE Plugins | Using BIGACE for your business? Like the support? Think about a donation!
Kevin
Global Moderator
BIGACE Guru
*****
Posts: 2601



WWW
« Reply #2 on: October 28, 2009, 12:10:02 PM »

Oder noch einfacher - wenn die Dateien im gleichen Verzeichnis liegen:
Code:
require_once(dirname(__FILE__).'/connect.inc.php');
Logged

BIGACE needs you. Join the Team! | BIGACE Plugins | Using BIGACE for your business? Like the support? Think about a donation!
Zerstoiber
Geek
****
Posts: 116


« Reply #3 on: October 29, 2009, 10:58:35 AM »

macht ja nichts. Jetzt läuft das System richtig sauber. So ganz ohne Fehlermeldungen im Log. Saubere Arbeit. Bin echt begeistert.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF | Simple Machines LLC