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
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
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.
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)
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?
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?
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.