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 2015-04-11 00:39:36

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Gallery error

I have temporarily put my website on my second site. It works fine but I get an error mess when I click on my gallery . Seems like it has something to do with phplugins . Anyone know what that is?


file_exists(): open_basedir restriction in effect. File(/customers/9/9/f/ishockeybilder.se/httpd.www/phplugins/phplugins.php) is not within the allowed path(s): (/customers/9/4/1/ishockeybilder.se/httpd.www:/customers/9/4/1/ishockeybilder.se/httpd.private:/customers/9/4/1/ishockeybilder.se/tmp:/customers/ishockeybilder.se/ishockeybilder.se:/var/www/diagnostics:/usr/share/php)|#0 [internal function]: ErrorHandler::handleError(2, 'file_exists(): ...', '/customers/9/4/...', 18, Array) #1 /customers/9/4/1/ishockeybilder.se/httpd.www/ttg-be/templates/gallery/ishockeybilder_Gallery/template_index.php(18): file_exists('/customers/9/9/...') #2 /customers/9/4/1/ishockeybilder.se/httpd.www/ttg-be/publisher/application/controllers/GalleryController.php(317): include_once('/customers/9/4/...') #3 [internal function]: GalleryController->gallery('', 'index', '') #4 /customers/9/4/1/ishockeybilder.se/httpd.www/ttg-be/framework/controllers/Controller.php(41): call_user_func_array(Array, Array) #5 /customers/9/4/1/ishockeybilder.se/httpd.www/ttg-be/framework/Framework.php(124): Controller->dispatch(Array) #6 /customers/9/4/1/ishockeybilder.se/httpd.www/galleries/ishockey/lib.php(48): Framework->route() #7 /customers/9/4/1/ishockeybilder.se/httpd.www/galleries/ishockey/index.php(4): route(Array) #8 {main}|URL: /galleries/ishockey/index.php

Offline

#2 2015-04-11 00:55:24

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

Re: Gallery error

Ben or Matt will most likely need a link to the site


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 2015-04-11 00:57:49

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Offline

#4 2015-04-11 22:18:35

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

Re: Gallery error

It looks like you have a typo in this path httpd.www/phplugins/phplugins.php

Offline

#5 2015-04-11 22:26:58

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

I have the same path on my existing site , and where it works .
Here is the path that is under the "Server Path to PHPPlugins without trailing slash " /customers/9/9/f/ishockeybilder.se/httpd.www/phplugins

paulpegg wrote:

It looks like you have a typo in this path httpd.www/phplugins/phplugins.php

Offline

#6 2015-04-14 01:04:26

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

No one who can help me with this problem?

Offline

#7 2015-04-14 01:26:36

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

Re: Gallery error

where is your phplugins/ folder? When I try to find the page I get a Page Not Found error
http://www.ishockeybilder.se/phplugins/path.php


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

Offline

#8 2015-04-14 02:03:22

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

Hi, I have not the path http://www.sportfoton.se/phplugins/path.php on my existing site but it is http://www.sportfoton.se/phplugins-sample/path.php Then it should well be same with Ishockeybilder.se? http://www.ishockeybilder.se/phplugins-sample/path.php

rod barbee wrote:

where is your phplugins/ folder? When I try to find the page I get a Page Not Found error
http://www.ishockeybilder.se/phplugins/path.php

Offline

#9 2015-04-14 03:05:45

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

Re: Gallery error

The problem may be that the the pages are most likely looking for a folder named phplugins, not phplugins-sample (as indicated by that error message)

If you use custom css you'll see that the path to the custom css is assumed to be /phplugins/css/custom.css not /phplugins-sample/css/custom.css

The documents state that you should rename phplugins-sample to phplugins. This is mainly so that you won't overwrite your phplugins file next time you export Pages.

My suggestion is to first rename that folder and change your path to phplugins.


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

Offline

#10 2015-04-14 03:21:33

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

