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 Re: General » TTG CE3 and PHP 7(.2) » 2018-11-10 16:06:32

Daniel Leu wrote:

Just wondering... wouldn't it be easier just to move on to Backlight 2?

Well, maybe not easier as I have two shows this weekend (one yesterday and one today) and clients requested/ordered online galleries. I don't think I can manage a move to whatever in parallel. Even for Backlight2 as my site is Wordpress with CE3 Theme for Wordpress and Publisher ;-)

#2 Re: General » TTG CE3 and PHP 7(.2) » 2018-11-10 04:52:38

Ok, not corrected all errors yet but those prevented publisher and site to work ;-)

#3 Re: General » TTG CE3 and PHP 7(.2) » 2018-11-10 04:35:09

And in theme's function PHP I had to change line 280

function start_lvl(&$output, $depth = 0) {

to this

function start_lvl(&$output, $depth = 0, $args = array()) {

#4 Re: General » TTG CE3 and PHP 7(.2) » 2018-11-10 04:05:50

ERROR: count(): Parameter must be an array or an object that implements Countable
occurs in publisher/api/lib/AlbumVO.php(141):
for ($i = 0; $i < count($xmlArray['images']['image']); $i++) {

Changed it to this and album is created and photos can be published:

            // We don't want to keep this value
                        if ($xmlArray['images']['image'] == 1) {
                for ($i = 0; $i < count($xmlArray['images']['image']); $i++) {
                    unset($xmlArray['images']['image'][$i]['old_filename']);
                }
                        }

#5 Re: General » TTG CE3 and PHP 7(.2) » 2018-11-09 01:31:16

rod barbee wrote:

In the long run, updating your site to Backlight is the best option.

Is that the best procedure to follow or any other tip? Does it work for CE3 as well?
http://ttg-tips-and-tricks.barbeephoto. … backlight/

#6 Re: General » TTG CE3 and PHP 7(.2) » 2018-11-09 01:23:11

PHP Warning:  Declaration of My_Walker_Nav_Menu::start_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array) in /is/htdocs/wp1033049_1IEN2VSLAU/fot-o-box/wp/wp-content/themes/theme-v3/functions.php on line 284

preg_split(): Empty regular expression in /is/htdocs/wp1033049_1IEN2VSLAU/fot-o-box/wp/galerie/resources/php/markdown.php on line 1176

#7 Re: General » TTG CE3 and PHP 7(.2) » 2018-11-09 01:14:04

In markdown.php I changed two lines:

41: @define( 'MARKDOWN_PARSER_CLASS',  'Markdown_Parser_Class' );
191: class Markdown_Parser_Class {

This removed the deprecated warning.

Unfortunately I still get the menu error.

And a newly created album is created partly (I see directory and some files but not gallery.xml in it.
When I try to go to album from LR I get a message that album is not created yet.
When accessing it online I get a blank page with "!file_exists".
http://fot-o-box.de/galerie/20181109-pme/

What creates gallery.xml?

#8 Re: General » TTG CE3 and PHP 7(.2) » 2018-11-09 00:17:03

In Publisher's code at publisher/api/lib/markdown.php there's a "Markdown_Parser" class with a function of same name which is deprecated.

In CE3 WP Theme's function.php: Declaration of My_Walker_Nav_Menu::start_lvl(&$output, $depth) should be compatible with Walker_Nav_Menu::start_lvl(&$output, $depth = 0, $args = Array)

#9 General » TTG CE3 and PHP 7(.2) » 2018-11-09 00:08:15

oeni4711
Replies: 13

Hi,
somehow I haven't noticed my hosting provider's announcement to shut down PHP 5.6 and move to 7.2.
Now me and my clients can't access my TTG CE3 gallery and I can't access my CE Publisher albums in LR.
Is there anything I can do (quickly)?
I have two shows this weekend :-(
http://fot-o-box.de/galerie/
Best,
Oliver

#10 Re: General » All albums are "empty" » 2015-10-05 22:02:36

Hi Rod,
yes, issue was sorted out, Ben did a great job.
AddThis plug-in was causing the error. For now I've deactivated it.
Best regards,
Olly

#12 Re: General » All albums are "empty" » 2015-10-05 17:31:26

Hi Ben,

thx for your quick response!

Well, here's a public gallery:
http://fot-o-box.de/galerie/0-beispielgalerie/

And here's a password protected gallery:
http://fot-o-box.de/galerie/20151003-cl … nd-markus/

Hosting is with HostEurope, never had issues.
Product is Webhosting Premium:
https://www.hosteurope.de/WebHosting/

Thanks and best regards,

Olly

#13 General » All albums are "empty" » 2015-10-05 16:02:53

oeni4711
Replies: 6

Hi,

first of all I apaologize for using the general section. As the only thing I knew is that I'm using CE3 but not sure what causing trouble I put it here. Please move to according area if it's clear which module is causing the issue.

Something weird has happened.
I've created a new Publisher album. Nothing special, same as several others I already have.
When album was published I visited the gallery...and there is am empty page. And even it's a password protected gallery I didn't get the login page.
At first I was considering it's related to this album only but when I tried with other albums, no matter if public or password protetced, I always have an empty gallery.

What I can see is that the page's source code is just this:
<html>
<head></head>
<body></body>
</html>

Any idea what's wrong?

Best regards,

Olly

#14 Re: General » CE3 Gallery/Autoindex within Wordpress site » 2013-11-21 09:04:48

Thanks for the quick reply.

Well, so as long as I don't use CE3 Wordpress Theme I won't be able to match the designs without much efforts?

Let's assume I could make CE3 Wordpress Theme look like I want my site to look, how about your common resources sharing?
http://ce3wiki.theturninggate.net/doku. … _resources
I need to design the site using CE Pages and use this feature to let other modules (CE3 Wordpress Theme, AutoIndex and Gallery) inherit the settings?

#15 General » CE3 Gallery/Autoindex within Wordpress site » 2013-11-21 08:19:21

oeni4711
Replies: 3

Hi,

is it possible to use a CE3 Gallery/Autoindex within a Wordpress site without CE3 Wordpress template?
I've followed the tuturial just to see if it works in general and it's fine as long as I use the CE3 Wordpress template.
When I activate any other template the gallery page is empty.

My fault or doesn't it work by design?

Thanks and best regards,

Olly

Board footer

Powered by FluxBB