Trouble with installing

7 views
Skip to first unread message

Chris

unread,
Mar 5, 2008, 12:09:43 PM3/5/08
to Kalendar
Hi

I am getting the following message:

Application Exception - in D:\http\newwebsite\Kalendar\index.cfm :
line 95

Could not find the ColdFusion Component or Interface
Kalendar.common.cfckalendar.

I believe this has to do with the code
<cfinvoke component="#application.CFCPath#kalendar"
method="getCalendar" returnvariable="returnedEvents">

and in my application file i have that path coded as :
application.CFCPath = "Kalendar.common.cfc"

can someone help me?

Thank you!

TJ

unread,
Mar 5, 2008, 1:16:12 PM3/5/08
to Kalendar
Hi Chris,

application.CFCPath needs to point to the cfc folder relative to the
root of your site. So if you have the kalendar cfc folder in /kalendar/
common/cfc that would be the correct path, otherwise you will need to
change it. If you change this value you must either restart ColdFusion
Server or change the application name in the application.cfc files (in
the root of the project and in the admin folder).


TJ

Chris

unread,
Mar 6, 2008, 9:04:25 AM3/6/08
to Kalendar
Hi TJ

I have edited the CFC path on the main kalendar application file -
restarted CF each time and still get the error - no matter how i code
it.

The basic error i get follows (the only thing that changes with it is
the way it stats the interface that can't be found depending on how i
coded it:

Could not find the ColdFusion Component or Interface
Site_newwebsite.Kalendar.common.cfckalendar.
Ensure that the name is correct and that the component or interface
exists.

The error occurred in D:\http\Site_newwebsite\Kalendar\index.cfm: line
95

93 : <cfinvokeargument name="PublicOnly" value="1" />
94 : <cfif variables.categoryID neq 0>
95 : <cfinvokeargument name="categoryID"
value="#variables.categoryID#" />
96 : </cfif>
97 : </cfinvoke>



This is the setup of my site and folders

- Web Site folder on server
-FCKeditor
-Kalendar
-Admin
-Common
-Kalendar
-Common
-CFC
-CSS
-Images
-Includes
-Scripts
-Tags

I have edited Kalendar/Common/application.cfc file - line 16 in the
different ways i note below - restarting CF between each time an
retesting the code/. I get the same error each time - the only thing
different about each error is it changes depending on how i have this
line of code saved.

Ways i have tried with and without the . notation -
application.CFCPath = "site_newwebsite.Kalendar.common.cfc";
application.CFCPath = "kalendar.common.cfc";
application.CFCPath = "kalendar/common/cfc";
application.CFCPath = "site_newwebsite/Kalendar/common/cfc";


I can't even get to the admin section to enter a test event.

what piece of the puzzle am i missing? Any suggestions?

Thank you!

Chris

unread,
Mar 6, 2008, 9:13:13 AM3/6/08
to Kalendar
One other question - for the public part of the kalendar to work -
does the admin application file also have to be changed? I have just
been editing the public application file.

Thank you!

On Mar 5, 1:16 pm, TJ <KoldFu...@gmail.com> wrote:

Dan Wilson

unread,
Mar 6, 2008, 9:46:44 AM3/6/08
to cfkal...@googlegroups.com
Try this:

application.CFCPath = "site_newwebsite.Kalendar.common.cfc.";

Note the trailing dot.



There is no component called cfcKalendar in the installation.



DW
--
"Come to the edge, he said. They said: We are afraid. Come to the edge, he said. They came. He pushed them and they flew."

Guillaume Apollinaire quotes

Dan Wilson

unread,
Mar 6, 2008, 11:56:32 AM3/6/08
to cfkal...@googlegroups.com
There are in fact two application.cfcs, one for the public view and one for the administration view. This allows the installation of the admin section to be in an entirely different part of the webserver.... As such, You will have to edit both files to set the configuration paths.


DW

Chris

unread,
Mar 6, 2008, 4:21:59 PM3/6/08
to Kalendar
Hi

I just edited the application file with
site_newwebsite.Kalendar.common.cfc and now i get the following error:

Could not find the ColdFusion Component or Interface
HTTC_newwebsite.Kalendar.common.cfc.kalendar.
Ensure that the name is correct and that the component or interface
exists.

The error occurred in D:\http\HTTC_newwebsite\Kalendar\index.cfm: line
95

93 : <cfinvokeargument name="PublicOnly" value="1" />
94 : <cfif variables.categoryID neq 0>
95 : <cfinvokeargument name="categoryID"
value="#variables.categoryID#" />
96 : </cfif>
97 : </cfinvoke>



Looking at the index file - i think it is having a problem with line
83, maybe?
<cfinvoke component="#application.CFCPath#kalendar"
method="getCalendar" returnvariable="returnedEvents">

One other question - does there have to be data filled in the calendar
tables for this to work? I would think it would recognize if no data
was entered or the events were out of date and have some kind of
message display. I ask because i can't even get into the admin section
to add an event. when i try to go to the admin section (and i have
updated the application file since my last post - just like i updated
the public application file) i get the message that just says Error!
and i have debugging turned on and does not give any reason or info
for the error.

Thank you for your help.
> Guillaume Apollinaire quotes- Hide quoted text -
>
> - Show quoted text -

TJ

unread,
Mar 7, 2008, 2:43:50 PM3/7/08
to Kalendar
Hi Chris

I think the proper path for you is going to be kalendar.common.cfc.
It's relative to the root of your website, not to the directory
structure on disk :)

