Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

DataObjectManager Module /

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, Ed, biapar, Willr, Ingo, swaiba

DataObject_Manager stopped working


Go to End


14 Posts   3336 Views

Avatar
Cem

Community Member, 31 Posts

28 February 2010 at 10:49am

Hi,
Everything was running smooth suddenly whatever I upload using swfupload comes in as "new_file" instead of original file name and extension.
No error whatsoever but the files are unusable.
When I uninstall dataobject manager along with swfupload I can upload things just fine using the native uploader.
Using swf upload r373
dataobject_manager r374

Avatar
UncleCheese

Forum Moderator, 4102 Posts

28 February 2010 at 11:24am

There was a bug in swfupload that I fixed only 1 or 2 revs ago. Make sure there are no updates available for that module.

Avatar
Cem

Community Member, 31 Posts

28 February 2010 at 12:07pm

Hi Uncle Cheese,
I downloaded your latest revision from trunk to no avail.
Still having the same problem.
This happens on my live server.
On my local machine it is working OK.
Are you aware of any server setting issues that may cause problems?

Avatar
UncleCheese

Forum Moderator, 4102 Posts

28 February 2010 at 12:34pm

Yeah, there are a lot of environmental issues that can interfere with SWFUpload. Mod_security is the biggest one. Is the file making it to the server? Usually "new-file" means the record was created, but the file isn't actually in the filesystem.

When did this start happening?

Avatar
Cem

Community Member, 31 Posts

28 February 2010 at 12:43pm

Edited: 28/02/2010 12:46pm

It appears as new_file inside the admin panel,but when I go to check with ftp nothing is inside the uploads folder.
Apparently it does not make it to the server physically...
It all started after creating lots of albums and uploading jpgs with image_gallery yesterday.

Avatar
UncleCheese

Forum Moderator, 4102 Posts

28 February 2010 at 1:11pm

Add:

SWFUploadConfig::debug();

to your _config.php and see if you get any interesting feedback from the debug window.

Avatar
Cem

Community Member, 31 Posts

28 February 2010 at 1:26pm

I did in fact 5 minutes ago
and I get a
"Server said 376" applet which I have no clue*_*

Avatar
Cem

Community Member, 31 Posts

28 February 2010 at 1:43pm

Edited: 28/02/2010 1:45pm

I guess you mean this:

---SWFUpload Instance Info---
Version: 2.2.0 Alpha
Movie Name: SWFUpload_0
Settings:
upload_url: http://www.domain.com/FileDataObjectManager_Controller/handleswfupload
flash_url: http://www.domain.com/swfupload/javascript/swfupload.swf?swfuploadrnd=212298310
use_query_string: false
file_post_name: swfupload_file
post_params: [object Object]
file_types:
file_types_description:
file_size_limit: 700MB
file_upload_limit: 20
file_queue_limit: 20
debug: true
prevent_swf_caching: true
button_placeholder_id: spanButtonPlaceholder
button_image_url: http://www.domain.com/swfupload/images/upload_button.png
button_width: 180
button_height: 24
button_text: <span class='button'>Upload files</span>
button_text_style: .button { font-family: Helvetica, Arial, sans-serif; font-size: 12px; }
button_text_top_padding: 6
button_text_left_padding: 6
button_action: -110
button_disabled: false
custom_settings: [object Object]
Event Handlers:
swfupload_loaded_handler assigned: true
file_dialog_start_handler assigned: true
file_queued_handler assigned: true
file_queue_error_handler assigned: true
upload_start_handler assigned: true
upload_progress_handler assigned: true
upload_error_handler assigned: true
upload_success_handler assigned: true
upload_complete_handler assigned: true
debug_handler assigned: true

SWF DEBUG: SWFUpload Init Complete
SWF DEBUG:
SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0 Alpha 2008-10-17
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: http://www.domain.com/FileDataObjectManager_Controller/handleswfupload
SWF DEBUG: File Types String: *.*
SWF DEBUG: Parsed File Types:
SWF DEBUG: File Types Description: ()
SWF DEBUG: File Size Limit: 734003200 bytes
SWF DEBUG: File Upload Limit: 20
SWF DEBUG: File Queue Limit: 20
SWF DEBUG: Post Params:
SWF DEBUG: controllerID=360
SWF DEBUG: dataObjectClassName=File
SWF DEBUG: hasDataObject=0
SWF DEBUG: parentIDName=ParentID
SWF DEBUG: dataObjectFieldName=
SWF DEBUG: fileClassName=File
SWF DEBUG: OverrideUploadFolder=assets/xxx/
SWF DEBUG: fileFieldName=Files
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global Post Item: controllerID=360
SWF DEBUG: Global Post Item: dataObjectClassName=File
SWF DEBUG: Global Post Item: hasDataObject=0
SWF DEBUG: Global Post Item: parentIDName=ParentID
SWF DEBUG: Global Post Item: dataObjectFieldName=
SWF DEBUG: Global Post Item: fileClassName=File
SWF DEBUG: Global Post Item: OverrideUploadFolder=assets/xxx/
SWF DEBUG: Global Post Item: fileFieldName=Files
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to http://www.domain.com/FileDataObjectManager_Controller/handleswfupload for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 28521. Total: 28521
SWF DEBUG: Event: uploadSuccess: File ID: SWFUpload_0_0 Data: 380
SWF DEBUG: Event: uploadComplete : Upload cycle complete.

Go to Top