Correct me if I am wrong, but writing is not the path to PHPPlugin in Lightroom PHPlugins section and under "Server Path to PHPlugins without traling slash"? I have the same setup there on my existing site www.sportfoton.se that I have on my temporary site www.ishockeybilder.se. Why does this problem? it is enough to change the path in the "Server Path to PHPlugins without traling slash"? so here it looks on both of my sites.
/customers/9/9/f/sportfoton.se/httpd.www/phplugins
/customers/9/9/f/ishockeybilder.se/httpd.www/phplugins
Strange that it works on my existing site but not on my temporary site!

rod barbee wrote:

The problem may be that the the pages are most likely looking for a folder named phplugins, not phplugins-sample (as indicated by that error message)

If you use custom css you'll see that the path to the custom css is assumed to be /phplugins/css/custom.css not /phplugins-sample/css/custom.css

The documents state that you should rename phplugins-sample to phplugins. This is mainly so that you won't overwrite your phplugins file next time you export Pages.

My suggestion is to first rename that folder and change your path to phplugins.

Last edited by sportfoton (2015-04-14 03:23:41)

Offline

#11 2015-04-14 03:29:42

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

Re: Gallery error

I don't know.
What I did notice is the error message has this in it:

File(/customers/9/9/f/ishockeybilder.se/httpd.www/phplugins/phplugins.php) is not within the allowed path(s): 

and you write that your phplugins file is actually here:

http://www.sportfoton.se/phplugins-sample/

see the difference? the error code shows the page looking for your phplugins.php file in a phplugins/ folder, not a phplugins-sample/ folder.


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

Offline

#12 2015-04-14 03:32:30

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

I have the same settings on www.sportfoton.se and where it works! It does not seem like it's the problem!

rod barbee wrote:

I don't know.
What I did notice is the error message has this in it:

File(/customers/9/9/f/ishockeybilder.se/httpd.www/phplugins/phplugins.php) is not within the allowed path(s): 

and you write that your phplugins file is actually here:

http://www.sportfoton.se/phplugins-sample/

see the difference? the error code shows the page looking for your phplugins.php file in a phplugins/ folder, not a phplugins-sample/ folder.

Offline

#13 2015-04-14 03:52:13

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

Re: Gallery error

ok. But still, your phplugins file seems to not be where it's expected to be, according to the error.
All I can suggest then is to double check path in your gallery template.


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 2015-04-14 03:55:53

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

Here is the path in my gallery template for ishockeybilder.se
/customers/9/9/f/ishockeybilder.se/httpd.www/phplugins
and here it is for sportfoton.se
/customers/9/9/f/sportfoton.se/httpd.www/phplugins

rod barbee wrote:

ok. But still, your phplugins file seems to not be where it's expected to be, according to the error.
All I can suggest then is to double check path in your gallery template.

Offline

#15 2015-04-14 04:03:52

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

Re: Gallery error

sportfoton wrote:

Here is the path in my gallery template for ishockeybilder.se
/customers/9/9/f/ishockeybilder.se/httpd.www/phplugins
and here it is for sportfoton.se
/customers/9/9/f/sportfoton.se/httpd.www/phplugins

Wait. Those are not the paths that you stated above and that your site shows.

for the sportfoton site, this is the path to phplugins:
/customers/9/9/f/sportfoton.se/httpd.www/phplugins-sample

and for the ishockeybilder site, this is the path to phplugins:
/customers/9/4/1/ishockeybilder.se/httpd.www/phplugins-sample

Your site (and your earlier posts) shows one thing but above you're stating another. So what path are you using in the gallery template on the ishockeybilder site??


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 2015-04-14 04:53:33

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

Here's gallery templates path that I use ishockeybilder.se
/customers/9/9/f/ishockeybilder.se/httpd.www/phplugins

Here's gallery templates path that I use sportfoton.se
/customers/9/9/f/sportfoton.se/httpd.www/phplugins

rod barbee wrote:
sportfoton wrote:

Here is the path in my gallery template for ishockeybilder.se
/customers/9/9/f/ishockeybilder.se/httpd.www/phplugins
and here it is for sportfoton.se
/customers/9/9/f/sportfoton.se/httpd.www/phplugins

Wait. Those are not the paths that you stated above and that your site shows.

for the sportfoton site, this is the path to phplugins:
/customers/9/9/f/sportfoton.se/httpd.www/phplugins-sample

