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 2013-04-19 06:19:42

jmarcdubs
Member
Registered: 2013-04-12
Posts: 10

integrate a .PHP

Hello.
I'm very lost! I have my website. And I would like to integrate a galery with password. So all pages are on .PHP, no .html.

If I had a .html page, I just need put a links like "<a href="dulacNeels.html" </a>". When I try do the same with .php he propose me to download portraitGalerie.php.

What and where must I put "portraitGalerie.php"?


The original folder is "index.php". Can I only change the folder's name or must I change somewhere in the code?

Thank you for your help and your patience

Offline

#2 2013-04-19 06:23:59

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

Re: integrate a .PHP

Which TTG plug-in are you using?

A link to your site might help us see what you're trying to do too.


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 2013-04-19 14:03:56

jmarcdubs
Member
Registered: 2013-04-12
Posts: 10

Re: integrate a .PHP

I use the TTG CE horizon and cart2, and the TTG CE3 Client gallery.

My website: www.dkeffect.com.

Tks

Offline

#4 2013-04-19 15:28:49

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

Re: integrate a .PHP

Does your server support PHP?

The only situation I am aware of in which a browser would attempt to download rather than load a PHP page is if the server itself does not support PHP.


Matt

The Turning Gate, http://theturninggate.net

Offline

#5 2013-04-19 20:37:39

jmarcdubs
Member
Registered: 2013-04-12
Posts: 10

Re: integrate a .PHP

My website's form use .php. So I suppose my server support .php, no?

Offline

#6 2013-04-19 20:42:59

jmarcdubs
Member
Registered: 2013-04-12
Posts: 10

Re: integrate a .PHP

<div id="monTexte">
<p><a href="galerieChoupette.php" class="liensListe">Virginie Vepex et Bruno Léonard</a></p>
  <p><a href="sandra.html" class="liensListe">Sandra Manana et Guiseppe Rossi</a></p>
  <p><a href="dulacNeels.html" class="liensListe">Julie Dulac et Simon Neels</a></p>
  <p><a href="bachLatour.html" class="liensListe">Anne-Laure Bach et Olivier Latour</a></p>
</div>

If my server support PHP, is it like this Imust to insert my gallery or not?

Offline

#7 2013-04-19 20:54:23

jmarcdubs
Member
Registered: 2013-04-12
Posts: 10

Re: integrate a .PHP

I have this error:


Fatal error: Call to undefined function: strripos() in /homez.109/dkeffect/www/galerieChoupette.php on line 60

http://www.dkeffect.com/galerieChoupette.php

Offline

#8 2013-04-19 21:20:10

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

Re: integrate a .PHP

strripos is found in PHP version 5.  It looks like you're running version 4, which is not supported. 
Who are you hosting with?  You'll need to find out how to change from PHP 4 to PHP 5.  This may be possible from your control panel, otherwise ask your hosting support.

Offline

#9 2013-04-19 22:53:16

jmarcdubs
Member
Registered: 2013-04-12
Posts: 10

Re: integrate a .PHP

Thanks. With OVH

Offline

#10 2013-04-19 23:48:38

jmarcdubs
Member
Registered: 2013-04-12
Posts: 10

Re: integrate a .PHP

This problem is solved. I change the PHP number in my .htacces.

An other question: All new galleries called "index". Is it possible to change the name in Lightroom?

Offline

#11 2013-04-20 00:36:45

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

Re: integrate a .PHP

Nope. index.html/php is correct and this should not be changed for any reason. You may name the folder containing the file anything you want.


Matt

The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB