PDA

Shop Support News Archive - Shopbetreiber News -> Forum : GPL Onlineshop Software xt eCommerce Templates Module SEO Support: : Open_basedir Restriction In Effect


Synapse
20.12.2006, 14:25
Hi,

ich bekomme im Admin Menue unter "Mein Shop" folgende Fehlermeldung:


Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/srv/www/htdocs/web567/html/templates///..) is not within the allowed path(s): (/srv/www/htdocs/web567/html/:/srv/www/htdocs/web567/phptmp/:/srv/www/htdocs/web567/files/:/srv/www/htdocs/web567/atd/) in /srv/www/htdocs/web567/html/admin/includes/functions/general.php on line 1328

ich habe schon mit der Suche alle Tipps abgeklappert.

Inhalt der Zeile 1328 in der general.php
if (is_dir(DIR_FS_CATALOG.'templates/'."//".$templates) and ($templates != "CVS") and ($templates != ".") and ($templates != "..")) {****


safe_mod ist on

_SERVER["DOCUMENT_ROOT"]
/srv/www/htdocs/web567/html


_SERVER["PHP_SELF"]
/admin/server_info.php


Hat noch jemand ne Idee ?


Gruß Stephan

Synapse
20.12.2006, 16:51
Neuinstallation hat auch nichts gebracht :(

phrench
20.12.2006, 17:47
''>ZITAT(Synapse @ Dec 20 2006, 14:25) 16979
safe_mod ist on
[/b]
ich musste es off schalten, damit xtc funktioniert.
allerdings bin ich mir nicht mehr sicher, ob es nicht evtl. mit einer erweiterung zusammen hängte, dass safe_mode on nicht geschluckt wurde...

Synapse
20.12.2006, 18:12
danke, werde mal meinen Hoster anschreiben das er es deaktiviert.

Synapse
22.12.2006, 14:31
also am Safe_mod on lag es nicht. Es steht jetzt auf off und das Problem besteht nach wie vor.

Hat noch wer ne Idee ?

Gruß Stephan

HarryBoo
22.12.2006, 17:21
Dein Code in der general.php
if (is_dir(DIR_FS_CATALOG.'templates/'."//".$templates) and ($templates != "CVS") and ($templates != ".") and ($templates != "..")) {
Rnichtig muss es heißen
if (is_dir(DIR_FS_CATALOG.'templates/'."//".$templates)

Kopiere am besten die Datei neu auf den Server (aus dem orig. Installpaket)

Synapse
24.12.2006, 09:49
Hi,

habs kopiert aber ohne Erfolg :(

Code in der original Datei lautet:


****if (is_dir(DIR_FS_CATALOG.'templates/'."//".$templates) and ($templates != "CVS") and ($templates != ".") and ($templates != "..")) {
****************$templates_array[] = array ('id' => $templates, 'text' => $templates);