Home > Perl Error > Perl Error When Reading Localsite.cfg Please Inform The Site Admin

Perl Error When Reading Localsite.cfg Please Inform The Site Admin

Software error: Content-type: text/plain Perl error when reading LocalSite.cfg: Please inform the site admin. Structured wikis provide a powerful way to share, store, and work with information in task centric applications. We invite you to get involved with the community, it is more likely you get community support if you support the open source project! -- PeterThoeny - 2011-02-21 I just started TWiki.spec is still read because so much of the core code doesn't 54 provide defaults, and it would be silly to have them in two places anyway. 55 56 =cut 57 his comment is here

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 Tags: tag this topic create new tag, view all tags SID-01048: Urgent help with http://mydomain/twiki/bin/configure Status: Answered TWiki version: 5.0.1 Perl version: 5.8.4 Category: CategoryInstallation Server OS: Solaris 5.10 3/05 Last 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 BEGIN failed--compilation aborted at /cygdrive/f/twiki/lib/TWiki.pm line 467.

As this is a very crucial part, we need it just to work in all other cases. I have set up LocalLib.cfg to point to the lib directory of foswiki. If I enable the "short urls" option, on the Apache Configurator I always get the following error: http://pastie.org/835988 [09:20] O I disable this 3 lines and everything works: Alias / Compilation failed in require at /opt/hpws/apache/htdocs/twiki/bin/view line 41.

Get started in the Linode Cloud today. Make sure that you do not append this line to the very end of the file. /srv/www/example.com/twiki/lib/LocalSite.cfg 1$TWiki::cfg{ScriptUrlPaths}{view} = ''; Log into the configuration section at http://example.com/bin/configure, using the password configured I will address further investigation results there. -- DetlefMarxsen - 2011-01-03 Closing as duplicate. -- PeterThoeny - 2011-01-03 Change status to: Asked question Answered question Closed unanswered If All material on this collaboration platform is the property of the contributing authors.

This is a high security risk! Compilation failed in require at F:\twiki\bin\view.pl line 30. If the file is zero-sized, just delete it and start again. -- CrawfordCurrie - 28 Oct 2009 No followup, so closed as answered. -- CrawfordCurrie - 11 Dec 2009 QuestionForm edit 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

It is on my TODO list, with lots of other things, but I will try to check this ASAP. I think I should first run configure.pl but when running that I get: "The specified CGI application misbehaved by not returning a complete set of HTTP headers." I tried to find 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 at /var/foswiki/bin/view line 43 main::BEGIN() called at /var/foswiki/lib/Foswiki.pm line 43 eval {...} called at /var/foswiki/lib/Foswiki.pm line 43 BEGIN failed--compilation aborted at /var/foswiki/bin/view line 43.

BEGIN failed--compilation aborted at /opt/hpws/apache/htdocs/twiki/bin/view line 41. -- VinceLaurent - 2012-11-21 Compilation failed in require at /opt/hpws/apache/htdocs/twiki/bin/view is an indication that you run the view script instead of the configure script. BEGIN failed--compilation aborted at /apps/twiki-root/twiki/lib/TWiki.pm line 526. The path you configure for TWiki need not correlate to the actual location of the files on the file system. 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

I'm closing this no action. http://setiweb.org/perl-error/perl-error-when-reading-localsite-cfg-twiki.php e.g. Regards -- LucGarcia - 19 Mar 2009 Discussion and Answer - Update 1: I got the LocalSite.cfg from the net and edited it. However, when benchmarking/debugging it can be 43 replaced by custom code which sets the configuration hash.

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. My question is when I launch the ...bin/configure from apache I get the entire script. 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 weblink change the configuration file completely by another one generated by Apache Config Generator, without a required user to access configure (though it is a recommended setting) and only with a required

What can I be doing wrong Then when I try to launch .../bin/view I get Software error: Content-type: text/plain Perl error when reading LocalSite.cfg: Please inform the site admin. Now I'm having the "The specified CGI application misbehaved by not returning a complete set of HTTP headers." problem with both the view.pl or configure.pl Any hints appreciated. Add the following line to the /srv/www/example.com/twiki/lib/LocalSite.cfg” file.

What do you see in the browser address bar? -- PeterThoeny - 2012-11-21 Closing this old question. -- Peter Thoeny - 2013-02-07 Change status to: Asked question Answered

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 /data/twiki/bin/view line 41. Can you verify that you run the configure script? I am installing foswiki 1.0.6 on CentOS 5.3.

Make sure the twiki/bin is configured as a cgi-bin directory. Shipping a dummy LocalSite.cfg doesn't seem like a good solution to me, as we have the Foswiki.spec for exactly that purpose, which is why I'd rather use the patch I wrote. It allows to 28 safely modify configuration variables _for one single run_ without affecting 29 normal TWiki operation. 30 31 =cut 32 33 package TWiki::Configure::Load; 34 35 our $TRUE = 1; check over here No need to put it in the release notes, as this has already been released in the release branch (most likely 1.0.7), and has never been an issue in trunk. --

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 What am I doing wrong? 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 We're always expanding our docs.

Maybe one of the developers is online and from the pastebin oftware error: Content-type: text/plain Perl error when reading LocalSite.cfg: Please inform the site admin. This indicates that somehow the @INC is not populated properly. Send feedback. I know I should do some changes to that file from some cookbooks but I cannot find the file to do it.

otherwise we get peppered with 85 # 'uninitialised variable' alerts later. 86 87 foreach my $var ( 'DataDir', 'DefaultUrlHost', 'PubUrlPath', 'WorkingDir', 88 'PubDir', 'TemplateDir', 'ScriptUrlPath', 'LocalesDir' ) { 89 # We 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. I am not sure the testing will be fully accurate, since the installation process is quite different when installing from an SVN checkout of trunk, compared to a regular installation from TWiki is a foundation for supporting content-centric workflows including bug and issue tracking, knowledge management, and data entry.

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 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 Send feedback.