Home > Perl Error > Perl Error When Reading Localsite

Perl Error When Reading Localsite

We discussed this on IRC with IsaacLin, and, even though I've seen users complaining about that before, I've never really understood the issue. One possibility is that there is a syntax error in the file (it can happen sometimes. All material on this collaboration platform is the property of the contributing authors. 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 his comment is here

Next, click on the “General path settings” option to ensure that the configuration script has properly deduced the location of all required files. All material on this collaboration platform is the property of the contributing authors. Čeština Dansk Deutsch Ελληνικά English Español Suomi Français Italiano 日本語 Nederlands Norsk Polski Português Português brasileiro Because of this flexibility, TWiki straddles the boundary between web application and web application framework. 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

I'm closing this no action. 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. -- On the next page select the “Save” option to save these settings. Modify the following lines if you wish to deploy TWiki at a different location on your domain. /etc/apache2/conf.d/twiki.conf 1 2 3 4ScriptAlias /wiki/bin "/srv/www/example.com/twiki/bin" Alias /wiki/pub "/srv/www/example.com/twiki/pub" Alias /wiki/ "/srv/www/example.com/twiki/bin/view/"

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 BEGIN failed--compilation aborted at -e line 1. Follow the installation instructions at http://foswiki.org/System/InstallationGuide up to the point you have to configure Apache Use the Apache Config Generator at http://foswiki.org/Support/ApacheConfigGenerator Configure it to require that an authorised user has Ask community in the support forum.Copyright © 1999-2016 by the contributing authors.

The path you configure for TWiki need not correlate to the actual location of the files on the file system. Thanks. -- LucGarcia - 19 Mar 2009 Change status to: Asked question Answered question Closed unanswered If you answer a question - or someone answered one of your Compilation failed in require at F:\twiki\bin\view.pl line 30. Therefore, I've coded the following patch, which I'll commit as soon as I successfully test it on my windows installation, and maybe some others.

at /usr/share/perl/5.8/CGI/Carp.pm line 356 CGI::Carp::realdie('Content-type: text/plain\x{a}\x{a}Perl error when reading LocalSite.c...') called at /usr/share/perl/5.8/CGI/Carp.pm line 437 CGI::Carp::die('Content-type: text/plain\x{a}\x{a}Perl error when reading LocalSite.c...') called at /var/www/foswiki/lib/Foswiki/Configure/Load.pm line 56 Foswiki::Configure::Load::readConfig() called at /var/www/foswiki/lib/Foswiki.pm line The status selector is below the edit box. TWiki is a robust “structured wiki” roughly comparable to other “Enterprise” wiki solutions such as Confluence. 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

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. 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 Use expand($hashref) if the item 123 is not a plain scalar. 124 125 Happens to return true if something has been expanded, though I don't 126 know whether you would want I know I should do some changes to that file from some cookbooks but I cannot find the file to do it.

Check by issuing the command "perl LocalSite.cfg" from the command-line. http://setiweb.org/perl-error/perl-error-when-reading-localsite-cfg-please-inform-the-site-admin.php 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 at /usr/lib/perl5/5.8.8/CGI/Carp.pm line 356 CGI::Carp::realdie('Content-type: text/plain\x{a}\x{a}Perl error when reading LocalSite.c...') called at /usr/lib/perl5/5.8.8/CGI/Carp.pm line 437 CGI::Carp::die('Content-type: text/plain\x{a}\x{a}Perl error when reading LocalSite.c...') called at /var/www/foswiki/lib/Foswiki/Configure/Load.pm line 56 Foswiki::Configure::Load::readConfig() called at /var/www/foswiki/lib/Foswiki.pm line Anyway, this behavior was "fixed" in trunk already, but wasn't very user-friendly.

I then manually created lib/LocalSite.cfg following the instructions for maual installation in the guide. I am installing foswiki 1.0.6 on CentOS 5.3. As this is a very crucial part, we need it just to work in all other cases. weblink Check the configuration settings for {TemplateDir} and {TemplatePath}.

Although mail configuration is beyond the scope of this document, you will need to install a mail server and configure TWiki in the “Mail and Proxies” section of the configuration interface Check the TWiki upstream to confirm this is the most current version. Ask community in the support forum.Copyright © 1999-2016 by the contributing authors.

SupportForm Status Unanswered Title configure won't run, @INC issue SupportCategory CategoryInstallation TWiki version 5.0.1 Server OS Ubuntu Linux 10.04 Web server Apache 2.2.14 Perl version 5.10.1 Edit|Attach|Watch|Print version|History: r4

Ask community in the support forum.Copyright © 1999-2016 by the contributing authors. Configure Software Configure Apache Web Server Create a virtual host specification that resembles the following. Get started in the Linode Cloud today. Support Log In Register Quick Links Support questions FAQ's Tips Extensions support Supplemental documents Wiki consultants Tools Create New Topic Index Search Changes Notifications RSS Feed Statistics Preferences The copyright of

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 sub readConfig { return if $Foswiki::cfg{ConfigurationFinished}; - # Read LocalSite.cfg - unless ( do 'Foswiki.spec' ) { - die <http://setiweb.org/perl-error/perl-error-when-reading-localsite-cfg-twiki.php 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

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. Compilation failed in require at /etc/httpd/twiki/lib/TWiki/UI/View.pm line 39.