Jump to:

23368 Posts in 18143 Topics by 2863 members

General Questions

SilverStripe Forums » General Questions » Image gallery and Zend conflict

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 1695 Views
  • oldwrinkly
    Avatar
    Community Member
    34 Posts

    Image gallery and Zend conflict Link to this post

    I have managed to upload & install all the modules and pages to my site, but have a problem with the image gallery.

    latest build r400 also the DOM and swfupload, on 2.4, host 34sp.com.

    I could create an image gallery page but not save it..`error saving content` The server logs had errors with `safemode`
    I installed .phpcgi which the host uses to get round safe mode, ran /dev/build and got........

    ------------------
    Warning: require_once(Zend/Log.php) [function.require-once]: failed to open
    stream: No such file or directory in
    /var/www/vhosts/kentishweald.co.uk/httpdocs/sapphire/dev/Log.php on line 2

    Fatal error: require_once() [function.require]: Failed opening required 'Zend/Log.php' (include_path='/usr/share/pear:.') in /var/www/vhosts/kentishweald.co.uk/httpdocs/sapphire/dev/Log.php on line 2

    ---------------------------
    Several recent posts in this forum on these zend errors, most saying the host needs to put in an include path.
    I emailed the host with the problem and the reply was their engineers would look at it today(Monday)

    Whether they have or not I do not know, the error has gone away, but now I cannot even `create` an image gallery page but I can create any other type of page.
    I deleted all three modules and re-uploaded newly downloaded ones but still cannot create an image gallery page and there are no errors to look at.

    Although I would rather use image gallery, if no one can help can I set up a photo gallery with lightbox starting from a normal `page`?

    trying to install mysite on a server, that all works fine on my pc is becoming a nightmare!

    Regards
    Mike

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Image gallery and Zend conflict Link to this post

    I don't think directly relates to your gallery as such. The Zend stuff - you have to add your sites folder to your include_path. The include_path defined.

    Ah reading your post it sounds like that has been fixed.

    but still cannot create an image gallery page
    What happens? describe your symptoms. Do you get a red error box?, does the dropdown not display it???

  • oldwrinkly
    Avatar
    Community Member
    34 Posts

    Re: Image gallery and Zend conflict Link to this post

    Willr
    Thanks for replying

    In the sitetree I can create any pagetype except the imagegallerypage and `save & publish` it all works fine.

    If I try to `create` an imagegallerypage from the dropdown, click `go` and nothing at all happens, no loading, no errors, nothing.

    If I try to change a saved page to an imagegallerypage type in the behaviour tab, it will not even try to the change the pagetype,
    yet I can change to any other pagetype.

    Just to try, I installed the image collection module, created an imagecollection page, save & publish, and uploaded a photo from my pc , It all worked as it should and showed the photo on my page.

    Regards
    Mike

  • oldwrinkly
    Avatar
    Community Member
    34 Posts

    Re: Image gallery and Zend conflict Link to this post

    Solved....

    but I am not sure how, I set up a slideshow page, pasted slideshow code using DOM from another post, tried to change pagetype to image gallery and it worked.
    set up a couple of albums with photos and save & publish, it all worked ok.

    I still cannot create an image gallery page from the sitetree dropdown, nor change any other page type to an image gallery pagetype

    But I am up and running, lord knows why or how, there does seem to be something weird going on under the bonnet of 2.4

    Regards
    Mike

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