By the way, DON'T USE /tmp!! The next time your machine is rebooted,
it'll be wiped clean. Find another directory. I think we should not
default to /tmp, we should default to a directory inside the source tree
.. but I am overruled.
Dan
Norberto Meijome wrote:
> Craig Wickesser wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi,
>> I have installed phpwiki 1.3.9 on my web server and when i go to,
>> www.foo.com/wiki/ , i get
>>
>> lib/WikiDB/backend/file.php:122: Warning[2]:
>> fopen(/tmp/page_data/global_data): failed to open stream: Permission
>> denied
>>
>> Error while writing page 'global_data'
>>
>> now, www.foo.com/wiki/tmp does not already exist, but by looking at
>> the script...file.php will create it if it isnt there already.
>>
>>
> Craig,
> I think you'll find that /tmp/page_data/global_data probably refers to
> your filesystem's /tmp , i.e., not relative to your DocRoot. u may
> want to create that folder and make sure the user your web process
> runs as has write access to it.
>
> I am not sure why it's picking /tmp (I use SQL b/end) - i suppose a
> path hasnt been defined and it defaults to your system's TEMP.
>
> Best,
> Beto
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> Phpwiki-talk mailing list
> Php...@li...
> https://lists.sourceforge.net/lists/listinfo/phpwiki-talk
|