Home > Perl Error > Perl Error When Reading Localsite

Perl Error When Reading Localsite

restore the line Alias /foswiki "/var/www/foswiki/bin/view" comment the lines AuthUserFile, AuthName, AuthType and the FilesMatch "^(configure)$" block (or just that block, or the require user in that block) restart Apache the Solution I simply commented out line 82 or LocalSite.cfg with a '#' and it compiled fine after that. BEGIN failed--compilation aborted at F:\twiki\bin\view.pl line 30. at /var/www/foswiki/bin/view line 43 -- JimChan - 09 Jul 2009 Its always good to create the initial version of your LocalSite.cfg with configure. Source

We're always expanding our docs. Status: Answered TWiki version: 4.2.4 Perl version: 5.10.0 Category: CategoryInstallation Server OS: MS Windows Server 2003 Last update: 7 years ago Hi, I'm installing Twiki on MS 2003 server. Thanks in advance. == Software error: Content-type: text/plain Perl error when reading LocalSite.cfg: Please inform the site admin. at /var/www/foswiki/lib/Foswiki.pm line 498 require Foswiki.pm called at /var/www/foswiki/bin/view line 43 main::BEGIN() called at /var/www/foswiki/lib/Foswiki.pm line 498 eval {...} called at /var/www/foswiki/lib/Foswiki.pm line 498 Compilation failed in require at /var/www/foswiki/bin/view line http://www.twiki.org/cgi-bin/view/Support/ConfigureScriptBombing

Other spec files (those for extensions) are 49 *not* read. 50 51 The assumption is that =configure= will be run when an extension is installed, 52 and that will add the Compilation failed in require at /etc/httpd/twiki/bin/view line 30. For more information about access control with Apache, consider the Rule Based Access Control document. For more information about "Load.pm" see the Fossies "Dox" file reference documentation and the latest Fossies "Diffs" side-by-side code changes report: 6.0.1_vs_6.0.2. 1 # Module of TWiki Enterprise Collaboration Platform, http://TWiki.org/

at /var/foswiki/lib/Foswiki.pm line 498 require Foswiki.pm called at /var/foswiki/bin/view line 43 main::BEGIN() called at /var/foswiki/lib/Foswiki.pm line 498 eval {...} called at /var/foswiki/lib/Foswiki.pm line 498 Compilation failed in require at /var/foswiki/bin/view line I then get a "Topic 'Configure' does not exist" page. Here, my guess is that, as you've protected it with Apache, Apache will see the protection, and issue a 401 to the browser. However when 142 =configure= runs it has to get default values for config vars that have not 143 yet been saved to =LocalSite.cfg=. 144 145 Returns a reference to a list

I'm thinking that alfredo's installed foswiki using the debian package, and then used the apacheConfigurator - which is not an expected thing :/ there is a shorterurl config in /etc/foswiki that I agree (and so does Crawford) that Foswiki shouldn't crash when there is no LocalSite.cfg, just like it should work without any LocalLib.cfg I will also try your patch on one comment the line Alias /foswiki "/var/www/foswiki/bin/view" and restart Apache point to the same address configuration page can be accessed after authentication, like it is supposed to be that alias is needed http://www.twiki.org/cgi-bin/view/Support/SID-01063 Of course, the aim you described would still not be met: As for 1.

In the “Store Settings” change the value of the {StoreImpl} value to RcsLite. On the next page select the “Save” option to save these settings. It is on my TODO list, with lots of other things, but I will try to check this ASAP. The status selector is below the edit box.

TWiki Contributors 5 # are listed in the AUTHORS file in the root of this distribution. 6 # NOTE: Please extend that file, not this notice. 7 # 8 # Additional https://foswiki.org/Tasks/Item1829 BEGIN failed--compilation aborted at /data/twiki/lib/TWiki.pm line 526. Because of this flexibility, TWiki straddles the boundary between web application and web application framework. I agree (and so does Crawford) that Foswiki shouldn't crash when there is no LocalSite.cfg, just like it should work without any LocalLib.cfg.

I own quite some perl literature - but none covers the inner working of @INC ... this contact form at /var/foswiki/bin/view line 43 For help, please send mail to the webmaster (webmaster@foswiki), giving this error message and the time and date of the error. Modify the references to example.com and /srv/www/example.com/ to reflect the domain name and file paths for you deployment. /etc/apache2/conf.d/twiki.conf 1 2 3 4 5 6 7 8 9 10 11 12 BEGIN failed--compilation aborted at /cygdrive/f/twiki/lib/TWiki.pm line 467.

Get started in the Linode Cloud today. Send feedback. This is not, and should not be, within the public DocumentRoot for your site. have a peek here I then manually created lib/LocalSite.cfg following the instructions for maual installation in the guide.

Add the following line to the /srv/www/example.com/twiki/lib/LocalSite.cfg” file. Compilation failed in require at /data/twiki/bin/view line 41. at /var/lib/foswiki/lib/Foswiki.pm line 615 require Foswiki.pm called at /var/lib/foswiki/bin/view line 22 main::BEGIN() called at /var/lib/foswiki/lib/Foswiki.pm line 615 eval {...} called at /var/lib/foswiki/lib/Foswiki.pm line 615 Compilation failed in require at /var/lib/foswiki/bin/view line

As we want the 401 to be the registration page (so the user can press cancel and have it), it will call the Foswiki engine to render it, and this will

I'm closing this no action. When I go to http://localhost/foswiki/bin/configure , I get "perl error reading LocalSite.cfg" (see below). Or is the problem somewhere else? -- DetlefMarxsen - 2010-12-20 Discussion and Answer Did you set the twiki/bin/LocalLib.cfg as described in TWikiInstallationGuide? -- PeterThoeny - 2011-01-02 See also related SID-01024. -- The "Software error" message I quoted above seems to complain about "Perl error when reading LocalSite.cfg" ...

Click “Next” and “Save” to store these values. Here are what my permissions look like: drwxr-xr-x 5 apache apache 4096 Jul 8 18:09 lib in lib: -rw-r--r-- 1 apache apache 65143 Jul 8 15:42 LocalSite.cfg -- JimChan - 09 Congratulations! Check This Out This screen was accessed without requiring authentication.

Ask community in the support forum.Copyright © 1999-2016 by the contributing authors. If you like to help people, can write, and want to earn some cash, learn how you can earn $250 for every guide you write and we publish. Any recurrence, re-open this task, with details of how to reproduce. -- CrawfordCurrie - 07 Jul 2010 ItemTemplate edit Summary Configure shouldn't crash if there is no LocalSite.cfg ReportedBy RaulFRodriguez Codebase Prepare System and Install TWiki Install Prerequisites Issue the following commands to update your system’s package database and ensure that all installed packages are up to date: 1 2apt-get update apt-get

I am installing foswiki 1.0.6 on CentOS 5.3. See Copyright Statement. Čeština Dansk Deutsch Ελληνικά English Español Suomi Français Italiano 日本語 Nederlands Norsk Polski Português Português brasileiro Русский Svenska tlhIngan Hol Українська 简体中文 正體中文 About Blog Extensions Regards -- LucGarcia - 19 Mar 2009 Discussion and Answer - Update 1: I got the LocalSite.cfg from the net and edited it. SupportCategory CategoryInstallation TWiki version 4.2.4 Server OS MS Windows Server 2003 Web server IIS 6 Perl version 5.10.0 Edit|Attach|Watch|Print version|History: r3