Plans - Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist     RegisterRegister  ProfileProfile   Log inLog in
No language files defined in plans.config!

 
Post new topic   Reply to topic    Plans - Forum Forum Index » Problems
View previous topic :: View next topic  
Author Message
skyler



Joined: 27 Sep 2005
Posts: 2

PostPosted: Tue Sep 27, 2005    Post subject: No language files defined in plans.config! Reply with quote

I am running version 7.3 on Windows XP with Apache and ActivePerl.

Here is the problem I am seeing,

I fired up my Apache and the browser rendered welcome demo page properly when pointed to "plans.cgi" e.g http://hostname/perl/cal/plans.cgi.

But when I refreshed the browser, ( without making any changes to any of the files ), the same page threw "Plans error" saying "No language files defined in plans.config!"

If I restart my Apache, again the first time it renders the welcome page properly, but a subsequent refresh or clickicking on any other links from that page throws the error.

One more thing, which may or may not help, is at the bottom of the demo page, when the plans.cgi gets rendered first time, I see a message that says "(plans also runs on Windows, but this particular installation is on Linux.)". Is there a seperate Plans for Windows? where can I get it? could this be causing the problem?
Back to top
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1499

PostPosted: Tue Sep 27, 2005    Post subject: Reply with quote

that "plans also runs on Windows, but this particular installation is on Linux." message is pretty old, and I should change it. Very Happy It's just hard-coded text in the plans.template file, which you're expected to customize. So that's not a real error.

The "no language files" problem is more serious. This message is thrown if Plans can't find the $options{language_files} setting. This is defined in plans_config.pl.

It's very strange that this only happens on reloads or links. I'm a little suspicious of apache. Do you happen to be running the mod_perl apache extension? That can cause problems with Plans, since it tries to cache code in memory instead of re-executing the script from scratch with each call.

- Lloyd
Back to top
View user's profile Send private message
skyler



Joined: 27 Sep 2005
Posts: 2

PostPosted: Tue Sep 27, 2005    Post subject: Reply with quote

That was it, Mod_perl was causing the problem.

Disabled mod_perl and it works just fine now.

Thanks Lloyd. Neat tool.
Back to top
View user's profile Send private message
ninja2



Joined: 16 Apr 2006
Posts: 2

PostPosted: Wed Sep 20, 2006    Post subject: mod_perl Reply with quote

Is there alternate way to solve this problem other than being disable mod_perl?

I've got a error message shown below, whennever I refreshed the browser.
Plans error:
No language files defined in plans.config!
Back to top
View user's profile Send private message
alansanders



Joined: 13 Oct 2006
Posts: 1

PostPosted: Fri Oct 13, 2006    Post subject: Reply with quote

Thanks for this calendar
I too have the same error
Cannot remove mod_perl - it will only show the code in plans.pl when I remove it
Any other work around, other than making Apache restart every 15 seconds or so
Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Plans - Forum Forum Index -> Problems All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group / Oranja by Lessthaneric.net