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-04-10 09:34:09

Wantedimages
Member
From: Brisbane, QLD Australia
Registered: 2012-12-22
Posts: 23
Website

Awesome Icons in Auto Index - 500 Error

I can successfully add awesome icons to the Page Copy (md) field in Gallery templates via Publisher in Lightroom, but when I try the same with Auto Index templates I get the "Can't rename the published collection. Error performing function. (Code: 500)" warning.
I am testing with a simple header like this . . .

## <i class="fa fa-paint-brush"></i> Header

Will it work in Auto Index?

Last edited by Wantedimages (2015-04-10 15:38:49)


Cheers
Gary

Offline

#2 2015-04-10 10:24:52

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

Re: Awesome Icons in Auto Index - 500 Error

stuff in the text fields should have nothing to do with it. Have you tried creating an album set without adding any text, just to eliminate (or confirm) that as the problem?

Make sure you're running the most current version of Publisher (there was a problem in an earlier version with publishing/renaming album sets)

if that's not it, be sure to post a link to your site and make sure that guest access to ttg-be is enabled.

also, the syntax you posted to add the icon is incorrect. It should be:

## <i class="fa fa-paint-brush"></i>Header

And that icon is in Font Awesome version 4.2. Currently, as is, TTG supports 4.1.
But that's easily remedied with phplugins:
http://ttg-tips-and-tricks.barbeephoto. … t-awesome/


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-04-10 11:20:45

Wantedimages
Member
From: Brisbane, QLD Australia
Registered: 2012-12-22
Posts: 23
Website

Re: Awesome Icons in Auto Index - 500 Error

Rod,
I have a heap of album sets all working fine and can add or delete text with and without markup and they all work fine (none have Icons) but as soon as I add the icon syntax to any of the Auto Index pages (copy and paste from notepad) I get the error every time, all working for Galleries. I can add and delete and update any other text without error.

Am running version 221 of publisher as I only purchased on the 3 Apr.

Link to test site here (ttg-be guest enabled) http://test.wantedimages.com.au (still under construction)

Syntax is correct when I try to add it, I just posted it incorrectly here :-(

I had already stalked your page :-) and applied the fix for latest version of Font Awesome before starting web/album creation.

Last edited by Wantedimages (2015-04-10 11:49:44)


Cheers
Gary

Offline

#4 2015-04-10 12:04:25

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

Re: Awesome Icons in Auto Index - 500 Error

strange.

I just tried editing an album set on my test site, adding the same font awesome stuff as you did and I had no problem with it.

I took a look at your site and one thing I notice is that all of your templates seem to have spaces in the names. So the first thing to try is changing the names of all of your autoindex and gallery templates so that they don't have spaces. For web files and folders use only letters, numbers, dashes, and underscores. No spaces or special characters.


I don't know if that will fix things, but it's a starting point


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-04-10 12:49:12

Wantedimages
Member
From: Brisbane, QLD Australia
Registered: 2012-12-22
Posts: 23
Website

Re: Awesome Icons in Auto Index - 500 Error

Mmmm... well all web file and folders renamed without spaces, templates reapplied to all Auto Index and Galleries via Publisher, LR restarted and then added the icon syntax to an existing album set but still failed with 500 error :-(

Created a new album set with no icon syntax, loaded to server, then edited to add syntax = fail
Created a new album set with icon syntax, loaded to server = success
Any addition of any text or code to working album set = fail
Delete icon syntax from working album set = success, however can then only add text, no syntax, there's no going back.

Note - a fail each time is represented by the error 500 message.

Just compared working and non-working Album Gallery files on the server and both are identical apart from unique ids

<edit> further testing reveals that NO editing of any field (and I mean any field or dropdown on any tab) within the album set can be made while the icon syntax is in place or you get the 500 error.

Last edited by Wantedimages (2015-04-10 13:58:55)


Cheers
Gary

Offline

#6 2015-04-10 14:19:05

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Awesome Icons in Auto Index - 500 Error

You need to terminate the tag.

## <i class="fa fa-paint-brush"></i> Header

Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2015-04-10 14:37:33

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

Re: Awesome Icons in Auto Index - 500 Error

when you add the tag, how exactly are you doing it?

If, for example, you've written it in a word processor and then are copying and pasting, this might cause errors due to the formatting applied by the word processor, especially to quote marks.

So if you are using a word processor, try a plain text editor like Notepad++ or Text Wrangler


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

Offline

#8 2015-04-10 15:37:41

Wantedimages
Member
From: Brisbane, QLD Australia
Registered: 2012-12-22
Posts: 23
Website

Re: Awesome Icons in Auto Index - 500 Error

Matt, I had terminated the tag, just wrote it wrong in the post :-)

