Problem adding topic
Hi,
I just installed tikiwiki for testing, so this will probably be a very newbie question
When I try to add a topic with an image, I get errors:
Warning: fopen(): open_basedir restriction in effect. File(/tmp/php3GVlkv) is not within the allowed path(s): (..:.:/usr/lib/php:/usr/lib/php/Smarty:/usr/share/webapps) in /path_to_my_docroot/tiki/tiki-admin_topics.php on line 30
Warning: fopen(/tmp/php3GVlkv): failed to open stream: Operation not permitted in /path_to_my_docroot/tiki/tiki-admin_topics.php on line 30
...
This is on my development server. My open_basedir:
open_basedir = "..:.:/usr/lib/php:/usr/lib/php/Smarty:/usr/share/webapps"
I don't want to include /temp, because there are the temporary files for all users (like sessions ).
imo the correct way for the script would be to move the uploaded file to it's own temporary directory with move_uploaded_file() and then try to open it.
Or did I miss a simple workaround?
Thanks for tikiwiki
GeG
PS: i just noticed that the same happens when you try to uplad an image when adding an article. But it does work when adding pictures to the image gallery.