| View previous topic :: View next topic |
| Author |
Message |
skyler
Joined: 27 Sep 2005 Posts: 2
|
Posted: Tue Sep 27, 2005 Post subject: No language files defined in plans.config! |
|
|
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 |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1499
|
Posted: Tue Sep 27, 2005 Post subject: |
|
|
that "plans also runs on Windows, but this particular installation is on Linux." message is pretty old, and I should change it. 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 |
|
 |
skyler
Joined: 27 Sep 2005 Posts: 2
|
Posted: Tue Sep 27, 2005 Post subject: |
|
|
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 |
|
 |
ninja2
Joined: 16 Apr 2006 Posts: 2
|
Posted: Wed Sep 20, 2006 Post subject: mod_perl |
|
|
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 |
|
 |
alansanders
Joined: 13 Oct 2006 Posts: 1
|
Posted: Fri Oct 13, 2006 Post subject: |
|
|
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 |
|
 |
|