Hallo
ich habe folgendes Problem:
Mambo habe ich auf c:/web/mamb auf der Festplatte entpackt. Danach habe ich die configuration.php folgendes eingetragen:
<?php
//************************************************** ***********************
//* Installation Instructions *
//* *
//* 1) COPY this file, "configuration-dist.php", to "configuration.php" *
//* [if it doesn't exist] *
//* 2) EDIT this new file "configuration.php" to suit your database *
//* connection and other local/hosted settings. *
//************************************************** ***********************
//
//************************************************** ***********************
//* Database configuration section *
//************************************************** ***********************
$host = 'localhost'; // This is normally set to localhost
$user = 'root'; // MySQL username
$password = ''; // MySQL password
$db = 'mamb'; // MySQL database name
$dbprefix = 'mos_'; // Do not change unless you need to!
//************************************************** ***********************
//* Site specific configuration *
//************************************************** ***********************
setlocale (LC_TIME, "de_DE"); // Country locale
$lang = 'def'; // Site language
$absolute_path = 'C:\web\mamb'; // No trailing slash
$live_site = 'http://localhost/mamb'; // No trailing slash
$sitename = 'Mambo 4.0.14 Stable'; // Name of Mambo site
$phpmyadmin = ''; // Path to phpMyAdmin
$popup = 0; // 0 = Off, 1 = On
$shownoauth = true; // Display links & categories users do not have access to
//************************************************** ***********************
//* Do not change ANYTHING below this line !!! *
//************************************************** ***********************
$local_backup_path = $absolute_path.'/administrator/backups';
$pdf_path = $absolute_path.'/pdf/';
$image_path = $absolute_path.'/images/stories';
$col = 3;
$row = 3;
if ($directory !='uploadfiles'){
$title[0]='Story Images';
$dir[0]=$absolute_path.'/images/stories';
$picurl[0]=$live_site.'/images/stories/';
$tndir[0]=$live_site.'/images/stories/';
} else {
$title[0]='Uploaded File Images';
$dir[0]=$absolute_path.'/uploadfiles/$Itemid';
$picurl[0]=$live_site.'/uploadfiles/$Itemid';
$tndir[0]=$live_site.'/uploadfiles/$Itemid';
}
include_once("$absolute_path/version.php");
>
wenn ich mir über http://localhost/mamb/index.php die Seite anschaue, kommen die Probleme:
Notice: Undefined variable: directory in C:\web\mamb\configuration.php on line 38
Notice: Undefined variable: directory in C:\web\mamb\configuration.php on line 38
Notice: Undefined index: usercookie in C:\web\mamb\index.php on line 36
Notice: Undefined variable: newsflashcookie in C:\web\mamb\newsflashCookie.php on line 22
Warning: Cannot modify header information - headers already sent by (output started at C:\web\mamb\configuration.php:38) in C:\web\mamb\newsflashCookie.php on line 49
Notice: Undefined variable: option in C:\web\mamb\SessionCookie.php on line 45
Notice: Undefined variable: option in C:\web\mamb\SessionCookie.php on line 61
Warning: Cannot modify header information - headers already sent by (output started at C:\web\mamb\configuration.php:38) in C:\web\mamb\SessionCookie.php on line 74
Notice: Undefined variable: directory in C:\web\mamb\configuration.php on line 38
Notice: Undefined variable: option in C:\web\mamb\themes\mambobizz.php on line 27
Notice: Undefined variable: detection in C:\web\mamb\themes\mambobizz.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at C:\web\mamb\configuration.php:38) in C:\web\mamb\themes\mambobizz.php on line 36
dann sehe ich eine fehlerhafte Mambo Page.
Was habe ich falsch gemacht? Ich finde den Fehler nicht.
MFG Matthias


LinkBack URL
About LinkBacks
Zitieren
Lesezeichen