| View previous topic :: View next topic |
| Author |
Message |
jc1685
Joined: 13 Oct 2006 Posts: 6
|
Posted: Fri Oct 13, 2006 Post subject: Help with Sessions in Plans 7.7.6 |
|
|
I need help with getting Sessions to work!
I had my web host (123ehost.com) install the Session.pm module. Here is their server info:
Apache version 1.3.36 (Unix)
PERL version 5.8.7
Path to PERL /usr/bin/perl
I have set all the file permissions as indicated. When I edit the plans_config.pl file to allow sessions I get this message in the browser where the calendar should be:
----------------------------------------------------------------
Plans error:
unable to locate required module CGI::Session!
Diagnostic information:
Script Name:plans.cgi
Warning: The calendars data file: data/calendars.xml is not writable. The add/edit calendars tab won't appear unless this file is writable.
Warning: 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.
Warning: The events data file: data/events.xml is not writable. The add/edit events tab won't appear unless this file is writable.
Plans version: 7.7.6
Perl version: 5.8.7
script name: plans.cgi
script file path: /home/floridas/public_html/scgi-bin/calendar
script url path:
Theme url: http://www.floridasonriseemmaus.com/scgi-bin/calendar/theme
graphics url:
icons url:
Options:
generate_js_lang: 0
users_file: data/users.xml
ical_import: 1
events_file: data/events.xml
pending_actions_file: data/pending_actions.xml
default_event_end_time: 5:00 pm
email_mode: 0
data_directory: data
anonymous_events: 0
upcoming_events_cache_seconds: 0
from_address: your@address.com
language_files: us_english.pl
new_events_all_day: 0
data_storage_mode: 0
default_event_start_time: 9:00 am
pending_events_display: 2
right_click_menus_enabled: 0
users: 1
multi_calendar_event_mode: 1
calendars_file: data/calendars.xml
force_single_timezone: 1
new_calendar_request_notify: your@address.com
email_reminders_datafile: data/email_reminders.xml
disable_passwords: 0
unit_number_icons: 0
js_language_file: plans_lang.js
choose_themes:
all_calendars_selectable: 1
show_event_background_color_descriptions: 0
twentyfour_hour_format: 0
display_types: ARRAY(0x861a3e4)
reply_address: your@address.com
default_template_path: theme/plans.template
discovery_file: data/plans_discovery.xml
sessions: 1
default_theme_path: theme
new_calendars_automatically_selectable: 1
sessions_directory: sessions
----------------------------------------------------------------
Does anyone have information on how I can get Sessions to work?
Thanks,
jc1685 |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1499
|
Posted: Fri Oct 13, 2006 Post subject: |
|
|
You might need to double-check with the host to see where Session.pm is installed.
Plans searches all directories in the @INC array (this is a list of locations to find modules, populated at perl startup time).
If it's not finding session.pm, this can mean something is goofy with their installation.
Some hosts have more than one version of perl installed. You might have to change:
#!/usr/bin/perl
to
#!/usr/bin/perl_some_version
This is just a guess though. You'll have to work with the host to find what the real problem is.
I note from the error below that your .xml files are not writeable. This is a separate issue, but worth fixing.
- Lloyd |
|
| Back to top |
|
 |
jc1685
Joined: 13 Oct 2006 Posts: 6
|
Posted: Sat Oct 14, 2006 Post subject: |
|
|
I am assuming the place to change the path to the session.pm file is in plans.cgi
But, when I change it at the top of the file the calendar will no longer load.
BTW, I set the .xml files to the write mode as listed in the installation directions, so I'm not sure what should be done to them. Any suggestions?
- jc1685 |
|
| Back to top |
|
 |
|