and for the ishockeybilder site, this is the path to phplugins:
/customers/9/4/1/ishockeybilder.se/httpd.www/phplugins-sample

Your site (and your earlier posts) shows one thing but above you're stating another. So what path are you using in the gallery template on the ishockeybilder site??

Offline

#17 2015-04-14 05:07:37

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

I have renamed phplugins-sample to phplugins,
but I get the same error

http://www.ishockeybilder.se/galleries/testar/

rod barbee wrote:

The problem may be that the the pages are most likely looking for a folder named phplugins, not phplugins-sample (as indicated by that error message)

If you use custom css you'll see that the path to the custom css is assumed to be /phplugins/css/custom.css not /phplugins-sample/css/custom.css

The documents state that you should rename phplugins-sample to phplugins. This is mainly so that you won't overwrite your phplugins file next time you export Pages.

My suggestion is to first rename that folder and change your path to phplugins.

Offline

#18 2015-04-14 05:25:57

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

The strange thing is that I have exaxt same path in the Gallery templates for sportfoton.se as for ishockeybilder.se. Site sportfoton.se I have no map called PHPlugins but it's PHPlugins-sample. in the Lightroom Gallery Templates under "Server Path to PHPlugins without traling slash" I have the following path /customers/9/9/f/sportfoton.se/httpd.www/phplugins www.sportfoton.se works without problems, but ishockeybilder.se with the same settings do not do it.

Last edited by sportfoton (2015-04-14 05:26:54)

Offline

#19 2015-04-14 06:05:17

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

Re: Gallery error

I have no map called PHPlugins but it's PHPlugins-sample.

OK

in the Lightroom Gallery Templates under "Server Path to PHPlugins without traling slash" I have the following path /customers/9/9/f/sportfoton.se/httpd.www/phplugins

this contradicts itself. If you have phplugins in a folder name phplugins-sample/, then why are you using a path that goes to a folder name phplugins/ ??


sportfoton may be working just fine. It's just not using phplugins from the path you just posted:
http://www.sportfoton.se/phplugins/path.php  gives a 404 Page Not Found error.

The strange thing is that I have exaxt same path in the Gallery templates for sportfoton.se as for ishockeybilder.se.

so you're using the same phplugins.php file for both?


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 2015-04-14 13:34:52

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

rod barbee wrote:

I have no map called PHPlugins but it's PHPlugins-sample.

OK

in the Lightroom Gallery Templates under "Server Path to PHPlugins without traling slash" I have the following path /customers/9/9/f/sportfoton.se/httpd.www/phplugins

this contradicts itself. If you have phplugins in a folder name phplugins-sample/, then why are you using a path that goes to a folder name phplugins/ ??

I do not know why the path is PHPlugins, as you say, so it should be PHPlugins-sample. I did not create the path itself but it has Lightroom done, do not know if there is anything that is left then CE 3 days, but who said what, it works on www.sportfoton.se

sportfoton may be working just fine. It's just not using phplugins from the path you just posted:
http://www.sportfoton.se/phplugins/path.php  gives a 404 Page Not Found error.

I have renamed PHPlugins-sample to PHPlugins for ishockeybilder.se
path http://www.ishockeybilder.se/phplugins/path.php works, but I still get the error mess when I should surf to http://www.ishockeybilder.se/galleries/handboll/

The strange thing is that I have exaxt same path in the Gallery templates for sportfoton.se as for ishockeybilder.se.

so you're using the same phplugins.php file for both?

No I do not use the same pH plugins.php for both sites when I export Pages for ishockeybilder.se create the PHPlugins folder and it's the one I use.
I use the same gallery templates, but I've changed from sportfoton.se to ishockeybilder.se

Last edited by sportfoton (2015-04-14 13:49:46)

Offline

#21 2015-04-14 22:40:43

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

Re: Gallery error

So just to be clear:

your sportfoton site is using phplugins located at this server path:
/customers/9/9/f/sportfoton.se/httpd.www/phplugins-sample
and this is what is entered in the path to phplugins in your gallery template.

your ishockeybilder site is using phplugins located at this server path:
/customers/9/4/1/ishockeybilder.se/httpd.www/phplugins-sample
and this is what is entered in the path to phplugins in your ishockeybilder gallery template.

