Seite 1 von 1

Probleme nach Installation

Verfasst: Do 6. Feb 2003, 23:25
von Grobis
Hallo,

ich bin neu hier bei contenido und habe einige Probleme:
Die config.php habe ich manuel konfiguriert.
Wenn ich nun das Setup beendet habe und dann den Link auf das Login Fenster klicke, bekomme ich den IIS Fehler 403. Keine Berechtigung für diese Seite.
Versuche ich über url ../contenido/index.php contenido zu starten bekomme ich folgende Fehlermeldungen:
0) { extract($arr, EXTR_OVERWRITE); } } ?>
Warning: main(C:/pascal/contenido/ontenido42/contenido42/conlib/prepend.php3) [function.main]: failed to create stream: No such file or directory in C:\pascal\contenido\contenido42\contenido42\contenido\inc\config.php on line 99

Warning: main() [function.main]: Failed opening 'C:/pascal/contenido/ontenido42/contenido42/conlib/prepend.php3' for inclusion (include_path='.;c:\php4\pear') in C:\pascal\contenido\contenido42\contenido42\contenido\inc\config.php on line 99

Fatal error: Call to undefined function: page_open() in C:\pascal\contenido\contenido42\contenido42\contenido\index.php on line 12

Ich habe folgende Software Konfig:
MS XP ohne Sp1; PHP 4.3.0; IIS 4.0; contendio 4.2

Wer kann mir helfen? :P

gruss pascal

Ich denke mal das liegt an dem Pfad vom php

Verfasst: Fr 7. Feb 2003, 12:33
von victor
du solltest den pfad des php verzeichnisses dir mal anschauen, denke das ist das problem aber so pauschal kann man das ja nicht sagen. Leider bin ich jetzt gleich weg sonst würde ich dir gerne helfen.

Schau einfach mal in der php.ini wo der pfad steht

Weitere Fehler

Verfasst: Mo 10. Feb 2003, 21:43
von Grobis
Super den Fehler habe ich gefunden, es war eine falsche Pfadangabe.
Allerdings bleiben immernoch zwei weitere:
Parse error: parse error, unexpected T_VARIABLE in C:\pascal\contenido\contenido42\contenido42\contenido\inc\config.php on line 92

Fatal error: Call to undefined function: page_open() in C:\pascal\contenido\contenido42\contenido42\contenido\index.php on line 12

Wie kann es dazu kommen? Ich habe keine Idee :cry:

Verfasst: Di 11. Feb 2003, 11:15
von ekke
wenn es nur local liegt, kannst Du Dein config mal posten?

Gruss ekke

Conig posten

Verfasst: Di 11. Feb 2003, 13:47
von Grobis
Werde ich im Laufe des Abends gerne machen, da ich im Moment nicht an meinem Privat PC sitze. Ich vermute das Pfadangaben nicht korrekt sind, habe allerdings gestern keine Fehler entdecken können.
Melde mich wieder

Config

Verfasst: Di 11. Feb 2003, 18:58
von Grobis
Ich habe den Fehler gefunden, ich hatte ein Semikolon vergessen, aber nichts für ungut, nun habe ich folgenden Fehler:
Warning: Cannot modify header information - headers already sent by (output started at C:\pascal\contenido\contenido42\contenido42\contenido\inc\globals_off.inc.php:1) in C:\pascal\contenido\contenido42\contenido42\conlib\session.inc on line 462

Hie die Config:
<?PHP
//Parse all GET, POST and COOKIE vars
require_once ("C:/pascal/contenido/contenido42/contenido42/contenido/inc/globals_off.inc.php");
/******************************************************************************
Description : Defines all general variables of Contenido.
Copyright : four for business AG
Authors : Olaf Niemann, Björn Brockmann (bjoern@project-gooseberry.de)
Urls : www.contenido.de
Create date : 2002-08-08
********************************************************************************/

// MYSQL SETUP
$contenido_host = 'kapa';
$contenido_database = 'test';
$contenido_user = '<!--{user}-->';
$contenido_password = '<!--{pass}-->';


// PATH NAMES OF CONTENIDO
$cfgPathContenido = "C:/pascal/contenido/ontenido42/contenido42/contenido/";


// NEWSLETTER
$cfgNewsletter["from"] = "pascal.kammerer@gmx.ch";


//**************** CLIENT 1 *****************************

$cfgClient[1]["path"]["frontend"] = "C:/pascal/contenido/contenido42/contenido42/front_frame/"; // for Contenido PHP
$cfgClient[1]["path"]["htmlpath"] = "front_frame/"; // for Contenido-HTML
$cfgClient[1]["htmlpath"]["frontend"] = "../".$cfgClient[1]["path"]["htmlpath"];// for linking to files in frontend from contenido (main -> dis_editcontent)

