Seite 1 von 1

Warning: include_once Fehlermeldung

Verfasst: Di 23. Jun 2009, 11:40
von rimbimbi
Hallo,

ich erhalte nach der Installation folgenden Fehler (nur beim frontend):


Warning: include_once(classes/class.security.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/vhosts/XXXXXXX/subdomains/contenido.dev/httpdocs/cms/front_content.php on line 76

Warning: include_once() [function.include]: Failed opening 'classes/class.security.php' for inclusion (include_path='.:') in /var/www/vhosts/XXXXXXX/subdomains/contenido.dev/httpdocs/cms/front_content.php on line 76

Fatal error: Class 'Contenido_Security' not found in /var/www/vhosts/XXXXXXX/subdomains/contenido.dev/httpdocs/cms/front_content.php on line 77


XXXXXXX ist natürlich der Domainname.

Hab das Forum schon nach einer Lösung durchsucht, aber nichts gefunden.

Hab folgende Werte schon angepasst:

<Directory /var/www/vhosts/XXXXXXX/subdomains/contenido.dev/httpdocs>
php_admin_value open_basedir /var/www/vhosts/XXXXXXX/subdomains/contenido.dev/httpdocs
php_admin_flag register_globals On
php_admin_flag safe_mode off
</Directory>

Bitte um hilfe.

Re: Warning: include_once Fehlermeldung

Verfasst: Mi 24. Jun 2009, 00:30
von xmurrix
Hallo,

in der cms/config.php wird die Variable $contenido_path gesetzt. Normalerweise steht da folgendes:

Code: Alles auswählen

$contenido_path = "../contenido/";
Das ist der Pfad zum contenido-Ordner (Backend) vom cms-Ordner aus.

Endweder gibt es bei dir keine config.php im Ordner cms oder die Variable $contenido_path hat keinen Wert, also einen Leerstring.

Vermutlich hat das Setup die config.php nicht in das Verzeichnis cms schreiben können. Du kannst das Setup nochmal durchführen, die Konfig herunterladen, und manuell in das cms-Vezeichnis kopieren. Oder du korrigiertst die Pfadangabe manuell...

Gruß
xmurrix