Something went wrong... (thumbnails)

Something went wrong

Unexpected error: is_dir(): open_basedir restriction in effect. File(/thumbnails/) is not within the allowed path(s): (/var/www/vhosts/frankwhitephotography.com/:/tmp/) in Album.php on line 1207

Please report error at https://discourse.theturninggate.net

Advice?

can you post a link to a page where this error is showing?

you’ve also got an error on this page:
https://photos.frankwhitephotography.com/galleries/

What version of Backlight are you using?

I’m using BL 4

The link I provide is the wrong link. Apologies. The message should have been:\

Something went wrong

Unexpected error: is_dir(): open_basedir restriction in effect. File(/thumbnails/) is not within the allowed path(s): (/var/www/vhosts/frankwhitephotography.com/:/tmp/) in Album.php on line 1207

Please report error at https://discourse.theturninggate.net

Oh. I see what confused me.
https://photos.frankwhitephotography.com points to BL 1
https://photogalleries.frankwhitephotography.com points to BL 4

I got an error in BL 1 that said, ā€œFunction get_magic_quotes_gpc() is deprecatedā€ So I installed BL 4 and am trying to configure it. I also purchased another copy of Cart since I can’t find my original version.

I also have a copy of BL 2 installed at galleries.frankwhitephotography.com/galleries. I could never get that one to work.

So do you still have that error?
If so, can you post a link to a page that shows it so Ben will have something to look at?

To reproduce the error simply attempt to use the Search function at https://photogalleries.frankwhitephotography.com/galleries/.

Lightroom is connected to this gallery https://photogalleries.frankwhitephotography.com/galleries/barktoberfest-2021/
However, I’m getting an error upon publishing photos. The error, which is returned in Lightroom, says, An internal error has occured.
TTGPublishServiceProvider.lua666 attempt to index field ā€˜renditions’ (a nil value)

@Ben will need to take a look at that.

For the Lightroom Publisher error, make sure you’re using te latest version of TTG Publisher (6.0.2)

I’m having the hardest time finding stuff on the main site. I found the add-ons, under ā€œdemosā€ - go figure. Anyhoo, where can I find the TTG publisher?

I finally found the TTG Publisher. Who knew it would be a link found only in the admin panel of BL? I kept looking for the link on the website.

Anyway, installing it fixed my issue so now I can publish photos and I can get the Cart module to work. Thanks.

In case you haven’t seen it yet, here is the link to the documentation: https://backlight.me/docs/index

I’ve spent a great deal of the day in the documentation. I saw no mention where TTG Publisher resides. Thanks, Daniel, for your help.

Great! Not everyone is reading the documentation. I’m just adding the link in case someone else is following this thread: https://backlight.me/docs/albums#installing-the-publish-services-plugin

1 Like

Hi @Frank, I suspect that there’s something in the way the template you’re using for Search has been set up that is incompatible with the Search page. Can you please provide me with a Backlight admin login so that I can look further into this? The best way is by clicking my username then clicking Message.

Hi @Frank, thanks for the Backlight access. I can’t see anything amiss about the Search template you’re using. I tried creating a new album template with the defaults and using that and the issue remained. (I’ve since deleted that template).

Would you be able to provide me with FTP access so that I can try to debug this issue?

Rob and I had been working a problem during the time you replied.
I’ve created an FTP account that give you access to BL
The credentials are:

deleted the credentials and sent to @Ben. @Daniel

Whoa… I thought I was in the personal Messenger when I left credentials. Thanks for deleting them.

2 Likes

Thanks, I’ll take a look. The interface of forums and messages can make them look the same. I replied here so that the others are in the loop.

Hi @Frank, I’ve found the issue and put in a silent fix for this. Your Search page is now loading correctly.

Short explanation: this was caused by Backlight trying to check for a directory that it didn’t have permission to access.

Longer explanation: The search page uses a special type of album specifically for search results. Since that album doesn’t exist under a folder, there is no path to it. In trying to work out the dimensions of a cover image, Backlight is inadvertently trying to check whether /thumbnails/ exists, rather than a path such as galleries/my-album/thumbnails. A directory starting with / points to the top level of your server, which is outside of your web directory and out of bounds for where PHP is allowed to check.

I am surprised that this hasn’t affected other users. It could be that open_basedir restrictions, which limit where PHP can check, aren’t used as often as they were in the past.

Thank you, Ben. Much appreciated.

1 Like