From: Reini U. <ru...@x-...> - 2006-11-01 11:52:35
|
Karl schrieb: > I've set TEMP_DIR = /tmp but the problem is it's on a clustered system. > Each node on a cluster has it's own /tmp so setting it here doesn't work > it still has a problem with not finding it. What part of phpwiki > requires the /tmp folder? I'm using MySQL which I thought didn't require > the /tmp directory. Is there a line in the code somewhere that I can > comment out to get it working? We use /tmp for TEMP_DIR, PLUGIN_CACHED_CACHE_DIR and DATABASE_DIRECTORY in a lot of functions. Just set those to existing directories. Session-wide $TEMP should be used for the cache (editing, plugins), but user-specific $TEMP does not hurt. That's in config.ini: PLUGIN_CACHED_CACHE_DIR Upload needs TEMP, but this is a php.ini setting. DATABASE_TYPE = dba or file for pages and sessions stores at DATABASE_DIRECTORY. You should check SESSION_SAVE_PATH and USE_DB_SESSION with dba and file. > ----- Original Message ----- > *From:* Reini Urban <mailto:ru...@x-...> > *To:* Discussion on PhpWiki features, bugs, development. > <mailto:php...@li...> > *Sent:* Saturday, September 23, 2006 8:21 AM > *Subject:* Re: [Phpwiki-talk] /tmp folder causing and error > > Karl schrieb: > > I have paid a company to host among other things phpwiki for the > > development team where I work. > > I have successfully installed phpwiki in the past and have a > database > > full of entries (from a server we had it running on) to import > once it's > > working but the company that is hosting it for us uses a cluster of > > machines running CentOS 4.3 (I understand that clusters have a /tmp > > folder problem because each machine has it's own folder). > > The install is having major problems with the /tmp folder even > though we > > are using MySQL which shouldn't need it and redirecting all /tmp > entries > > to a new subdirectory. I have had a long look at it and the people > > hosting it for us have spent a good deal of time trying to solve the > > problem to no avail. > > > > The problem I'm getting is: > > > > Fatal Error: > > > > lib/FileFinder.php:192: Error: /tmp: file not found > > config/config.ini: > > ; In case your system has no idea about /tmp, TEMP or TMPDIR, > ; better provide it here. E.g. needed for zipdumps. > ;TEMP_DIR = /tmp > > > Has anyone here had experience of installing phpwiki on a clustered > > machine and can give me pointers? > > > > Does anyone know why it's trying to find a /tmp folder on a MySQL > > install in the first place? > > > > Does anyone know of a different wiki program that uses the same > database > > layout so I could just import my phpwiki database into it and have a > > working wiki? > > > > Thanks, > > > > Karl -- Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ |