| View previous topic :: View next topic |
| Author |
Message |
apu
Joined: 06 Feb 2006 Posts: 12
|
Posted: Mon Feb 06, 2006 Post subject: where are xml files |
|
|
after i do a diagnostic on plans.cgi i get a message that calendars.xml pending- actions.xml and events xml can't be found. so how and where do i get them found? any suggestions .. do i have to point to them from one of the files in the cgi-bin folder?
 |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1499
|
Posted: Tue Feb 07, 2006 Post subject: |
|
|
They're under the "data" subdirectory by default.
In your plans_config.pl, there's a line:
$options{data_directory} = "data";
that tells Plans what this directory should be. |
|
| Back to top |
|
 |
apu
Joined: 06 Feb 2006 Posts: 12
|
Posted: Tue Feb 07, 2006 Post subject: |
|
|
# subdirectory beneath plans, where .xml files are kept
$options{data_directory} = "data";
that seems to be what i have in my plans.config.pl file. do i need to add plans directory as lead off directory so as in html it would read plans/data/calendars.xml. if so how does one do that in cgi (perl)?
thanks in advance.
apu |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1499
|
Posted: Tue Feb 07, 2006 Post subject: |
|
|
Yes, you might need to add more path information to the directory. If you're running on windows, it might look something like:
$options{data_directory} = "C:/path/to/plans/data";
- Lloyd |
|
| Back to top |
|
 |
apu
Joined: 06 Feb 2006 Posts: 12
|
Posted: Tue Feb 07, 2006 Post subject: |
|
|
i added four lines of code to config_plans.pl
http://www.mydomain.com/cgi-bin/plans/data/events.xml etc for the 3 other xml files that were not showing up. also i gave permissions to the xml files.
the perl that's running on the host server is 5.006??? so will plans calendar run with this perl.
now i'm getting the following error message when i link to the plans.cgi page
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, or webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
what's happening now??  |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1499
|
|
| Back to top |
|
 |
|