Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » uploadify - IO Error/ http erro/<h1>bad request (invalid hostname)</h1>

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1
Go to End
Author Topic: 886 Views
  • ravik
    Avatar
    Community Member
    10 Posts

    uploadify - IO Error/ http erro/<h1>bad request (invalid hostname)</h1> Link to this post

    hi,

    I am using silverstripe 2.4.7 ,it is working fine but when i installed uploadify module and i try to upload the image it giving error like

    some time it displays

    IO Error / Http error / <h1>bad request (Invalid hostname)</h1>

    after this i put the below code
    UploadifyField::show_debug();
    in mysite / _config.php

    after this the error throws like below

    script: %2Fnesso%2Findex.php%2Fadmin%2Fassets%2FEditForm%2Ffield%2FFiles%2FUploadifyForm%2Ffield%2FUploadedFiles%2Fupload%3FSecurityID%3D5a7ab7d8cec69860fe2c2b599bd47e5162e60744%26ctf%5BFiles%5D%5Bstart%5D%3D0%26ctf%5BFiles%5D%5Bper_page%5D%3D10%26ctf%5BFiles%5D%5Bshowall%5D%3D0%26ctf%5BFiles%5D%5Bsort%5D%3DSortOrder%26ctf%5BFiles%5D%5Bsort_dir%5D%3D%26ctf%5BFiles%5D%5Bsearch%5D%3D%26ctf%5BFiles%5D%5Bfilter%5D%3D%26ctf%5BFiles%5D%5Bview%5D%3D
    refreshlink: /nesso/index.php/admin/assets/EditForm/field/Files/UploadifyForm/field/UploadedFiles/refresh?SecurityID=5a7ab7d8cec69860fe2c2b599bd47e5162e60744&ctf[Files][start]=0&ctf[Files][per_page]=10&ctf[Files][showall]=0&ctf[Files][sort]=SortOrder&ctf[Files][sort_dir]=&ctf[Files][search]=&ctf[Files][filter]=&ctf[Files][view]=
    uploader: /nesso/index.php/uploadify/javascript/uploadify.swf
    scriptAccess: sameDomain
    queueSizeLimit: 40
    auto: 1
    fileExt: *.*
    fileDesc:
    cancelImg: /nesso/index.php/uploadify/images/cancel.png
    image_class: Image
    file_class: File
    buttonText: Upload files
    queueID: UploadifyFieldQueue_UploadedFiles
    wmode: transparent
    hideButton: 1
    upload_on_submit:
    sortable:
    sizeLimit: 2097152
    multi: 1
    deleteEnabled:
    scriptData:

    after this error comes, i red some aritcles and i put below code in /etc/apache2/httpd.conf

    <IfModule mod_security2.c>
    SecRuleEngine Off
    </IfModule>

    but no use, still it giving same error as i mentioned in the above.

    please let me know what is this error.

    886 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.