History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CMS-4
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Jake Churchill
Votes: 0
Watchers: 0
Operations

Go to Planning board
Go to Task board
If you were logged in you would be able to see more operations.
FarCry CMS

Flash file upload error

Created: 27/Nov/06 04:12 PM   Updated: 24/Jan/08 02:29 PM
Component/s: Types
Affects Version/s: None
Fix Version/s: 1.0.3

Time Tracking:
Not Specified

Environment: Linux, Oracle


 Description  « Hide
This error occurs when attempting to upload a flash file when one already exists. It appears that in the config for files we did not have a trailing '/' which was causing an error. However, when adding the trailing '/' it caused an error in the initial upload because it was manually adding the trailing '/'.

In farcry_core/packages/types/_dmFlash/edit.cfm around line 89 remove the '/' so the line looks like:

<cffile action="delete" file="#application.config.file.folderpath_flash##stObj.flashMovie#">

In farcry_core/tags/widgets/fileUPload.cfm around line 19, remove the '& "/"' so the line looks like:

<cfset previewUrl = application.url.webroot & replaceNoCase(flashPath, application.path.project & "/www", "", "ALL")>

This seems to have fixed all issues as long as the trailing '/' appears in the config file for FOLDERPATH_FLASH


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Geoff Bowers - 05/Mar/07 12:35 AM
This may be cleared up as soon as we standardise the file formtool. We need to add this isue to our test plan.