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-10-10 17:03:01

florent
Member
Registered: 2015-10-10
Posts: 9

error 404 galleries

Hi, I have a problem, « error 404 », when i clic on « chain ».
Please, can you help me?
Thank's

Offline

#2 2015-10-10 17:55:48

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

Re: error 404 galleries

Can you provide a link to a gallery where we can see this?

Offline

#3 2015-10-10 21:45:21

florent
Member
Registered: 2015-10-10
Posts: 9

Re: error 404 galleries

hi Ben,
Thank' you for answer about my current error 404 when i clic on picture chain !
So, same problem from the begining with my first instal when i was disign my template.
For cheking , i delet folders on my ftp client and load a basic CE4 website without any change in each modules : galleries - page - crg - cart - and stage.  this is a link from my domain, http://cottavoz.com/galleries.php .
Best R.

Offline

#4 2015-10-10 22:12:14

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

Re: error 404 galleries


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-10-11 21:31:54

florent
Member
Registered: 2015-10-10
Posts: 9

Re: error 404 galleries

hi rod,
first step, i looking for this :
http://cottavoz.com/ttg-be/publisher/ap … y/htaccess
result :

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(.*)-single.*php$ single.php?id=$1 [L]
</IfModule>

I modifiy like :

deny from all
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^(.*)-single.*php$ single.php?id=$1 [L].?
</IfModule>

I connect: /ttg.be/ goto  publisher admin goto update galleries and reload navigation on
website//galleries/xxx/ :

Error 403 - Forbidden

now I reload  first origin htaccess, and looking for next steps. (later)

Best R.

Offline

#6 2015-10-11 21:42:47

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

Re: error 404 galleries

Did you read that entire post I referenced above?
Specifically, Ben's solution:
http://community.theturninggate.net/post/23026/#p23026

If this doesn't work, I suggest sending Ben an email. His email address is linked under his name in all his posts.


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

Offline

#7 2015-10-13 20:50:33

florent
Member
Registered: 2015-10-10
Posts: 9

Re: error 404 galleries

Hi Rod,
Yes, I have tested the entire post in reference - not working, just error 500 or 404.
I 'm just call the provider : 1and1.fr (http://www.1and1.co.uk/ for english language) but they don't realy help me,
I found a lot of post topic about rewriting on 1and1.
Did I need change my provider for working easy TTG?
I haven't resolve yet! sad
Best R.

Offline

#8 2015-10-13 20:56:15

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

Re: error 404 galleries

I don't know if you'll need to change providers.
Have you tried contacting Ben?
Since this is a Publisher issue, he may need to see the Publisher logs.
See: http://ce4.theturninggate.net/docs/doku … g_for_help


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

Offline

#9 2015-10-13 21:02:20

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

Re: error 404 galleries

If changing the .htaccess caused a 500, then the htaccess either has a syntax problem, is trying to use a command that's not available on the server, or is trying to do something your host doesn't allow.

I can take a look at your site if you'd like.  To do so, please provide me with FTP access via the Email link under my name.

Offline

#10 2015-10-13 21:28:40

florent
Member
Registered: 2015-10-10
Posts: 9

Re: error 404 galleries

Yep Ben, I send a mail with following ftp access.
Best R.

Offline

#11 2015-10-13 22:39:25

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

Re: error 404 galleries

Thanks for the access.  I've fixed this for you. For example, this URL now works: http://cottavoz.com/galleries/fleur/san … single.php

I fixed this by changing the file /ttg-be/publisher/application/skeleton/gallery/htaccess to:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::\2$
    RewriteRule ^(.*)$ - [E=BASE:%1]
    RewriteRule ^(.*)-single.*php$ %{ENV:BASE}/single.php?id=$1 [L]
</IfModule>

Then running 'Update Album Files' from the Publisher Dashboard.  This has the effect of updating the .htaccess file in every gallery.
If we update Publisher, then you may need to re-edit /ttg-be/publisher/application/skeleton/gallery/htaccess with the above contents.

Offline

#12 2015-10-13 23:25:18

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

Re: error 404 galleries

Ben, is this the same fix from the other thread? If so, I'll make a sticky in the Announcements and Info forum with this solution.


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

Offline

#13 2015-10-14 02:20:39

florent
Member
Registered: 2015-10-10
Posts: 9

Re: error 404 galleries

Great ! Evry think working. Thank's you Ben.

Offline

#14 2015-10-16 06:22:12

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

Re: error 404 galleries

rod barbee wrote:

Ben, is this the same fix from the other thread? If so, I'll make a sticky in the Announcements and Info forum with this solution.

Hi Rod, yes it's the same fix.  That code seems to be pretty reliable.  I'm still hesitant about changing the default .htaccess to this because I don't understand how the additional rules work.

Offline

#15 2015-11-07 01:44:35

florent
Member
Registered: 2015-10-10
Posts: 9

Re: error 404 galleries

Hi ttg best crew,
Sorry for this basic question : can you help me for volontary blind my website to google search (loading test).  So : NO INDEX, NO FOLLOW , ok but please... tell me where i note-it in the lightroom web module for use  ?
Best Regards
Florent

Offline

#16 2015-11-07 01:59:01

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

Re: error 404 galleries

are you talking about the robots.txt file?

look under Site Info > Page Setup for Robots
http://ce4.theturninggate.net/docs/doku … on_privacy

this setting doesn't create a robots.txt file, but it can help discourage search engine indexing


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

Offline

Board footer

Powered by FluxBB