
| Key: |
CMS-4
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Jake Churchill
|
| Votes: |
0
|
| Watchers: |
0
|
|
|
FarCry CMS
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
|
|
|
Environment:
|
Linux, Oracle
|
|
|
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
|
|
Description
|
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
|
Show » |
|