Contenido_Security Problem
Verfasst: Mo 11. Aug 2008, 11:42
Hallo,
also ich habe folgenden Fehler bekommen:
Das ganze ist dadurch entstanden, dass ich das Frontent aus dem Ordner cms verschoben habe in das basedir.
Jetzt schau ich mir die front_content.php an und was sehen meine entzündeten Äuglein?
Also die Reihenfolge sollte anders herum sein, dass erst die config.php geladen wird, oder? Und es sollten Variablen genutzt werden... Summa summarum funktioniert es nun so:
also ich habe folgenden Fehler bekommen:
Code: Alles auswählen
Warning: include_once(../contenido/classes/class.security.php) [function.include-once]: failed to open stream: No such file or directory in /home/andrdin/public_html/statistic/front_content.php on line 61
Warning: include_once() [function.include]: Failed opening '../contenido/classes/class.security.php' for inclusion (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /home/andrdin/public_html/statistic/front_content.php on line 61
Fatal error: Class 'Contenido_Security' not found in /home/andrdin/public_html/statistic/front_content.php on line 62
Jetzt schau ich mir die front_content.php an und was sehen meine entzündeten Äuglein?
Code: Alles auswählen
// include security class and check request variables
include_once ('../contenido/classes/class.security.php');
Contenido_Security::checkRequests();
# include the config file of the frontend to init the Client and Language Id
include_once ("config.php");
# Contenido startup process
include_once ($contenido_path."includes/startup.php");
Code: Alles auswählen
# include the config file of the frontend to init the Client and Language Id
include_once ("config.php");
// include security class and check request variables
include_once ($contenido_path."classes/class.security.php");
Contenido_Security::checkRequests();
# Contenido startup process
include_once ($contenido_path."includes/startup.php");