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-06-09 01:30:58

hhzanzi
Member
Registered: 2015-06-09
Posts: 10

CE4 Publisher fails "Check Autentication"

Hello
I have the CE4 Web Publishing suite and CE4 Stage. My hosting provider is 1&1. Linux platform, apache server, PHP 5.5/ I am using Lightroom 4.0 on a Windows 8 PC.
the publisher/ folder was uploaded to ttg-be/ in the root of my site The CE4-Publisher.lrplugin was installed through the Plug-in Manager. In the Publisher Admin page I put a new API key. Then in LightroomPublishing Manager in the Publisher API details I put the URL to the Publisher folder that was given to me by 1&1. I put the new API key. When I click Check Authentication i get bad url
      Error performing function.
Unable to complete the action.
     Headers:   {    [error]    =)     {         [errorCode]   =)      "badURL"       )
}
Also please note that inside the Publisher folder on the server, the folder htaccess is disabled { htaccess_disabled }
Here is the htaccess content:
<IfModule mod_rewrite.c>
    RewriteEngine On
    #RewriteBase /dev/simpleapp/

    #RewriteRule ^application/data/phpliteadmin.php$ index2.php [L,QSA]

    RewriteCond %{REQUEST_URI} ^.*/framework/.*$
    RewriteRule ^(.*)$ index.php [L]

    RewriteCond %{REQUEST_URI} ^.*/application/.*$
    RewriteRule ^(.*)$ index.php [L]

    #handle relative paths in css url('../img/....')
    RewriteRule /(img)/(.*)?$ resources/$1/$2 [L,QSA]
    RewriteRule ^resources/(css|js|images|img)/(.*)?$ resources/$1/$2 [L,QSA]
    #RewriteRule ^(resources/css|js|images/.*?)$ $1 [L,QSA]
   
    RewriteCond %{REQUEST_FILENAME} -f
    RewriteRule ^ %{REQUEST_FILENAME} [L]
   
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
   
    RewriteRule ^/?([a-zA-Z_]+)/([a-zA-Z_]+)/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+).*$ index.php?c=$1&a=$2&p1=$3&p2=$4&p3=$5&u=%{REQUEST_URI}&mr=1&%{QUERY_STRING} [L]
    RewriteRule ^/?([a-zA-Z_]+)/([a-zA-Z_]+)/([a-zA-Z0-9_]+)/([a-zA-Z0-9_]+)/?$ index.php?c=$1&a=$2&p1=$3&p2=$4&u=%{REQUEST_URI}&mr=1&%{QUERY_STRING} [L]
    RewriteRule ^/?([a-zA-Z_]+)/([a-zA-Z_]+)/([a-zA-Z0-9_]+)/?$ index.php?c=$1&a=$2&p1=$3&u=%{REQUEST_URI}&mr=1&%{QUERY_STRING} [L]
    RewriteRule ^/?([a-zA-Z_]+)/([a-zA-Z_]+)/?$ index.php?c=$1&a=$2&u=%{REQUEST_URI}&mr=1&%{QUERY_STRING} [L]
    RewriteRule ^/?([a-zA-Z_]+)/?$ index.php?c=$1&u=%{REQUEST_URI}&mr=1&%{QUERY_STRING} [L]
    RewriteRule ^.*$ index.php?%{QUERY_STRING}&mr=1&%{QUERY_STRING} [L]
   
</IfModule>

I am not able to go beyond this point so please help.
Thanks
hhzanzi

Offline

#2 2015-06-09 01:53:30

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

Re: CE4 Publisher fails "Check Autentication"

what url are you using to get to your publisher api folder?

can you post a link to your site?

If you've done the standard install of Publisher, the API URL should be:

http://yoursite.com/ttg-be/publisher/

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-06-09 03:55:17

hhzanzi
Member
Registered: 2015-06-09
Posts: 10

Re: CE4 Publisher fails "Check Autentication"

Hello Rod

Thank you for the quick response.
My new site is not online. I have not been able to pass the Check Verification.
The URL that I use:
http://mydomain.onlinehome.us/ttg-be/publisher/?c=admin
http://mydomain.onlinehome.us/ttg-be/admin/?a=login
http://mydomain.onlinehome.us/ttg-be/admin/
http://mydomain.onlinehome.us/ttg-be/publisher/

All of them work but the last one. This is the one that I am using in the Lightroom Publishing Manager and is getting the bad URL
When I try to use it on Google Chrome I get this error message:
{"status":"error","message":"The page sent an action which was not available."}
I am stuck here.

