Re: Re: Re: the old story - error messages - caching / directory setup
''> Hiya, Its not the correct way. No temp directories should be hardcoded.
>
> The correct way would be to replace with the tikilib:tempdir() function to return the value of the Admin->General.
>"
I am under Linux and have the same problem with refresh.php
How should I tweak this file to remove warnings?
I tried to write there hardcoded dir like
`/home/virtual/XXX/html/tmp/tikidebug `
but still get warnings
Warning: fopen(/home/virtual/XXX/www/html/tmp/tikidebug): failed to open stream: Is a directory in /home/virtual/XXX/html/tikiwiki/lib/search/refresh.php on line 48
Warning: fwrite(): supplied argument is not a valid stream resource in /home/virtual/XXX/html/tikiwiki/lib/search/refresh.php on line 48
Warning: fclose(): supplied argument is not a valid stream resource in /home/virtual/XXX/html/tikiwiki/lib/search/refresh.php on line 48
I have in Admin/General value `tmp`
Please help!