Jump to:

7938 Posts in 1541 Topics by 945 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: 1051 Views
  • ravik
    Community Member
    10 Posts

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


    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
    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: *.*
    cancelImg: /nesso/index.php/uploadify/images/cancel.png
    image_class: Image
    file_class: File
    buttonText: Upload files
    queueID: UploadifyFieldQueue_UploadedFiles
    wmode: transparent
    hideButton: 1
    sizeLimit: 2097152
    multi: 1

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

    <IfModule mod_security2.c>
    SecRuleEngine Off

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

    please let me know what is this error.

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.