Question
I had installed twiki 4.1.2, the last version, after I finish the basic installation: ref:
TWiki04x01.TWikiInstallationGuide step 7, i got two errors
Error: TWiki.pm could not be loaded. The error was:
Use of uninitialized value in concatenation (.) or string at /var/www/twiki/lib/TWiki.pm line 342.
BEGIN failed--compilation aborted at /var/www/twiki/lib/TWiki.pm line 454.
Compilation failed in require at (eval 68) line 3.
Error: Check path to twiki/lib and check that LocalSite.cfg is present and readable
Note: I have changed all the permissions for the twiki/lib to make the files rwx for user and admin and the group. And I have used the LocalSite.cfg.txt as a template for the LocalSite.cfg and I’m sure about the correct path. And im using perl 5.8. but I still have the same problem….any clue to this problem ??????
Environment
--
MohammedQader - 08 May 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Your mistake was to "use the LocalSite.cfg.txt as a template for the LocalSite.cfg". Delete your hand-crafted LocalSite.cfg, and run configure to let it generate a correct LocalSite.cfg.
--
CrawfordCurrie - 14 May 2007
I made the same mistake once. We removed
LocalSite.cfg.txt from the package since TWiki 4.1.2 to avoid the confusion.
--
PeterThoeny - 15 May 2007