Thread: Error on update to 1.6
Created on: 02/15/11 09:54 AM
| New topic Reply | Page: 1 |
| Replies: 16 | |
| gshepert
|
02/15/11 9:54 AM I've just updated to 1.6, and get the following error when loading the /admin/ page: Error: onRequestStart Event handler exception. An exception occurred when invoking a event handler method from Application.cfc. The method name is: onRequestStart. I've done a bit of debugging, and it seems that: <cfset templates = request.administrator.getAdminPageTemplates()> Is returning a NotLoggedIn error ... which of course is what I'm trying to do. The login form never appears. There also seems to be a 500 server error being returned. Note that pre-update everything was working fine. |
| Link | Top | Bottom | |
| Laura
Wizard |
02/15/11 10:21 AM Did you try restarting the server? Check that there is an entry in the setting table for system/urls, name "admin" which should be empty if you have the admin in the default location. |
| Link | Top | Bottom | |
| gshepert
|
02/15/11 10:28 AM Yes, I have restarted the CF (8) service several times, as well as the web service. I have the following in the settings table: 'system/urls', 'admin', '', 'default' Is there a way to override the 'friendly' error messages to get the raw cf errors? |
| Link | Top | Bottom | |
| Laura
Wizard |
02/15/11 10:33 AM See here: http://www.mangoblog.org/docs/documentation/troubleshooting |
| Link | Top | Bottom | |
| Laura
Wizard |
02/15/11 10:37 AM Just in case, you might want to try filling out the admin url setting to: /YOUR BASE PATH/admin/ |
| Link | Top | Bottom | |
| gshepert
|
02/15/11 10:57 AM Switching to 'debug' revealed the problem. Apparently the update removed all of the slashes in the paths for the 'directory' values. I put them back in manually and all is well again. Thanks for the assistance, Laura! |
| Link | Top | Bottom | |
| Laura
Wizard |
02/15/11 11:03 AM Yes, that can happen. I've noted that in the release post: http://www.mangoblog.org/news/version-1-6-released |
| Link | Top | Bottom | |
| bluecomet
|
03/01/11 7:44 PM I had to fix paths too but it is not taking effect. It is on a shared host so I can't reboot the server. Is there any other way I can give it a kick? |
| Link | Top | Bottom | |
| Laura
Wizard |
03/02/11 10:57 AM You can change the application name in Application.cfc. That will make it reload. |
| Link | Top | Bottom | |
| bluecomet
|
03/02/11 12:01 PM Yes that did it. Thanks. |
| Link | Top | Bottom | |
| MaxwellSmart
|
04/13/11 10:47 AM Hmmm... I'm not having any luck with this. Can someone please clarify what parts need to be changed. I've changed the slashes in the three entries that are directories and end "assets\contents", "skins\" and "components\plugins". Should there be a single or double slash after them? I've also tried changing the one that is a path "assets\content" as well. But I am still getting the error. Am I missing anything? Thanks in advance. |
| Link | Top | Bottom | |
| Laura
Wizard |
04/13/11 10:54 AM The best is actually to have a single forward (/) slash, regardless of platform. I believe all of them should have an ending slash. |
| Link | Top | Bottom | |
| MaxwellSmart
|
04/13/11 11:16 AM Hi Laura, thanks for swift reply. So just so I've got this right, the three 'directory' values should have / such as 'c:/websites/blog/assets/contents/'? In which case I think I must have something else failing. |
| Link | Top | Bottom | |
| MaxwellSmart
|
04/13/11 11:18 AM Oh I should add the above error is when trying to access www.website.com/admin if I just try to access www.website.com then I get cannot convert the value "" to a boolean |
| Link | Top | Bottom | |
| Laura
Wizard |
04/13/11 11:20 AM Yes, remember to restart the server after making the changes. Also, you can replace the path with: {baseDirectory}assets/content/ for system/assets {baseDirectory}skins/ for skins {baseDirectory}components/plugins/ for plugins |
| Link | Top | Bottom | |
| MaxwellSmart
|
04/13/11 12:08 PM Thanks Laura! Now working. Although not really sure what I did that was different this time... Just for anybody else who tries following this there should be a / after {baseDirectory} and before the rest. |
| Link | Top | Bottom | |
| spraguey
|
04/28/11 1:40 PM I fought this for quite a while and could not get the paths correct in the settings table. I know the path was right and could confirm the files were there, but I still got the error "An error occurred when performing a file operation read on file C:/mypath/skin.xml. The cause of this exception was: java.io.FileNotFoundException". Finally, I deleted the paths completely from the settings table. I just left those values blank. Now, it works. |
| Link | Top | Bottom | |
New Post