[Solved] Issue with Gallery 1.6 + CMSMS 1.11.2

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
curlypinky
Forum Members
Forum Members
Posts: 109
Joined: Thu Sep 04, 2008 3:49 am

[Solved] Issue with Gallery 1.6 + CMSMS 1.11.2

Post by curlypinky »

I am having a weird issue with the Gallery 1.6 module and CMSMS 1.11.2.

Gallery works great in the backend but when I attempt to embed a gallery on the page and view it on the front end it is breaking the template. The content is displayed unformatted and no images are displayed. Looking at the source all the stylesheet and header data is gone. When you get to the part where gallery is called it starts out displaying the template and gets to the first image's link where it just cuts off at the href entry.

Code: Select all

<div class="gallery">
<h3>gallery name</h3><p>2 images</p>
<div class="pagenavigation">
</div>

	<div class="img">
	   <a class="group" href="
This is only happening in CMSMS version 1.11+ and is affecting 2 completely separate sites on a common server. Works for me in v 1.10.x. It doesn't matter what page template (tried NClean and my own) or Gallery template is used. Debug is giving me no clues.

Are there any requirements that Gallery needs beyond CMSMS 1.11.2 requirements? Does Gallery require php 5.3+? This server having issues is php 5.2.17.

A site on another server with php 5.3 is running cmsms 1.11.2 and latest gallery just fine (unfortunately I can't move this site).

Thanks!
Alane
Last edited by curlypinky on Mon Oct 01, 2012 7:14 pm, edited 1 time in total.
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Issue with Gallery 1.6 + CMSMS 1.11.2 - requires php 5.3

Post by Jos »

curlypinky wrote:Are there any requirements that Gallery needs beyond CMSMS 1.11.2 requirements? Does Gallery require php 5.3+?
I have never heard of any issues with Gallery running on php5.2 sofar... so it should run just fine.

I'd be happy to take a look at your site because of you know why ;) thx for that... 8)
Just provide me a temporary admin login via PM
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: Issue with Gallery 1.6 + CMSMS 1.11.2 - requires php 5.3

Post by Jos »

Thanks for letting me take a look. It's a very strange issue, but I solved it 8)

The gallery-templates contain smarty tags with escape modifier like
{$image->thumb|escape:'url'|replace:'%2F':'/'}

This was done to make Gallery compatible with the SuperSizer plugin. But yours site goes blank on it.

So I removed the |escape:'url'|replace:'%2F':'/' part everywhere from the default template.
I copied a page (not included in menu) where you can see it work.

I don't know why your site can't handle the escape/replace modifier, but why bother... it's working now ;D
curlypinky
Forum Members
Forum Members
Posts: 109
Joined: Thu Sep 04, 2008 3:49 am

Re: Issue with Gallery 1.6 + CMSMS 1.11.2 - requires php 5.3

Post by curlypinky »

Thank you so much!! I really appreciate you taking a look at it and finding the solution for our particular issue!
Thanks,
Alane
Jos
Support Guru
Support Guru
Posts: 4020
Joined: Wed Sep 05, 2007 8:03 pm

Re: [Solved] Issue with Gallery 1.6 + CMSMS 1.11.2

Post by Jos »

you give some, you get some ;)
Post Reply

Return to “Modules/Add-Ons”