Loading...
 
Themes

Themes


Smarty errors: open_basedir restriction in effect - for nonexistent files?

I suppose this is the right forum to ask - I got a TW4.2 running, but get loads or Smarty errors, a dozen errors on every page, like this:

Error
Copy to clipboard
PHP (5.2.6-1+lenny8) ERROR (E_WARNING): File: lib/smarty/libs/internals/core.get_include_path.php Line: 34 Type: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/share/php/lib/smarty_tiki//modifier.md5.php) is not within the allowed path(s): (/var/www/xxxxx/htdocs/public:/var/www/xxxxx/tmp/)


This keeps going on with files like: modifier.count.php, compiler.menu.php, block.menu.php, modifier.ucfirst.php. None of these files even exist on the whole server!

Sry, if I missed s.th. obvious - I'm only two weeks into tikiwiki and so far it went very well.


Thanks for your quick reply, but safe_mode is off. Only open_basedir is set to those two paths (above).

Strangely enough the smarty-errors are gone if I leave open_basedir undefined... I just don't get it why there are errors about non-existing files (is this a PHP-thing about catching errors?).

For sure I don't want to leave open_basedir unset, so I'll try the Open Basedir tweaks - Thank you very much, Rick!