hhzanzi

Offline

#4 2015-06-09 04:24:07

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

Re: CE4 Publisher fails "Check Autentication"

can you post the real url to your ttg-be installation? It's hard to tell anything without being able to see something

Is the Publisher API key still set at the ttg default? If so, I can try authenticating at my end just to see if it's working.


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-06-09 04:42:17

hhzanzi
Member
Registered: 2015-06-09
Posts: 10

Re: CE4 Publisher fails "Check Autentication"

Hi Rod

Can I send you the actual URL via E-mail ?
I already changed the API key in the Publisher settings.
What happens with "htaccess_disabled" ?
Is it that the way it is supposed to be?
Thank you again
hhzanzi

Offline

#6 2015-06-09 04:47:11

hhzanzi
Member
Registered: 2015-06-09
Posts: 10

Re: CE4 Publisher fails "Check Autentication"

Hi Rod
If you need I can change the API settings back to ttg defaults. {ttg-9999}
Please let me know.

hhzanzi

Offline

#7 2015-06-09 04:48:53

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

Re: CE4 Publisher fails "Check Autentication"

I don't know about the htaccess_disabled.

you can send the url via email if you like, but if I can't help, then you're going to want to either send it to Ben or post it here anyway for him to see.


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-06-09 05:37:20

hhzanzi
Member
Registered: 2015-06-09
Posts: 10

Re: CE4 Publisher fails "Check Autentication"

Hello Rod

I found the problem. There was a space in front of the http in the Publisher URL. I deleted it and I was able to pass the Check Verification.
I still would like to know if there is a problem with the "htaccess_disabled"
Thank you

hhzanzi

Offline

#9 2015-06-09 05:59:09

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

Re: CE4 Publisher fails "Check Autentication"

I still would like to know if there is a problem with the "htaccess_disabled"

Actually, I don't think it's an issue. I've got one in my publisher/ folder too. My guess is that it's there for certain special circumstances, like some non-standard hosting or something, and it can be renamed to .htaccess if needed to meet those circumstances.

Ben's probably explained it sometime in the past in the forum, but I don't recall.


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-06-09 06:20:02

hhzanzi
Member
Registered: 2015-06-09
Posts: 10

Re: CE4 Publisher fails "Check Autentication"

Thank you Rod

Offline

#11 2015-06-09 07:09:45

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

Re: CE4 Publisher fails "Check Autentication"

About htaccess_disabled: TTG BE/Publisher/Cart/CRG were originally designed to work with clean URLs.  For example, if you were to edit a feedback profile in CRG, you'd see a URL like

http://yoursite.com/ttg-be/crg/?c=admin&a=edit_profile&p1=1

With clean URLs that link would look like:

http://yoursite.com/ttg-be/crg/admin/edit_profile/1

This functionality requires the htaccess_disabled to be renamed .htaccess.  However it is completely unsupported.  While it should work within TTG BE, it will very likely break things in published galleries, such as trying to find JavaScript and CSS files.  Since the customer seldom visits a URL with the format c=controller&a=action&p1=parameter1, there's not a great motivation to look further into this.

Offline

#12 2015-06-09 09:25:23

hhzanzi
Member
Registered: 2015-06-09
Posts: 10

Re: CE4 Publisher fails "Check Autentication"

Hello Ben
Thank you for your insights. Sure thing I am going to let that folder alone.

hhzanzi

Offline

#13 2015-06-17 01:46:09

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: CE4 Publisher fails "Check Autentication"

Hello,
I too have the same problem : I'm trying to authenticate a CE4 Publisher and I get the error message "The authentication check was NOT successful.  Please check the URL and API Key."
The url is http://pideja.ca/tnm_2014-2015/ttg-be/publisher/. I'm using the default api settings.

Offline

#14 2015-06-17 02:15:25

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: CE4 Publisher fails "Check Autentication"

Can I change the API key to...anything? Does the fact that ttg-be is in a sub-folder change anything?

Offline

#15 2015-06-17 03:15:58

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

Re: CE4 Publisher fails "Check Autentication"

I had no problem authenticating at this url: http://pideja.ca/tnm_2014-2015/ttg-be/publisher/ using the default api of ttg9999

and yes, you can change  the API key to anything you want.


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-06-17 06:10:10

pideja
Member
From: Montreal
Registered: 2013-02-26
Posts: 1,299

Re: CE4 Publisher fails "Check Autentication"

Merci beaucoup, Rod.

Offline

Board footer

Powered by FluxBB