You do not need any data in the database for Kalendar to work. The
error message you see in again the onError method in the
application.cfc file in the admin folder. Simply comment out the
onError method and you will be able to spot the actual error.

Chris

unread,
Mar 10, 2008, 2:36:32 PM3/10/08
to Kalendar
Thank you - this worked!!! I was able to add and view. Thank you so
much!

One last question - is there a way to have the calendar open in the
condensed view instead of the month view?

TJ

unread,
Mar 10, 2008, 7:42:04 PM3/10/08
to Kalendar
Hi Chris

In the index.cfm and /admin/kalendar/index.cfm you can set the
<cfparam name="view" default="month" type="string" /> to be "list" if
you want it to default to the condensed view. Im afraid to say the
condensed view code is not very clean, so it might take some work for
you to make look good :) This is being addressed for the 1.0 release
and show be, overall, much easier to implement and style

Chris

unread,
Mar 12, 2008, 10:45:18 AM3/12/08
to Kalendar
Hi TJ

Thank you for the information.

Is there a rough ETA on when version 1.0 will be released? will the
1.0 release also have the updates for the recurring events?

Thank you so much for your help!

TJ

unread,
Mar 12, 2008, 12:30:53 PM3/12/08
to Kalendar
Chris, we are looking at about a month. We are currently working on
implementing the skinning engine as well as a timezone utility to
allow the timezone to be set to a user's local time. It's not likely
recurring events will make it into the system for the 1.0 release, but
who knows! The entire architecture, thanks to Dan Wilson, has been
converted to more of a CFOOP methodology and also has a much easier
configuration method. Lots of good stuff coming.

Chris

unread,
Mar 12, 2008, 4:30:17 PM3/12/08
to Kalendar
Thank you for the update!

Mike

unread,
Mar 30, 2008, 10:54:45 PM3/30/08
to Kalendar
I am having the same error thrown and editing the path as described
does not fix for me.

Default settings are:

application.kalendarURLPath = "/";
application.CFCPath = "common.cfc.";
application.javascriptPath = "/common/scripts/";

I have also tried many possibilities in these 3 paths and not found
what works

installed online http://www.meadowbrookhills.net/kalendar/

Install of Kalendar and fckEditor are in root and everything is
default, no changes.

This is one sweet calendar.

Mike


On Mar 7, 3:43 pm, TJ <KoldFu...@gmail.com> wrote:

Mike

unread,
Mar 31, 2008, 12:33:20 AM3/31/08
to Kalendar
never mind.

I did not change cfset this.name = ?????

I am now throwing an error when I try to save an event.

screenshot: http://www.meadowbrookhills.net/kalendar/saveError.gif

I am using MySQL 5.0.37

I am able to save categories but not calendar events

paths in admin ap.cfc are:

application.kalendarURLPath = "/kalendar/";
application.CFCPath = "kalendar.common.cfc.";
application.javascriptPath = "/kalendar/common/scripts/";

request.kalendarAdminPath = "/kalendar/admin";

Everything else default/unchanged

Mike
Reply all
Reply to author
Forward
0 new messages