Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.
open_basedir Problem

 
Post new topic   Reply to topic    Smarty Forum Index -> Language: German
View previous topic :: View next topic  
Author Message
nochbr1
Smarty Rookie


Joined: 07 Jan 2013
Posts: 6

PostPosted: Sat Jan 12, 2013 8:29 pm    Post subject: open_basedir Problem Reply with quote

Newbie hat schon wieder en Problem und hat noch nicht mal ne Ahnung, ob er im richtigen Forum fragt.... Sad

Schaut euch bitte mal diese Fehlermeldung aus den Error-Logfiles an:

Code:

12.01.2013 20:38 --------------------------------
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custom//shop.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custum//shop.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custom//header.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custum//header.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/compiler.minify.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/block.minify.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custom//user.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custum//user.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custom//handlings.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custum//handlings.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/compiler.handling.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/compiler.cycle.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/block.cycle.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/compiler.eval.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/block.eval.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/compiler./handling.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custom//footer.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custum//footer.tpl) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/compiler.printMsg.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/block.printMsg.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
12.01.2013 20:38 --------------------------------
Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: recursion detected, /var/www/web66/html/test/includes/controller/controller.pos.ajax.php @ 107
12.01.2013 20:39 --------------------------------
Warning: is_writable() [<a href='function.is-writable'>function.is-writable</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/libs/swift/preferences.php @ 15
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/modifier.ucwords.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/compiler.valuta.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34
Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/usr/share/pear/plugins/block.valuta.php) is not within the allowed path(s): (/var/www/web66/html/:/var/www/web66/phptmp/:/var/www/web66/files/:/var/www/web66/atd/:/usr/share/php/), /var/www/web66/html/test/includes/smarty/internals/core.get_include_path.php @ 34


Im folgenden Bruchstück aus dem Code:
Code:

File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custom//shop.tpl)

sind 2 mal // hintereinander. Kann das sein? Wohin verweist der Pfad oder kapiers ich einfach nicht?

Kann mir einer einen Tipp geben, wie ich die "verbotenen Pfade", wo hinzufügen muss, damit die Fehlermeldungen abgestellt sind?

Was mir auch noch ein Rätsel ist, es scheint so, dass im Internet das script funktioniert, trotz diesen Fehlermeldungen.


Auszug aus der PHP konfiguration:
Code:
include_path .:/usr/share/php:/usr/share/pear


Kann es sein, dass smarty den Pfad nicht findet und dann automatisch den Pfad aus der PHP Konfiguration nimmt? (findet Fehler, funktioniert aber trotzdem?)

Was bedeutet:
Code:
Warning: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: recursion detected, /var/www/web66/html/test/includes/controller/controller.pos.ajax.php @ 107

(Möglicherweise bleibt mir an dieser Stelle das script stehen)


Und dann war da noch die nächste Zeile:
Code:
Warning: is_writable() [<a href='function.is-writable'>function.is-writable</a>]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s):

Soll da was in /tmp geschrieben werden? Hab ich das Verzeichnis überhaupt?

Sorry, Fragen über Fragen....

Gruß Achim
Back to top
View user's profile Send private message
nochbr1
Smarty Rookie


Joined: 07 Jan 2013
Posts: 6

PostPosted: Sun Jan 13, 2013 3:39 pm    Post subject: Reply with quote

Da wäre jetzt noch folgende Frage:

in diesem Schnipsel (Zeile 1 aus der oberen Fehlermeldung):
Code:
File(/usr/share/pear//var/www/web66/html/test/includes/template/pos/custom//shop.tpl)


mit den beiden // hintereinander.

Kann es sein, dass wenn der Pfad so aussähe:

Code:
File(/usr/share/pear/:/var/www/web66/html/test/includes/template/pos/custom/:/shop.tpl)


dass dann der Fehler weg wäre?

Kann es sein, dass smarty "vergisst" den Doppelpunkt zu setzen? (wg. Fehler in einer define...)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> Language: German All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP