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.
You are not logged in.
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
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
Offline
It looks like you have a typo in this path httpd.www/phplugins/phplugins.php
Offline
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
It looks like you have a typo in this path httpd.www/phplugins/phplugins.php
Offline
No one who can help me with this problem?
Offline
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
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
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
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
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!
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
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
I have the same settings on www.sportfoton.se and where it works! It does not seem like it's the problem!
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
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
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
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
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
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
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/phpluginsWait. 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-sampleand for the ishockeybilder site, this is the path to phplugins:
/customers/9/4/1/ishockeybilder.se/httpd.www/phplugins-sampleYour 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
I have renamed phplugins-sample to phplugins,
but I get the same error
http://www.ishockeybilder.se/galleries/testar/
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
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
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
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
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
It works if I do not choose PHP in Gallery Templates. Do I need PHP?
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
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
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
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
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