Hallo,
ich habe ein Problem und zwar hab ich ein kleines CMS geschrieben, am localhost läuft alles ohne Prbleme, aber auf meinem Webserver kommt es zu Fehlern.
Und zwar wird das hier angezeigt.
Quellcode:
Code der Datei:
Kann mir bitte jemand helfen?
Danke
ich habe ein Problem und zwar hab ich ein kleines CMS geschrieben, am localhost läuft alles ohne Prbleme, aber auf meinem Webserver kommt es zu Fehlern.
Und zwar wird das hier angezeigt.
Quellcode:
PHP:
<b>Warning</b>: file_exists() [<a href='function.file-exists'>function.file-exists</a>]: open_basedir restriction in effect. File(/../includes/modules/gallery/admin/templates/gallery.tpl) is not within the allowed path(s): (/var/www/web14/html/:/var/www/web14/phptmp/:/var/www/web14/files/:/var/www/web14/atd/) in <b>/var/www/web14/html/deep-coding/cms/demo/includes/classes/smarty/libs/Smarty.class.php</b> on line <b>1644</b><br />
<br />
Code der Datei:
PHP:
include("../includes/modules/".$_GET['mod']."/admin/index.php");
$tpl->assign("page", "../includes/modules/".$_GET['mod']."/admin/templates/".$page."");
Danke