Rod, I am using a plain text editor (Notepad++) same as I do for all other pages etc and they are all working fine...
Process is to write snippet using markdown syntax then cut and paste as required into required fields.


Cheers
Gary

Offline

#9 2015-04-10 23:02:18

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

Re: Awesome Icons in Auto Index - 500 Error

weird. have you tried it with straight html instead of Markdown?

<h2><i class="fa fa-paint-brush"></i> Header</h2>

this is the first time I've seen this problem on the forum (like I said, it works fine for me -- using Bluehost) and may be something that Ben needs to look into.


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

Offline

#10 2015-04-12 08:05:03

Wantedimages
Member
From: Brisbane, QLD Australia
Registered: 2012-12-22
Posts: 23
Website

Re: Awesome Icons in Auto Index - 500 Error

Has me beat to Rod..
HTML and markdown work until the class is added then both fail, so I am assuming something to do with the referencing of or access to the class. But it is weird that Gallery works fine yet Auto Index doesn't.

Last edited by Wantedimages (2015-04-12 08:18:23)


Cheers
Gary

Offline

#11 2015-04-12 09:21:47

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

Re: Awesome Icons in Auto Index - 500 Error

and the Font Awesome icons work elsewhere on the page, like in the navigation and the social media icons.

I don't get it.


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

Offline

#12 2015-04-12 13:22:10

Wantedimages
Member
From: Brisbane, QLD Australia
Registered: 2012-12-22
Posts: 23
Website

Re: Awesome Icons in Auto Index - 500 Error

I know and I don't get it either ;-)
I even recreated a new Gallery template, did the usual copy from that into a new Auto Index template (made no changes), exported (ftp), created new album set and allocated new Auto Index template, all worked then tried to add icons and the problem is still there.

I think I will just leave it alone and not implement icons on the Auto Index pages, wasted too much time chasing this as it is :-)

Only thing in the back of my mind is that I have single albums (gallery template) at the same level as album sets (auto index template) that appear in the drop down menu at the same level...

Last edited by Wantedimages (2015-04-12 13:53:43)


Cheers
Gary

Offline

#13 2015-04-12 13:55:48

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

Re: Awesome Icons in Auto Index - 500 Error

have you tried including the Font Awesome icon in the template and then using the option to include the template text in the album?


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

Offline

#14 2015-04-14 22:17:19

Wantedimages
Member
From: Brisbane, QLD Australia
Registered: 2012-12-22
Posts: 23
Website

Re: Awesome Icons in Auto Index - 500 Error

Tried and failed Rod :-(


Cheers
Gary

Offline

#15 2015-04-14 23:02:02

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

Re: Awesome Icons in Auto Index - 500 Error

and I imagine you've already tried cussing at it wink

Since this works in uploaded autoindexes (I'm assuming you've tried this) but not in album sets, then it seems it must be an issue with Publisher and the database.
I'm guessing. In a wild-ass manner.

you could try shooting Ben a PM describing the problem and giving him admin access to ttg-be. He may also need ftp access as well.


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

Offline

#16 2015-04-16 20:53:25

Wantedimages
Member
From: Brisbane, QLD Australia
Registered: 2012-12-22
Posts: 23
Website

Re: Awesome Icons in Auto Index - 500 Error

cussing is one way to put it ;-)

I have moved on and decided that I will not use icons in album sets and have since published the website (www.wantedimages.com.au), but may contact Ben out of curiosity ...

Thanks for looking into it and posing possible solutions.


Cheers
Gary

Offline

Board footer

Powered by FluxBB