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.
You are not logged in.
Pages: 1
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
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
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
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
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
Hi Rod
If you need I can change the API settings back to ttg defaults. {ttg-9999}
Please let me know.
hhzanzi
Offline
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
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
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
Thank you Rod
Offline
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
Hello Ben
Thank you for your insights. Sure thing I am going to let that folder alone.
hhzanzi
Offline
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
Can I change the API key to...anything? Does the fact that ttg-be is in a sub-folder change anything?
Offline
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
Merci beaucoup, Rod.
Offline
Pages: 1