![]() |
|
open_basedir restriction in effect. File(/tmp/...) is not within the allowed path(s) - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: open_basedir restriction in effect. File(/tmp/...) is not within the allowed path(s) (/thread-12998.html) |
open_basedir restriction in effect. File(/tmp/...) is not within the allowed path(s) - Nordlicht - 2018-01-21 I have following entries in the error.log [Fri Jan 19 20:10:12 2018] [error] [client myIP] PHP Warning: [Fri Jan 19 20:10:12 2018] [error] [client myIP] PHP Warning: [Fri Jan 19 20:10:12 2018] [error] [client myIP] PHP Warning: Cannot Is it possible that you "re-program" ZPC in that way that ZPC does not ask for access outside the webroot. open_basedir restriction in effect. File(/tmp/...) is not within the allowed path(s) - acrylian - 2018-01-21 Zenphoto does not ask for aynthing outside the webroot. Actually it only works within the webroot on the same server properly. It is techically possible to place the albums folder above the webroot to hide it but you would have to set this specifially in your config file manually. Those error messages seem to refer to tmp files which are actually a server internal thing that Zenphoto is not involved in. It should use what the server tells via the super global I am sure and sorry that you have this issue but I can only say I never encountered this anywhere so far and don't remember any reports in the past. open_basedir restriction in effect. File(/tmp/...) is not within the allowed path(s) - Nordlicht - 2018-01-21 I found this: http://forum.zenphoto.org/discussion/comment/28215/ I already spoke with the hoster and he is not keen of the idea of changing the server-settings. And he is advising me, not to ask him to do so. Thing is, that even I have upper entries in the error.log - the pictures were successfully uploaded and things look fine - except for the error messages in the frontend and entries in the log file. open_basedir restriction in effect. File(/tmp/...) is not within the allowed path(s) - acrylian - 2018-01-21 If setting the serverpath manually via the config as suggested on that old topic does not help, you can try it yourself via htaccess for example: This seems a very specific, unusual error… open_basedir restriction in effect. File(/tmp/...) is not within the allowed path(s) - Nordlicht - 2018-01-21 I am sorry that I've caused "some action" here with this topic. Our hoster did some investigating and found the source of the problem. Thanks so far. open_basedir restriction in effect. File(/tmp/...) is not within the allowed path(s) - acrylian - 2018-01-21 No problem at all. Not all servers are the same or even the same configured. Glad you could solve it easily! |