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 2019-02-03 00:55:47

dvdfan001
Member
Registered: 2014-04-27
Posts: 158

lastet PHP Version

Hi Ben, Hi Rod
Which is the highest PHP version compatible with legacy CE4?
regards, thanks

Offline

#2 2019-02-03 01:36:49

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

Re: lastet PHP Version

you might want to do forum search on that (vaguely remember it coming up before). Or wait for Ben or Matt. I'm thinking it was something like 5.6, but I could easily be wrong.


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 2019-02-21 02:07:37

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

My service provider (Lunarpages) just announced that they will be replacing PHP 5.6 with v 7.2 in March. I use CE4 Publisher to maintain the galleries in three sites. Can you tell us if this will still work?

Offline

#4 2019-02-21 03:03:11

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: lastet PHP Version

I just looked at some older messages and an updated version of CE4 works uner PHP 7 (http://community.theturninggate.net/vie … 692#p51692).

You need to download TTG BE again and then replace ttg-be/framework/lib/Parsedown.php and lib/php/Parsedown.php on the server.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#5 2019-03-17 02:07:52

FJG
Member
Registered: 2015-01-14
Posts: 13

Re: lastet PHP Version

Good evening,

My host company has updated from PHP5.6 to 7.3 and my contact part of my site has stopped working so I need to update my site with the the final version of ttg-Be as their is a file or two that will need to be replaced.

However I am unable to find it to download, could someone assist please.
Regards

Offline

#6 2019-03-17 02:53:13

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

Re: lastet PHP Version

Use the contact form on the support page to send an email to Matt


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 2019-04-20 23:51:06

choke
Member
Registered: 2012-11-25
Posts: 33

Re: lastet PHP Version

Hi
web hotel has just upgraded thier PHP to ver 7 from 5 and now I have some problems with my page.
Typical its tte galleries that are crasching. First page, contatct etc are working fine - but whe I go to a specefic galleri then it crasch.
Have replaced all Parsedown.php I have found but no sucess - any one with php experience that have any suggestion for me?
www.choke.se
here is one that crasch - http://choke.se/galleries/01-iceland-2015/

hope for some help

best regards
Choke

Offline

#8 2019-04-22 05:05:25

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 1,624
Website

Re: lastet PHP Version

Hi Choke,

I would start with downloading and installing the latest version of the ttg_be package and see if this fixes your issue. Ben did some changes in the past in order for CE4 to run with PHP 7.


Daniel Leu | Photography   
DanielLeu.com
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com

Offline

#9 2019-05-04 01:50:40

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

My site is a hybrid of CE4 and CE3 galleries. (I know, I should have fixed the CE3 problem years ago, but c'est la vie!). Lunarpages is now at php v 7.2 and they have removed v5.6 altogether. I tried the replacement of Parsedown and now have two problems.

1. The CE4 galleries still return the error message caused by php v7.

2. The CE3 galleries run fine but return this message at the top of the screen: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Markdown_Parser has a deprecated constructor in /home/corve3/public_html/lesm/publisher/api/lib/markdown.php on line 191

How do we fix that one?

Thanks,

Paul

Last edited by paulpegg (2019-05-04 03:10:46)

Offline

#10 2019-05-04 02:52:53

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

Re: lastet PHP Version

Have you updated the ttg-be installation as Daniel suggested?

There may be nothing for the ancient wink CE3 galleries other than perhaps migrating them to CE4 albums if you were using Publisher in CE3


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

Offline

#11 2019-05-04 03:12:04

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

I installed the two files (Parsedown and SimpleHTMLTag) that I downloaded in February.

As I recall, that did not work for the CE3 galleries, which is why it is a hybrid site.

Last edited by paulpegg (2019-05-04 03:15:38)

Offline

#12 2019-05-05 03:00:35

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

I just did an update of ttg-be using the instructions that came with the zip file CE4-TTG-BE-205a.zip. It did not clear the php 7 error and I cannot login in to admin. The screen stays blank.

http://lesmarmitonsnj.com/galleries/028_2018-events/

Any thoughts?

Offline

#13 2019-05-05 04:26:52

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

Re: lastet PHP Version

Did you replace the old ttg-be entirely?
If so, you’ve likely replaced your old databases as well. They contain all the site information such as admin, Cart, publisher, etc.
To log in, try the default credentials

If you did replace the entire ttg-be folder, do you have a backup of the old one, including the databases?


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

Offline

#14 2019-05-06 01:37:44

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

I first did only parsedown in two locations and SimpleHTMLTag and that did not work so I uploaded the admin and framework folders and could not login to admin. The screens is blank.

Where do I find the databases?

Last edited by paulpegg (2019-05-06 01:38:22)

Offline

#15 2019-05-06 02:03:58

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

Re: lastet PHP Version

If you only updated the admin and framework folders then the databases should be ok. They’re in a folder named “data” I believe.
Ben will need to take a look at the other issues.


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 2019-05-06 02:33:23

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

Under ttg-be/data/publisher is mastersq3 274MB that must be the database

Offline

#17 2019-05-06 03:28:48

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

Re: lastet PHP Version

yep, that's the database for albums and album sets


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

Offline

#18 2019-05-06 04:53:58

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

So do you have any idea how I can login to ttg-be admin? And how to get my site running under php v 7.2?

Last edited by paulpegg (2019-05-06 06:23:32)

Offline

#19 2019-05-06 05:05:47

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

Re: lastet PHP Version

the only way I know is the usual way: yoursite.com/ttg-be/

Are you getting the login screen at all? if so, you can recover your password. Or try the default of admin/ttg8888.
If not, contact Ben.


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

Offline

#20 2019-05-06 06:24:03

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

No, just a blank screen

Offline

#21 2019-05-06 23:29:37

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

This is an inspection of the blank screen.
<!DOCTYPE html>
<!--[if lt IE 7]><html class="ce4 no-js lt-ie9 lt-ie8 lt-ie7" dir="ltr" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"><![endif]-->
<!--[if IE 7]><html class="ce4 no-js lt-ie9 lt-ie8" dir="ltr" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"><![endif]-->
<!--[if IE 8]><html class="ce4 no-js lt-ie9" dir="ltr" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"><![endif]-->
<!--[if gt IE 8]><!--><html class="ce4 no-js gt-ie8" dir="ltr" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"><!--<![endif]-->

<head>
    <meta charset="utf-8" />
    <!--[if IE]><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><![endif]-->
    <meta name="robots" content="noarchive, noindex, nofollow" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <meta name="generator" content="CE4 Gallery 0.0.4, 3 published images" />

    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="HandheldFriendly" content="True" />
    <meta name="MobileOptimized" content="320" />
    <meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1.0" />

    <title>TTG BE Admin</title>

    <link rel="canonical" href="Use of undefined constant CURRENTPAGELOCATION - assumed 'CURRENTPAGELOCATION' (this will throw an Error in a future version of PHP)|#0 /home/corve3/public_html/lesm/ttg-be/admin/application/views/templates/template_admin.php(115): ErrorHandler::handleError(2, 'Use of undefine...', '/home/corve3/pu...', 115, Array)
#1 /home/corve3/public_html/lesm/ttg-be/framework/helpers/ViewHelper.php(40): require('/home/corve3/pu...')
#2 /home/corve3/public_html/lesm/ttg-be/framework/controllers/Controller.php(45): ViewHelper::render('admin/login', Array, 'admin')
#3 /home/corve3/public_html/lesm/ttg-be/framework/Framework.php(124): Controller->dispatch(Array)
#4 /home/corve3/public_html/lesm/ttg-be/admin/index.php(20): Framework->route()
#5 {main}|URL: /ttg-be/admin/index.php

Offline

#22 2019-05-07 00:12:58

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

Re: lastet PHP Version

Have you tried uploading everything in the latest version of ttg-be EXCEPT the data/ and templates/ folders?


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

Offline

#23 2019-05-07 00:54:42

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

No. I could try that if you think it might work. I need to get this working again because I am getting a bunch of complaints about the failure of the CE4 galleries.

It looks like the error in ttg-be admin is in the admin template.

I am seriously thinking about switching to backlight. I bought backlight1 and built a sample gallery but never got off the ground with it. I assume I should just buy backlight2 and start from scratch with that version. I have many questions, mostly regarding how to preserve my current color scheme, header and menus, plus migrating the non-gallery existing pages. I sort of freeze at the thought of all that work.

Offline

#24 2019-05-07 01:00:50

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

Re: lastet PHP Version

To get things working now, you should send Ben an email with your ttg-be admin and FTP credentials.

Best option would be updating to Backlight.
You'll need to start from scratch with your design. The good news is that it's a whole lot easier and faster than working in Lightroom's Web Module.

CE4 Publisher controlled albums and sets can be migrated to Backlight control.

Your existing non-album pages will need to be re-created. You can just copy/paste text from Lightroom to Backlight.


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

Offline

#25 2019-05-07 01:09:05

paulpegg
Member
Registered: 2013-03-07
Posts: 252

Re: lastet PHP Version

I sent Ben a note yesterday with a link to this post but no reply yet.

Last edited by paulpegg (2019-05-07 01:10:40)

Offline

Board footer

Powered by FluxBB