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.

General Questions /

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

Image gallery and Zend conflict


Reply


4 Posts   1759 Views

Avatar
oldwrinkly

Community Member, 34 Posts

15 June 2010 at 8:54am

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

Avatar
Willr

Forum Moderator, 5513 Posts

15 June 2010 at 6:19pm

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???

Avatar
oldwrinkly

Community Member, 34 Posts

16 June 2010 at 6:14am

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

Avatar
oldwrinkly

Community Member, 34 Posts

17 June 2010 at 10:28am

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