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

Uploadify HTTP Error


Go to End


80 Posts   37910 Views

Avatar
ccburns

Community Member, 79 Posts

12 February 2011 at 5:52pm

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

Avatar
UncleCheese

Forum Moderator, 4102 Posts

12 February 2011 at 6:22pm

Does your doc root start with /mnt/ ?

Avatar
ccburns

Community Member, 79 Posts

12 February 2011 at 6:33pm

no no, I have a dedicated server.

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

Cheers,
Colin

Avatar
spankmaster79

Community Member, 46 Posts

15 February 2011 at 11:09pm

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

Avatar
biapar

Forum Moderator, 435 Posts

15 February 2011 at 11:27pm

Which? Where is .htaccess?

Avatar
spankmaster79

Community Member, 46 Posts

15 February 2011 at 11:41pm

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.

Avatar
yug

Community Member, 17 Posts

23 February 2011 at 11:50am

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

Avatar
yug

Community Member, 17 Posts

23 February 2011 at 12:02pm

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