Page 1 of 2

[SOLVED] Gallery 1.5 can't open subgalleries

Posted: Tue Feb 14, 2012 5:02 pm
by frankmanl
CMSMS 1.10.3
pretty urls
Gallery 1.5
installation of CMSMadeSimple in root/cmsms/

I upgraded from 1.4.4 to 1.5 this morning on 3 sites. Now subgalleries won't open on any of these.
See e.g. http://www.hetsprookjesteam.nl/tekeningen
The single images do open in a lytebox.
The first thumb (caption Sprookje!) however does not open the subgallery. In the URL I see a double slash just before the id number:

Code: Select all

http://www.hetsprookjesteam.nl/gallery/De-Jongen-Die-Nooit-Bang-Was-sprookje//61
It looks like something is left out of the url.
Any idea why this happens? How to fix it?

Frank


EDIT
I just tested the gallery in another site. Worked OK without pretty URLs, but the problem appears when I activate pretty URLs.

Re: Gallery 1.5 can't open subgalleries

Posted: Tue Feb 14, 2012 5:53 pm
by Jos
Why ask this in English ;)

What is your configuration. Did you put the {Gallery} tag in the content field of a page? Which parameters do you use?

Re: Gallery 1.5 can't open subgalleries

Posted: Tue Feb 14, 2012 6:20 pm
by frankmanl
Ja, waarom eigenlijk in het engels??

Is this what you ean by configuration:

Code: Select all

----------------------------------------------

Cms Version: [b]1.10.3[/b]

Installed Modules:

    CMSMailer: [b]2.0.2[/b]
    CMSPrinting: [b]1.0[/b]
    FileManager: [b]1.2.0[/b]
    MenuManager: [b]1.7.7[/b]
    MicroTiny: [b]1.1.1[/b]
    ModuleManager: [b]1.5.3[/b]
    News: [b]2.12.3[/b]
    Search: [b]1.7[/b]
    ThemeManager: [b]1.1.4[/b]
    TinyMCE: [b]2.9.6[/b]
    FormBuilder: [b]0.7.1[/b]
    CGExtensions: [b]1.27.7[/b]
    OwnersManual: [b]1.0.2[/b]
    Gallery: [b]1.5[/b]


Config Information:

    php_memory_limit: [b][/b]
    process_whole_template: [b]false[/b]
    output_compression: [b]false[/b]
    max_upload_size: [b]32000000[/b]
    default_upload_permission: [b]664[/b]
    url_rewriting: [b]mod_rewrite[/b]
    page_extension: [b][/b]
    query_var: [b]page[/b]
    image_manipulation_prog: [b]GD[/b]
    auto_alias_content: [b]true[/b]
    locale: [b][/b]
    default_encoding: [b]utf-8[/b]
    admin_encoding: [b]utf-8[/b]
    set_names: [b]true[/b]


Php Information:

    phpversion: [b]5.3.3[/b]
    md5_function: [b]Aan[/b] (Waar)
    gd_version: [b]2[/b]
    tempnam_function: [b]Aan[/b] (Waar)
    magic_quotes_runtime: [b]Uit[/b] (Onwaar)
    E_STRICT: [b]0[/b]
    E_DEPRECATED: [b]8192[/b]
    memory_limit: [b]128M[/b]
    max_execution_time: [b]30[/b]
    output_buffering: [b]Aan[/b]
    safe_mode: [b]Uit[/b] (Onwaar)
    file_uploads: [b]Aan[/b] (Waar)
    post_max_size: [b]32M[/b]
    upload_max_filesize: [b]32M[/b]
    session_save_path: [b]/tmp[/b] (0777)
    session_use_cookies: [b]Aan[/b] (Waar)
    xml_function: [b]Aan[/b] (Waar)


Server Information:

    Server Api: [b]cgi-fcgi[/b]
    Server Db Type: [b]MySQL (mysql)[/b]
    Server Db Version: [b]4.1.21[/b]


----------------------------------------------
The tag I use is {Gallery}, I put it in the content field.
No parameters.
The other site I tested on (in the EDIT line at the end of my post) is an out of the box installation of CMSMS.

Re: Gallery 1.5 can't open subgalleries

Posted: Tue Feb 14, 2012 7:31 pm
by Jos
Thanks... maybe some bug slipped in.. I will investigate.. please stay tuned

Re: Gallery 1.5 can't open subgalleries

Posted: Tue Feb 14, 2012 9:55 pm
by Jos
Frank, I just released a bugfix: Gallery version 1.5.1

In my sandbox all worked fine, even with pretty-urls. So I didn't notice the double slashes. But this is fixed in the new release now.

Thanks for your quick and clear issue report ;)

I hope this solves your issue completely

Re: Gallery 1.5 can't open subgalleries

Posted: Wed Feb 15, 2012 6:54 am
by frankmanl
Thanks for you quick actions. Unfortunately the subgalleries still don't open, although the double slash is now a single slash.
On the 3 production sites I disabled pretty urls, so at least the subgalleries can be viewed.
On the out of the box installation (http://cmsmswiki.frankma.nl) I use pretty URLs, Gallery 1.5.1, CMSMS 1.10.3 and template Fancybox 1.3.1-2.
No pressure for now ( ;) ), but it would be nice if we can get this fixed someday.
If you need any info about my test site, please let me know. I'm off for work now (you too I suppose), but can send you any info this evening.

Frank

Re: Gallery 1.5 can't open subgalleries

Posted: Wed Feb 15, 2012 5:54 pm
by Jos
Hi Frank,

I sent you an email with a new bugfix version.

Please let me know if this helps.

Re: Gallery 1.5 can't open subgalleries

Posted: Thu Feb 16, 2012 12:47 pm
by Calimer0
Hi Jos,

I've got the same problem.
Is the new release already public?

Re: Gallery 1.5 can't open subgalleries

Posted: Thu Feb 16, 2012 1:17 pm
by Jos
Almost... I've sent you an email too ;)

Re: Gallery 1.5 can't open subgalleries

Posted: Thu Feb 16, 2012 10:17 pm
by Jos
With 1.5.2 this should be solved now... Confirmed by Frank and Calimer0.

I'm very sorry for any inconveniences :-[

Re: Gallery 1.5 can't open subgalleries

Posted: Fri Feb 17, 2012 12:02 am
by Greg
Thanks Jos,
1.5.2 solves the problem :D

Re: Gallery 1.5 can't open subgalleries

Posted: Sat Feb 18, 2012 10:50 pm
by mac2712
Jos
I had the same problem and 1.5.2 solved it thanks for the great support.
but i did notice when using {Gallery img=66} there is a triple slash in the link like this
images/Gallery/website///******.jpg





Alex

Re: Gallery 1.5 can't open subgalleries

Posted: Sun Feb 19, 2012 12:13 pm
by Jos
Alex, I'm sorry, I can't reproduce the issue you're having with the img parameter. Can you PM or email me a link to your site?

Re: Gallery 1.5 can't open subgalleries

Posted: Mon Feb 20, 2012 8:02 am
by mac2712
Jos
Email Sent

Re: Gallery 1.5 can't open subgalleries

Posted: Mon Feb 27, 2012 10:17 am
by Mich-adg
Hi,

i'm trying with Gallery 1.5.2 to call one specific image like this :

Code: Select all

{gallery dir='dir/subdir' img='1'}
But the image don't display, the code i have is : <img alt="Image Gallery" src="uploads/images/Gallery/thumb_">
Any idea ?


I use Cms is 1.10.3 and mod_rewrite On.