Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-07-15 03:05:33

charlie.choc
Member
From: Marietta, GA
Registered: 2014-01-09
Posts: 359
Website

Error on galleries tab

Somehow I must have messed up a publisher update or something as I am getting this error when I click my Galleries tab on my main page:

ERROR
Switch View

    <% if model.autoindex.type.desktop == 'descriptive' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-thumbnail clearfix" style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    <a href="<% write("<?php print $albums[$i]['url']; ".."?"..">")%>"><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    </div>
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'ce4-freewall' then %>
    <div class="brick" style="height: <% write("<?php print floor($height + ".. math.floor(model.freewall.margin * 2 + model.album.border.width * 2) .."); ".."?"..">")%>px;">
    <div class="album clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>><img alt="Album Title" src="<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>" class="album-image" /></a>
    <ul>
    <li class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></li>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <li class="album-desc"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></li>
    <% end %>
    </ul>
    </div>
    </div><!-- .brick -->
    <% elseif model.autoindex.type.desktop == 'iconic' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-image mosaic-backdrop"
    style="background-image: url(<% write("<?php print $albums[$i]['thumbnail']; ".."?"..">")%>);">
    </div>
    <div class="mosaic-overlay">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <% if model.mosaic.Title == 'titleanddescription' then %>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    <% end %>
    </div>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% elseif model.autoindex.type.desktop == 'text-only' then %>
    <div class="album grid_<%= math.floor( 12 / model.albumodel.settings.columns ) %> clearfix">
    <div class="album-mantle clearfix">
    <a class="album-link" <% write("<?php print $AI_TARGET; ".."?"..">")%>></a>
    <div class="album-core clearfix">
    <div class="album-info">
    <p class="album-title"><% write("<?php if (isset($albums[$i]['access']) && $albums[$i]['access'] == 'locked'){ ".."?"..">")%><span class="locked"><i class="fa fa-fw fa-lock"></i> </span><% write("<?php } ".."?"..">")%><% write("<?php print $albums[$i]['title']; ".."?"..">")%></p>
    <p class="album-description"><% write("<?php print $albums[$i]['description']; ".."?"..">")%></p>
    <% if model.album_info.fade then %>
    <p class="album-overlay"></p>
    <% end %>
    </div>
    </div>
    </div>
    </div><!-- .album -->
    <% end --[[ autoindex.type ]] %>

I am using publisher to update my galleries and I get this for every gallery on the page.

The web site address is stalkinglight.com

I redid the publisher and cart updates an rebuilt my main page but still get the error.

Any tips on what to look for - I'm sure it was some dumb mistake I made.

Thanks.

Offline

#2 2015-07-15 04:09:19

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Error on galleries tab

when you updated Publisher did you log in to ttg-be/publisher to complete the update?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-07-15 04:30:59

charlie.choc
Member
From: Marietta, GA
Registered: 2014-01-09
Posts: 359
Website

Re: Error on galleries tab

I did but nothing happened

The published dashboard says 2.3.0 but the zip is 230b, fyi

Last edited by charlie.choc (2015-07-15 04:46:55)

Offline

#4 2015-07-15 07:25:21

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Error on galleries tab

this was actually a Pages error from a couple of weeks ago. Have you applied the hotfix?
http://theturninggate.net/2015/07/ce4-p … 4a-hotfix/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2015-07-15 07:42:40

charlie.choc
Member
From: Marietta, GA
Registered: 2014-01-09
Posts: 359
Website

Re: Error on galleries tab

I may have missed that one, I'll give it a shot. Thanks

added: did the trick, thanks again

Last edited by charlie.choc (2015-07-15 08:01:58)

Offline

Board footer

Powered by FluxBB