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 2014-12-01 08:25:41

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Publisher managed home page looking in the wrong directory

I have a publisher managed home page that is published to the top level directory of galleries/pages-gallery as per the wiki. When I go to the site I get an error that it can't find an image in this directory: ttg-be/templates/gallery/pages-gallery. So I publish the same gallery to that directory and still get the missing image error.  I'm guessing I mangled something internally in the workings of publisher and am wondering if I reinstalled publisher if that would help. I see no settings in ttg-be admin or publisher admin to allow changing where the publisher controlled home page should be found. Can I just wipe publisher and start over to fix this or should I wipe ttg-be as well?  See error here: http://www.markhoffmanphotography.com

Offline

#2 2014-12-01 09:15:03

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

Re: Publisher managed home page looking in the wrong directory

Something is wrong with your gallery. Images are appearing in the slideshow code three times each.

First, try un-publishing the entire gallery. Re-publish the gallery with just two or three images, then take a look to see whether it's working properly. Look at the source code to see whether the images repeat within the slideshow array (i.e. you should have only three entries, not nine).

If still a problem, try replacing the template.

If that doesn't help, try another type of template, using a different presentation, or CE4 Gallery, just to see whether they behave the same.


Matt

The Turning Gate, http://theturninggate.net

Offline

#3 2014-12-01 09:58:08

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Publisher managed home page looking in the wrong directory

As directed, I unpublished the offending gallery. Created a new one with 3 images. Published it to top level galleries/pages-gallery.  Didn't have to change the gallery type (galleria) or the template (created in TTG stage). and it is working now.  Of note: a couple of the images I was publishing when this problem started were virtual copies within lightroom. I don't think I've done that before. I noticed that the virtual copies filenames had " dot COPY 1" after the file name. Might that have been the problem?

Offline

#4 2014-12-01 10:54:03

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

Re: Publisher managed home page looking in the wrong directory

dot COPY 1 ... ?

That's weird, and could very well have been the problem.

Ben, when you see this, can you take a look at the file naming of virtual copies from publisher? If naming is using dots, that's something we should monitor, if it's not something we can outright fix.


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2014-12-01 11:11:44

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Publisher managed home page looking in the wrong directory

May have spoken too soon. The problem with the home page images is fixed. But it broke my navigation partially. Click the about or contact nav link and things crash. This is truly weird because nav on this site has been controlled by phplugins and has worked flawlessly until now. Incidentally all the TTG engines are the newest release from a day or two ago. I've checked the server path to the phplugins file within the template and rebuilt the template (in stage).  Error is a parse error in line 85 but examining the page source I'm not seeing that. Kinda like whack a mole: smack one here another pops up over there.

Offline

#6 2014-12-01 11:14:51

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

Re: Publisher managed home page looking in the wrong directory

Well that's got nothing to do with publisher or your gallery; I wonder if you might be getting the PAGEIMAGE bug that I hotfixed; this affects pages which have no image assigned to appear on the page. Try downloading the most recent build of CE4 Pages again to make sure you have that fix.


Matt

The Turning Gate, http://theturninggate.net

Offline

#7 2014-12-01 11:22:56

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Publisher managed home page looking in the wrong directory

Found that parse error in about.php and contact.php the line should look like this:
    define("PAGEIMAGE", "lib/images/identityplate.png");
instead of like this:
    define("PAGEIMAGE", .lib/images/identityplate.png);
I do have the hot fix, I think. DL'd it yesterday.

Last edited by markh (2014-12-01 11:23:50)

Offline

#8 2014-12-01 11:28:20

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

Re: Publisher managed home page looking in the wrong directory

Nope, that was the thing I fixed. I've just posted 7.0.12 to make it clearer that there are fixes available for download. Sorry about the inconvenience.


Matt

The Turning Gate, http://theturninggate.net

Offline

#9 2014-12-01 11:56:19

markh
Member
From: Center of The US
Registered: 2012-09-24
Posts: 380
Website

Re: Publisher managed home page looking in the wrong directory

Cool

Offline

Board footer

Powered by FluxBB