From: Norberto M. <nu...@me...> - 2005-04-15 03:43:24
|
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 |