From: Karl <ka...@co...> - 2006-09-21 16:03:58
|
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).=20 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:=20 Fatal Error: lib/FileFinder.php:192: Error: /tmp: file not found=20 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 |
From: Reini U. <ru...@x-...> - 2006-09-23 07:21:44
|
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/ |
From: Karl <ka...@co...> - 2006-09-25 09:03:11
|
I've set TEMP_DIR =3D /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? Karl ----- Original Message -----=20 From: Reini Urban=20 To: Discussion on PhpWiki features, bugs, development.=20 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=20 > development team where I work. > I have successfully installed phpwiki in the past and have a = database=20 > full of entries (from a server we had it running on) to import once = it's=20 > working but the company that is hosting it for us uses a cluster of=20 > machines running CentOS 4.3 (I understand that clusters have a /tmp=20 > folder problem because each machine has it's own folder). > The install is having major problems with the /tmp folder even = though we=20 > are using MySQL which shouldn't need it and redirecting all /tmp = entries=20 > to a new subdirectory. I have had a long look at it and the people=20 > hosting it for us have spent a good deal of time trying to solve the = > problem to no avail. > =20 > The problem I'm getting is: > =20 > Fatal Error: >=20 > 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 =3D /tmp > Has anyone here had experience of installing phpwiki on a clustered=20 > machine and can give me pointers? >=20 > Does anyone know why it's trying to find a /tmp folder on a MySQL=20 > install in the first place? >=20 > Does anyone know of a different wiki program that uses the same = database=20 > layout so I could just import my phpwiki database into it and have a = > working wiki? >=20 > Thanks, >=20 > Karl --=20 Reini Urban http://phpwiki.org/ http://murbreak.at/ http://helsinki.at/ http://spacemovie.mur.at/ = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys -- and earn = cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Phpwiki-talk mailing list Php...@li... https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |
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/ |