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 2017-07-23 08:38:37

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 235
Website

I have a bug on search module

Hi,

when I search more than 2 terms in the search bar, I have the following error page that appears:

"Something went wrong
Unexpected error: Undefined offset: 73429 in PathBuilder.php on line 161"


With 1 or 2 keyword, everything works well

You can try on my site:

http://www.phototheque.nicolaslogerot.fr/#search

If you try: "lac"
or "Lac Bonlieu" it work fine

But with "Lac de Bonlieu" I have the error page appear.

I don't find the reason, any ideas please?

Thanks
Nico

Offline

#2 2017-07-23 10:17:19

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

Re: I have a bug on search module

Ben, the failure shows when no quotes are used. It works with the quotes. I don't see this error on my site.

Nico, it might be helpful if you could send your ftp login to Ben.


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

Offline

#3 2017-07-23 10:22:55

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 235
Website

Re: I have a bug on search module

Ok thanks Daniel,

In fact Ben already has my login due to another bug that it had solved on my site, but I will send back to him.

Thanks Daniel

Offline

#4 2017-07-23 10:28:39

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

Re: I have a bug on search module

The underlying cause is that you have 18 Albums that are attached to an Album Set that no longer exists. 
Do you know where these albums should sit within your gallery hierarchy?

id	title
1242	Couvent des Cordeliers (Dole)
4514	Église Notre-Dame de Moûthier-le-Vieillard
11385	Château d'Arlay
18686	Château Pécault
22824	Fort des Rousses
33445	Hôtel Dieu (Dole)
35066	Château de Frontenay
36681	Circuit des cabanes en pierres sèches
37663	Église Saint Pierre de Château-Chalon
42505	Château du Pin
42532	Tour Canoz
43055	La Caborde
47045	Tour de Toulouse-le-Château
47220	Collégiale Notre Dame de Dole
61707	Fort Saint André
66774	Abbaye de Baume-les-Messieurs
95856	Église Saint Just (Arbois)
96935	Pont de Nevy-sur-Seille

I'll look to change the code to gracefully handle this scenario.  Let me know about the above albums and I'll see whether I can move them to the right location for you.

Offline

#5 2017-07-23 10:38:22

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 235
Website

Re: I have a bug on search module

Oh ok yes It seems that all these albums are part of:

http://www.phototheque.nicolaslogerot.f … ance/jura/

Thanks

Offline

#6 2017-07-23 10:39:53

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 235
Website

Re: I have a bug on search module

So :

Galeries / Patrimoine / France / Jura

Offline

#7 2017-07-24 18:31:16

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 235
Website

Re: I have a bug on search module

Thanks,

It seems that Ben to still solved my problem! Albums without parent ID, apparently It could be the result of the earlier issues, when I make a backup on my website.

Super after sale sevice after !!

Thanks for all
Nico

Last edited by Nico3939 (2017-07-24 18:32:48)

Offline

#8 2017-07-24 18:45:57

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

Re: I have a bug on search module

Hi Nico, I'm glad to have been able to help.  I don't understand your last message though -- is it solved or still a problem?

Offline

#9 2017-07-24 18:47:12

Nico3939
Member
From: France
Registered: 2016-10-05
Posts: 235
Website

Re: I have a bug on search module

No thanks Ben , now all is OK and work perfectly!

Offline

Board footer

Powered by FluxBB