Mango



Thread: Variable blog is undefined

Created on: 06/07/12 08:24 AM

New topic Reply    Page: 1  

Replies: 0
lebanks


lebanks's Gravatar
Joined: 06/30/11
Posts: 4

06/07/12 8:24 AM

Hello all,

I have Mango blog installed on a client's site and it has been running just fine for about a year. In the past month or so when we try to login to the Admin area we are unable to get in; we revealed the error and it states that 'variable Blog is Undefined.' The server is ColdFusion 9.0.1.

I renamed the Application to reset the App scope but no luck. When I reveal the error on my localhost it points to the login.cfm file with this error. Not sure what changed, or if it has to do with the version change on cf from 9 to 9.01. That is the only thing I can think of that has changed.

Error Occurred While Processing Request
Variable BLOG is undefined.

It refers to line 7.


5 : <cfset templates = request.administrator.getAdminPageTemplates()>
6 : <cfif structkeyexists(templates,"login")>
7 :    <cfset request.adminLoginTemplate = blog.getSetting('skins').path & blog.getSkin() & "/" & templates['login'].file />
8 : </cfif>
9 : <!--- bradcast post event --->

Any help will be appreciated!

Thank you!
Link | Top | Bottom

New Post

Please login to post a response.