| View previous topic :: View next topic |
| Author |
Message |
planner
Joined: 18 Mar 2006 Posts: 4
|
Posted: Sat Mar 18, 2006 Post subject: admin page setup error |
|
|
Folks,
I have just installed Plans and have it working fine. Now I've followed the instructions to have a separate admin page as given on the plans site. I can still access the public page, but attempting to access admin page spews out this error on the browser:
[an error occurred while processing this directive]
My apache error log has these lines:
Premature end of script headers: /../calendar/admin/plans.cgi
invalid CGI ref "/500.php" in /mysite/500.shtml
The version of plans is 7.6.2, running on a Linux kernel 2.6.9-22. User OS is also Linux and the browser is Mozilla Firefox
This site is not yet live.
Any clues?
TIA |
|
| Back to top |
|
 |
planner
Joined: 18 Mar 2006 Posts: 4
|
Posted: Sat Mar 18, 2006 Post subject: Re: admin page setup error |
|
|
| planner wrote: | Folks,
[an error occurred while processing this directive]
My apache error log has these lines:
Premature end of script headers: /../calendar/admin/plans.cgi
invalid CGI ref "/500.php" in /mysite/500.shtml
|
Still trying to solve this issue: Running "perl plans.cgi" in the admin directory and from the command line gives me a clue as to what the heck is going on. Here a cut from the output:
<b>Plans error:</b><br/>
unable to locate required module <b>CGI::Session</b>!<br>
I had the isp install the required module, but obviously plans cannot find it. Is there a way to manually point plans in the required path to find this module.
TIA |
|
| Back to top |
|
 |
planner
Joined: 18 Mar 2006 Posts: 4
|
|
| Back to top |
|
 |
planner
Joined: 18 Mar 2006 Posts: 4
|
Posted: Wed Mar 22, 2006 Post subject: Re: admin page setup error |
|
|
I'm still trying to figure out how to make the admin calendar work. In addition to the error from the initial post, here are warning messages from the output of "perl plans.cgi":
<b>Warning:</b> The email reminders data file: data/email_reminders.xml is not writable.
<b>Warning:</b> The calendars data file: data/calendars.xml is not writable. The add/edit calendars tab won't appear
unless this file is writable.<br/>
<b>Warning:</b> The pending actions data file: data/pending_actions.xml is not writable. The add/edit calendars tab won't appear unless this file is writable.<br/>
<b>Warning:</b> The events data file: data/events.xml is not writable. The add/edit events tab won't appear unless this file is writable.<br/>
The output of ls shows that all files in question are writable by everyone:
vahana:# ls -l admin/data
-rw-rw-rw- 1 vahanafo vahanafo 4322 Mar 18 09:02 calendars.xml
-rw-rw-rw- 1 vahanafo vahanafo 0 Mar 15 01:57 email_reminders.xml
-rw-rw-rw- 1 vahanafo vahanafo 29755 Mar 15 01:58 events.xml
-rw-rw-rw- 1 vahanafo vahanafo 0 Mar 15 01:57 new_calendars.xml
-rw-rw-rw- 1 vahanafo vahanafo 0 Mar 15 01:58 pending_actions.xml
-rw-rw-rw- 1 vahanafo vahanafo 0 Mar 15 01:58 users.xml
Observe that all files are writable. I'm beginning to think that the source of these warning messages and the original error (CGI::session) could be caused by the manner that the files in the calendar/admin directory are soft-linked to the calendar directory.
Does this make sense to anyone?
TIA |
|
| Back to top |
|
 |
|