can you confirm this?

Have you tried just exporting and uploading a regular gallery to see if that works?
Have you tried disabling phplugins in your template to see if the albums then work?

what are you using phplugins to accomplish (I'm wondering if a function within your phplugins file is calling something that's causing this error)


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

Offline

#22 2015-04-15 04:19:46

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

It works if I do not choose PHP in Gallery Templates. Do I need PHP?

rod barbee wrote:

So just to be clear:

your sportfoton site is using phplugins located at this server path:
/customers/9/9/f/sportfoton.se/httpd.www/phplugins-sample
and this is what is entered in the path to phplugins in your gallery template.

your ishockeybilder site is using phplugins located at this server path:
/customers/9/4/1/ishockeybilder.se/httpd.www/phplugins-sample
and this is what is entered in the path to phplugins in your ishockeybilder gallery template.

can you confirm this?

Have you tried just exporting and uploading a regular gallery to see if that works?
Have you tried disabling phplugins in your template to see if the albums then work?

what are you using phplugins to accomplish (I'm wondering if a function within your phplugins file is calling something that's causing this error)

Offline

#23 2015-04-15 05:04:26

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

Re: Gallery error

You don't need phplugins unless you have a specific reason to be using them (like for drop-down menus, custom css, etc.). I always recommend enabling phplugins just in case you ever need to implement custom css or something. Doing at the start just saves you having to re-export and upload templates and such later. But if you don't plan on using the feature, there's no requirement to enable it.

What about the other questions? are those the paths to phplugins you're using for each site?


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

Offline

#24 2015-04-15 05:28:56

sportfoton
Member
From: Sweden - Mölndal
Registered: 2014-04-27
Posts: 258
Website

Re: Gallery error

sportsfoton.se site is using phplugins located at this server path:
/customers/9/9/f/sportfoton.se/httpd.www/phplugins-sample
and this is what is Entered in the path to phplugins in sportfoton.se gallery template.
/customers/9/9/f/sportfoton.se/httpd.www/phplugins.

ishockeybilder.se site is using phplugins located at this server path:
/Customers/9/4/f/ ishockeybilder.se/httpd.www/phplugins-sample
and this is what is Entered in the path to phplugins in ishockeybilder.se gallery template. /customers/9/9/f/ishockeybilder.se/httpd.www/phplugins

rod barbee wrote:

You don't need phplugins unless you have a specific reason to be using them (like for drop-down menus, custom css, etc.). I always recommend enabling phplugins just in case you ever need to implement custom css or something. Doing at the start just saves you having to re-export and upload templates and such later. But if you don't plan on using the feature, there's no requirement to enable it.

What about the other questions? are those the paths to phplugins you're using for each site?

Offline

#25 2015-04-15 05:36:26

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

Re: Gallery error

sportfoton wrote:

sportsfoton.se site is using phplugins located at this server path:
/customers/9/9/f/sportfoton.se/httpd.www/phplugins-sample
and this is what is Entered in the path to phplugins in sportfoton.se gallery template.
.

ishockeybilder.se site is using phplugins located at this server path:
/Customers/9/4/f/ ishockeybilder.se/httpd.www/phplugins-sample
and this is what is Entered in the path to phplugins in ishockeybilder.se gallery template. /customers/9/9/f/ishockeybilder.se/httpd.www/phplugins

Well then that could be the problem. You're using the wrong paths to phplugins

if this is the server path to phplugins on the sportfoton site:
/customers/9/9/f/sportfoton.se/httpd.www/phplugins-sample
then that's what needs to be entered in the gallery template's path to phplugins field, not:
/customers/9/9/f/sportfoton.se/httpd.www/phplugins

if this is the server path to phplugins on the ishockeybilder site:
/Customers/9/4/f/ ishockeybilder.se/httpd.www/phplugins-sample
then that's what needs to be entered in the gallery template, not
/customers/9/9/f/ishockeybilder.se/httpd.www/phplugins

Either that or change the name of the folders from phplugins-sample to just phplugins, like the documentation directed.


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

Offline

Board footer

Powered by FluxBB