The problem is not in your include path but in basedir path. You
probably uploaded your phptal libraries into a directory that is
forbidden for your scripts. Try running
ini_get('open_basedir');
to check what dir is allowed and then move your libraries into that
dir or one of its subdirs.

Or if you are lazy, just move it to the same dir your execute your
scripts from, this one certainly Is allowed. Your libraries will be
visible form the net but thats a minor problem because they can't harm
your server when executed directly.

On Sun, Mar 16, 2008 at 5:26 PM, Thomas Müller <[EMAIL PROTECTED]> wrote:
> hi,
>
>  i have a problem with a webhosting server. this server has very restrictiv
>  rules. so i can't modify or override any php.ini rules and i have limited
>  htaccess syntax (only accept, deny, Auth*, etc), ...
>
>  so all described path including ways won't work, like init_set,
>  set_include_path or php_value. i'd tried all.
>
>  result was every time like that:
>  [CODE]
>  Warning: main() [function.main]: open_basedir restriction in effect.
>  File(/PHPTAL/FileSource.php) is not within the allowed path(s):
>  (/pathto/phptal-login/httpdocs:/tmp) in
>  /pathto/phptal-login/httpdocs/extlib/phptal/PHPTAL.php on line 57
>
>  Warning: main(PHPTAL/FileSource.php) [function.main]: failed to open stream:
>  Die Operation ist nicht erlaubt in
>  /pathto/phptal-login/httpdocs/extlib/phptal/PHPTAL.php on line 57
>
>  Fatal error: main() [function.require]: Failed opening required
>  'PHPTAL/FileSource.php' (include_path='.:.:.:') in
>  /pathto/phptal-login/httpdocs/extlib/phptal/PHPTAL.php on line 57
>  [/CODE]
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to