Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: styles.pl File missing  (Read 258 times)
0 Members and 1 Guest are viewing this topic.
Jim Clark
Guest
« on: October 06, 2003, 10:55:00 AM »

Most peculiar. I installed and configured the calendar on Friday, using the admin page, to create two separate calendars with two separate styles. Data entered, colors set, all worked great.

This morning I logged in to do a little more, and the calendar_admin.pl tells me
[Include file (path/calendarscript/templates/admin/English/styles.pl) could not be found]

The only styles.pl file I have is in path/calendarscript/plugins/dayspan, but if I copy that to the above path, it still fails, telling me:

There was an error in your template file. Below is the template file and also the perl code generated from it to help you with debugging.

Undefined subroutine &Template::getPreference called at (eval 1) line 4.

I have copied the styles.css file that is in that directory to styles.pl, but that does not help either.

I have downloaded the tar.gz file again, and on unpacking find no styles.pl file, and in calendarscript/templates/admin/English/
I have no .pl files at all.

Running on Solaris 8. debug.pl claimed success; I should be able to run both calendar and calendar_admin fine. On an Intranet, so cannot allow anyone to look. Worked fine all day on Friday--and no one touched anything. Looked at the file system backups from Friday night, ther ewas no styles.pl file in that directory on Friday night when the backups ran. Where did it come from? Where did it go?

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: October 06, 2003, 06:43:00 PM »

** The only styles.pl file I have is in path/calendarscript/plugins/dayspan, but if I copy that to the above path, it still fails, telling me: **

Well since dayspan it a template and not a "plugin" they probably shouldn't be there at all and may be what's causing the problem?

Either that or the suggestion listed in the previous forum message "styles.pl can not be found???" might be the cause.

Dan O.


[This message has been edited by DanO (edited October 06, 2003).]

Logged
Pages: [1]   Go Up
Print
Jump to: