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 2018-09-09 20:09:33

speacock110
Member
Registered: 2013-04-11
Posts: 169

No Publisher Directory for the API

Lightroom cannot find the Publisher directory, it is not in the backlight folder.

Also I am not applying any templates to my pages, looks very to how it looked when I forgot to clear the template cache. That does not do anything nor does update the albums

Offline

#2 2018-09-09 20:12:19

speacock110
Member
Registered: 2013-04-11
Posts: 169

Re: No Publisher Directory for the API

I also get this message when I try to view the top level gallery The requested URL /backlight/galleries/ was not found on this server.

my galleries folder is in the root not inside backlight,

Offline

#3 2018-09-09 20:12:34

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: No Publisher Directory for the API

There is no longer a directory called 'publisher'.  It is instead mapped from the URL to Backlight using the .htaccess file under backlight/.  Did you upload this file from backlight/ in the installer zip file?

Offline

#4 2018-09-09 21:27:21

speacock110
Member
Registered: 2013-04-11
Posts: 169

Re: No Publisher Directory for the API

Not copied as it was a hidden folder. Now copied to backlight folder but no change

Offline

#5 2018-09-09 21:28:31

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: No Publisher Directory for the API

Is mod_write enabled and AllowOverwrite set to all for the directory you are using?

Offline

#6 2018-09-09 22:05:04

speacock110
Member
Registered: 2013-04-11
Posts: 169

Re: No Publisher Directory for the API

These are the settings in my http-vhosts.conf file
<Directory "/Users/speacock/Sites/ttg-backlight-testing/">
Allow From All
AllowOverride All
Options +Indexes
Require all granted
</Directory>
<VirtualHost *:80>
    ServerName "test-ttg-bl.site"
    DocumentRoot "/Users/speacock/Sites/ttg-backlight-testing"
</VirtualHost>

plus AllowOverride All is sey in the main config file
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride All

Offline

#7 2018-09-09 22:18:16

speacock110
Member
Registered: 2013-04-11
Posts: 169

Re: No Publisher Directory for the API

Think I have it
LoadModule rewrite_module libexec/apache2/mod_rewrite.so
this line in my conf file was disabled

The only issue is that my small test site I have got working is in username/Sites folder

However I have another folder /OneDrive/wwwPublish for my local working sites and this still does not work

Last edited by speacock110 (2018-09-09 22:39:13)

Offline

#8 2018-09-09 23:58:09

speacock110
Member
Registered: 2013-04-11
Posts: 169

Re: No Publisher Directory for the API

Sorted After Getting it to work on one site in the Sites folder by making sure rewrite_module was enabled. I then looked at the other folder and discovered a load of left over htaccess files once deleted so the only one was the latest in the Backlight folder everything works. So thanks for pointing me in the right direction.

Now to explore fully.

Offline

Board footer

Powered by FluxBB