//**** just comment out one of those blocks to not display this folder for upload ************
$cfgClient[1]["path"]["img"] = $cfgClient[1]["path"]["frontend"]."img/";
$cfgClient[1]["htmlpath"]["img"] = $cfgClient[1]["htmlpath"]["frontend"]."img/";
$cfgClient[1]["frontendpath"]["img"] = "img/";
$cfgClient[1]["actionname"]["img"] = "Bilder";
$cfgClient[1]["text"]["img"] = "Laden Sie ein Bild auf den Webserver";
$cfgClient[1]["filetype"]["img"] = "img";

$cfgClient[1]["path"]["pdf"] = $cfgClient[1]["path"]["frontend"]."pdf/";
$cfgClient[1]["htmlpath"]["pdf" ] = $cfgClient[1]["htmlpath"]["frontend"]."pdf/";
$cfgClient[1]["frontendpath"]["pdf"] = "pdf/";
$cfgClient[1]["actionname"]["pdf"] = "PDF";
$cfgClient[1]["text"]["pdf"] = "Laden Sie ein PDF-Dokument auf den Webserver";
$cfgClient[1]["filetype"]["pdf"] = "pdf";


//**************** CLIENT 2 *****************************

$cfgClient[2]["path"]["frontend"] = "C:/pascal/contenido/contenido42/contenido42/front_single/";
$cfgClient[2]["path"]["htmlpath"] = "front_single/";
$cfgClient[2]["htmlpath"]["frontend"] = "../".$cfgClient[2]["path"]["htmlpath"]; // for linking to files in frontend from contenido (main -> dis_editcontent)

//**** just comment out one of those blocks to not display this folder for upload ************
$cfgClient[2]["path"]["img"] = $cfgClient[2]["path"]["frontend"]."img/";
$cfgClient[2]["htmlpath"]["img"] = $cfgClient[2]["htmlpath"]["frontend"]."img/";
$cfgClient[2]["frontendpath"]["img"] = "img/";
$cfgClient[2]["actionname"]["img"] = "Bilder";
$cfgClient[2]["text"]["img"] = "Laden Sie ein Bild auf den Webserver";
$cfgClient[2]["filetype"]["img"] = "img";

$cfgClient[2]["path"]["pdf"] = $cfgClient[2]["path"]["frontend"]."pdf/";
$cfgClient[2]["htmlpath"]["pdf" ] = $cfgClient[2]["htmlpath"]["frontend"]."pdf/";
$cfgClient[2]["frontendpath"]["pdf"] = "pdf/";
$cfgClient[2]["actionname"]["pdf"] = "PDF";
$cfgClient[2]["text"]["pdf"] = "Laden Sie ein PDF-Dokument auf den Webserver";
$cfgClient[2]["filetype"]["pdf"] = "pdf";

//---------------------------------------------------------
// DON'T CHANGE ANYTHING BELOW
//---------------------------------------------------------


//---------------------------------------------------------
// SOME MORE VARS
//---------------------------------------------------------

//SOME MORE PATHES
$cfgPathDoc = "doc/";
$cfgPathImg = "img/";
$cfgPathInc = "inc/";
$cfgPathJs = "js/";
$cfgPathTpl = "tpl/";
$cfgPathFrontendImg = "img_site/";
//$cfgPathContenidoPhplib = str_replace('contenido/*', 'conlib/', $cfgPathContenido . '*');
$cfgPathContenidoPhplib = "C:/pascal/contenido/contenido42/contenido42/conlib/";
// HTML
$cellpadding = "1";
$cellspacing = "2";
$border = "0";

//---------------------------------------------------------
// INCLUDE SOME COMMON FILES
//---------------------------------------------------------

//Include phplib
include_once ($cfgPathContenidoPhplib . 'prepend.php3');


//---------------------------------------------------------
// NOT SUPPORTED YET
//---------------------------------------------------------

// LANGUAGE
//$cfgLanguage = "de";

// FORMAT FOR DATE / TIME
// $cfgFormatDate = "DD.MM.YYYY";
// $cfgFormatTime = "hh:mm";

?>
Danke für die Hilfe :lol:

Verfasst: Di 11. Feb 2003, 19:35
von ekke
im globals_off.inc.php ist hinter dem endtag eine Leerzeile und welche dazwischen, das gibt auf manchen Servern Probleme,
beim config auch.

Gruss ekke

Server Problem mit Leerzeile

Verfasst: Di 11. Feb 2003, 20:31
von Grobis
Super, das war es, nun funktioniert die Installation einwandfrei....
Danke für die Hilfe...... :lol: