Jump to:

7936 Posts in 1537 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Uploadify HTTP Error

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2 3 4 5 6 7 8 9 10
Go to End
Author Topic: 22060 Views
  • ccburns
    Avatar
    Community Member
    74 Posts

    Re: Uploadify HTTP Error Link to this post

    No I have a dedicated server with Slicehost (which I believe is a Rackspace company). But I do have complete control of the server...

  • UncleCheese
    Avatar
    4085 Posts

    Re: Uploadify HTTP Error Link to this post

    Does your doc root start with /mnt/ ?

  • ccburns
    Avatar
    Community Member
    74 Posts

    Re: Uploadify HTTP Error Link to this post

    no no, I have a dedicated server.

    The site is in /var/www/vhosts/blah.com/public

    Cheers,
    Colin

  • spankmaster79
    Avatar
    Community Member
    46 Posts

    Re: Uploadify HTTP Error Link to this post

    my problem is fixed. It was the .htaccess Basic Authentification that broke the upload. After removing it everything works.

  • biapar
    Avatar
    Forum Moderator
    435 Posts

    Re: Uploadify HTTP Error Link to this post

    Which? Where is .htaccess?

  • spankmaster79
    Avatar
    Community Member
    46 Posts

    Re: Uploadify HTTP Error Link to this post

    In the document root I had a .htaccess file that I created to prevent access before the system is live. It seems as Uploadify cannot handle the authentification through AuthType Basic http://httpd.apache.org/docs/2.0/howto/auth.html or doesn't have recognition of it. So the upload fails.

    If this is active on your server you will get a login screen from the browser before you see the website.

  • yug
    Avatar
    Community Member
    17 Posts

    Re: Uploadify HTTP Error Link to this post

    H

    I was previously using ImageDataObjectManager and all worked fine. ! changed it to FileDataObjectManager and i now get the http error. If i change it back, it works again

    Any Ideas

  • yug
    Avatar
    Community Member
    17 Posts

    Re: Uploadify HTTP Error Link to this post

    I Found my problem. I had a class MyImage extending data object.

    Now in Homepage.php i was adding a MyImage using a ImageDataObjectManager and in Page.php i was adding MyImage using FileDataObjectManager. When i changde them both to FileDataObjectManager or both to ImageDataObjectManager, it worked

    22060 Views
Page: 1 2 3 4 5 6 7 8 9 10
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.