The Coldfusion Open Source Forums
Home | ImageCFC | CFFM | BlogCFM | CFMBB | CFOpenMail / ImapCFC | CFOpenChat
Forums | Profile | Inbox | Members | Chat | Search | Login | RSS
Vivio Technologies CFML Hosting
New Topic Reply Subscription Options   Previous Page  Page: 1   Previous Page

Forums: BlogCFM Forum: BlogCFM - CF8 - MS Access Error
Created on: 09/13/07 {ts '2013-05-22 13:08:00'} Views: 5646 Replies: 5
BlogCFM - CF8 - MS Access Error
Posted Thursday, September 13, 2007 at {ts '2013-05-22 13:08:00'}

I am just testing out the application and recieve this error when using MS Access as the DB.

The error occurred in C:\Websites\107660kq4\blog\cfcs\blogcfm.cfc: line 729

727 :          BLOG_ID,ADMIN_EMAIL,BLOG_TITLE,FLAG_HTML_EDITOR_ADMIN,FLAG_HTML_EDITOR_ALL,SESSION_IP_SECURITY,CREATE_ENTRY_FILES,REQUIRE_LOGIN,MONITOR_LEVEL,ENABLE_SUBSCRIPTIONS,ENABLE_CAPTCHA,WEBROOT,DISABLE_COMMENTS,COMMENT_DISABLE_AGE,PING_ON_UPDATE,CSS_OVERRIDE,
728 :          '#replace(photoGalleryRoot,"\", "\\","ALL")#' as photoGalleryRoot,
729 :          <cfif this.dbtype eq "access" or this.dbtype eq "mssql">
730 :             webroot + '/#arguments.blog_id#/photos' as photoGalleryWebroot
731 :          <cfelse>

I verified everything is set correctly in application.cfm(s).

RE: BlogCFM - CF8 - MS Access Error
Posted Friday, September 14, 2007 at {ts '2013-05-22 08:53:00'}

Um... you didn't paste the error message.

Rick Root
I'm not certified, but I have been told that I'm certifiable!

www
RE: BlogCFM - CF8 - MS Access Error
Posted Friday, September 14, 2007 at {ts '2013-05-22 11:31:00'}

This is all I get as an error.

Error Occurred While Processing Request
Element DBTYPE is undefined in THIS.

The error occurred in C:\Websites\107660kq4\blog\cfcs\blogcfm.cfc: line 729

727 :          BLOG_ID,ADMIN_EMAIL,BLOG_TITLE,FLAG_HTML_EDITOR_ADMIN,FLAG_HTML_EDITOR_ALL,SESSION_IP_SECURITY,CREATE_ENTRY_FILES,REQUIRE_LOGIN,MONITOR_LEVEL,ENABLE_SUBSCRIPTIONS,ENABLE_CAPTCHA,WEBROOT,DISABLE_COMMENTS,COMMENT_DISABLE_AGE,PING_ON_UPDATE,CSS_OVERRIDE,
728 :          '#replace(photoGalleryRoot,"\", "\\","ALL")#' as photoGalleryRoot,
729 :          <cfif this.dbtype eq "access" or this.dbtype eq "mssql">
730 :             webroot + '/#arguments.blog_id#/photos' as photoGalleryWebroot
731 :          <cfelse>

RE: BlogCFM - CF8 - MS Access Error
Posted Friday, September 14, 2007 at {ts '2013-05-22 12:20:00'}

Go into your application.cfm

set the variable reloadCFC to "no" (or "false")

Then reinit the app by calliing the index page with ?init=1 on it.

See if that helps.

this.dbtype is created when the CFC is initialized. It should ALWAYS be there.

Rick Root
I'm not certified, but I have been told that I'm certifiable!

www
RE: BlogCFM - CF8 - MS Access Error
Posted Friday, September 14, 2007 at {ts '2013-05-22 12:28:00'}

This is what is there?
if (variables.reloadCFC OR NOT isDefined("application.blogcfm")

RE: BlogCFM - CF8 - MS Access Error
Posted Friday, September 14, 2007 at {ts '2013-05-22 15:32:00'}

the variable reloadCFC is set up higher than that line.

btw, blogcfm is pretty buggy and unreliable and on the verge of being abandoned. Just a warning Smile

Rick Root
I'm not certified, but I have been told that I'm certifiable!

www

New Topic Reply Subscription Options   Previous Page  Page: 1   Previous Page
Subscription Options
Subscription options are available after you log in.

There are 2 active user sessions right now.