Ticket #234 (assigned defect)

Opened 1 year ago

Last modified 1 month ago

Skeleton error after correcting file permissions

Reported by: MrBuzzy Owned by: scorfield
Type: defect Priority: normal
Milestone: Fusebox 5.6 Component: Miscellaneous
Version: Severity: normal
Keywords: Cc:

Description

The error below occurs in the skeleton code.
It can be caused by doing this;

- Run the app (for the first time)
- Fail it by denying access to the 'parsed' folder
- Correct the file permissions
- Refresh the page
- Then the error below occurs

The only way to get past this error was to flush the application scope.

Cheers,
MrBuzzy?

--- see error below ---

Element STARTTIME is undefined in a CFML structure referenced as part of an expression.

The error occurred in /var/chroot/home/content/M/r/B/MrBuzzy/html/fusebox5/skeleton/model/act_get_time.cfm: line 2

Called from /var/chroot/home/content/M/r/B/MrBuzzy/html/fusebox5/skeleton/parsed/app.welcome.cfm: line 29
Called from /var/chroot/home/content/M/r/B/MrBuzzy/html/fusebox5/fusebox5/fusebox5.cfm: line 210
Called from /var/chroot/home/content/M/r/B/MrBuzzy/html/fusebox5/skeleton/index.cfm: line 2

1 : <cfset timeNow = now() />
2 : <cfset startTime = myFusebox.getApplication().getApplicationData().startTime />
3 : <cfif dateDiff("d",startTime,timeNow) gt 0>
4 : <cfset runTime = dateDiff("d",startTime,timeNow) & " day(s)" />

Attachments

Change History

Changed 1 year ago by scorfield

  • owner changed from sean@corfield.org to scorfield
  • status changed from new to assigned
  • milestone set to Fusebox 5.5

The fix here - and I've hit this problem elsewhere - is to have the Fusebox app clean up if there are any exceptions during the first request. Tricky :)

Changed 1 year ago by scorfield

  • milestone changed from Fusebox 5.5 to Fusebox 5.6

Defer to 5.6 to think how to handle this in general (reloading the fusebox fixes the problem but better exception handling is the real solution).

Changed 1 month ago by add

http://www.cheap-wrought-iron.cn Wrought Iron Stair Railing. Place of origin: China Fujian ... our main products: handrails,staircase railings,wrought iron stair railing,stainless steel http://www.china-made-door.com.cn Iron decorates your home. They have a wide variety of design, assuring that you will find a special one for display at home. The metal stair railing fit in http://www.cheapwroughtiron.cn http://www.hebei-railings.cn/

Note: See TracTickets for help on using tickets.