Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » SS2.4+DOM+image_gallery=cannot upload or view

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: 987 Views
  • Lukef
    Avatar
    Community Member
    32 Posts

    SS2.4+DOM+image_gallery=cannot upload or view Link to this post

    As a disclaimer, I am a designer, i am happy with Photoshop, comfortable with XHTML/CSS, but i only know enough about real coding to get myself into trouble then do what i am told in order to fix it.

    I have already tried this issue on IRC, but unfortunately struck out, which brings me to here and now...

    In the interest of full disclosure, (incase it matters), a client site (not on my usual host) was moved to a different server (on the same host) I copied the files and database across and with the help of others got everything running well enough, with the exception of the image gallery and DOM.

    This is the page in question

    http://www-sandbox.austrackcampers.com/photo-galleries/

    Try accessing either gallery, you should see an error : [Notice] Trying to get property of non-object

    I get this error when i try to add a thumbnail to the albums, http://pastie.org/1004711

    And when i try to upload pics to albums i get these (i get the same thing uploading anywhere in the cms)

    I hope you guys can help me out, i really need to get this one off my desk soon.

    Thanks in advance.

  • UncleCheese
    Avatar
    4085 Posts

    Re: SS2.4+DOM+image_gallery=cannot upload or view Link to this post

    Looks like you've gotta talk to your hosting provider about lifting that open_basedir restriction. That's pretty ridiculous that they don't let you read from the temp dir.

  • Lukef
    Avatar
    Community Member
    32 Posts

    Re: SS2.4+DOM+image_gallery=cannot upload or view Link to this post

    You have to be kidding me... it is their fault? annoying... yes, but so glad it is not due to me stuffing anything up many thanks Uncle Cheese, i'll name a child after you... Cheese Mk2 ;)

    |G|

  • Lukef
    Avatar
    Community Member
    32 Posts

    Re: SS2.4+DOM+image_gallery=cannot upload or view Link to this post

    Hey Uncle Cheese I just got off the phone with the host, I got a flat "No, we cant do that"

    Is there any work around or do i advise my client to churn to another host?

    |G|

  • UncleCheese
    Avatar
    4085 Posts

    Re: SS2.4+DOM+image_gallery=cannot upload or view Link to this post

    That's awful. Did you send them the backtrace of the error? It's ridiculous to me that a hosting provider would restrict uploads. Who's your hosting provider? Stalin?

  • Lukef
    Avatar
    Community Member
    32 Posts

    Re: SS2.4+DOM+image_gallery=cannot upload or view Link to this post

    Smartyhost... I think they are some kind of Nerf Stalin, oh so polite, but the answer is still no... i started to explain my situation and the second i said the words "open_basedir restriction" he basically said "sorry this is a shared host we cannot do that, if it is essential to your site please call sales and ask for a refund and trasfer to another host" he was super polite though...

  • UncleCheese
    Avatar
    4085 Posts

    Re: SS2.4+DOM+image_gallery=cannot upload or view Link to this post

    It's so absurd it makes me wonder if it is in fact some sort of user error. It seems incredibly odd that they wouldn't even let you read from the temp dir. Without that ability, file uploads are impossible, AFAIK.

    987 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.