Loading...
 
Skip to main content

Architecture / Installation


Some problems with images upload

Hello everybody.

I've just installe tikiwiki version 1.8.6 and it looks great, but I'm having problems with articles and banners.

When I try to upload a banner image (or an article with an image), this is what it says:

Warning: fopen(): open_basedir restriction in effect. File(/var/tmp/phpb8nZ6C) is not within the allowed path(s): (/home/technolo:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/technolo/public_html/main/tiki-edit_banner.php on line 259

Warning: fopen(/var/tmp/phpb8nZ6C): failed to open stream: Operation not permitted in /home/technolo/public_html/main/tiki-edit_banner.php on line 259

Warning: filesize(): open_basedir restriction in effect. File(/var/tmp/phpb8nZ6C) is not within the allowed path(s): (/home/technolo:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/technolo/public_html/main/tiki-edit_banner.php on line 261

Warning: fread(): supplied argument is not a valid stream resource in /home/technolo/public_html/main/tiki-edit_banner.php on line 261

Warning: fclose(): supplied argument is not a valid stream resource in /home/technolo/public_html/main/tiki-edit_banner.php on line 262

I've checked the php safe mode and is OFF. Any idea?

Thanks a lot.


Damian, now images in articles work! Thanks you a lot.

But I'm still having troubles with banners... the message is the same.
At the beginning I've just added "ini_set('include_path','.');" to the files specified; then I've tried to add "ini_set('session.save_path','/some/dir/where/u/can/write/');" too, but it doesn't work.

I haven't changed the file tiki_install.php cause tikiwiki is already installed and the file no longer exists...
Should I re-install tikiwiki with that line added to tiki_install.php??