Suddenly this error comes on the top of my page:
Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(./language/index.php/iso.txt) is not within the allowed path(s): (/customers/lj-photo.dk/lj-photo.dk:/var/www/diagnostics:/usr/share/php) in /customers/lj-photo.dk/lj-photo.dk/httpd.www/include/functions.inc.php on line 460
Warning: Cannot modify header information - headers already sent by (output started at /customers/lj-photo.dk/lj-photo.dk/httpd.www/include/functions.inc.php:460) in /customers/lj-photo.dk/lj-photo.dk/httpd.www/include/page_header.php on line 98
The message disappear when I am logged in as an administrator.
page: www.lj-photo.dk
Any suggestions?
Regards
Nile.
Offline
Have you deleted a translation of your site?
Offline
No, they should all be there.
I have tried to change the language, but whitout any luck.
But as I wrote, when I am loged into the page there are no errors.
Offline
You just installed a new plugin?
A new amendment?
Offline
I did some searches on the net about open_basedir restriction.
Apparently, it could be related to a file permission problem or some php settings; if you've not done anything special, your provider might have enforced some new security rules.
Last edited by tosca (2010-02-08 18:49:52)
Offline
Quote:
I did some searches on the net about open_basedir restriction.
Apparently, it could be related to a file permission problem or some php settings; if you've not done anything special, your provider might have enforced some new security rules.
I don't think so.
And still when I am logged in, there are no errors.
Offline
The path mentions: /customers/lj-photo.dk/lj-photo.dk
There is a problem with the mentioned file, it contains 2 filenames: ./language/index.php/iso.txt
Ok, got it.
Backup functions.inc.php
Line 460 of functions.inc.php, change
if (!is_link($path) and file_exists($path.'/iso.txt'))
into
if (!is_link($path) and is_dir($path) and file_exists($path.'/iso.txt'))
And tell us if it is better.
Regards
Mathias
Offline
Can you check the file permissions iso.txt
Can you install [extension by Piwigo Team] Language Switch for test
Offline
Great.
mathiasm - you got the sullution.
With your change the error is gone.
Thank you very much for your help.
Best Regards
Nile
Offline
Also got same error as u did Nile and a few more resulting in login failure, this was after my provider did an update from php5.2 to php5.3
And after using mathiasm solution it worked like a charm, thx :)
PS
Got the same error again after upgrading to latest release 2.0.9 so same solution was applied again..
Tried the same solution, but still got some errors.
Take alook here;
http://tjelmen.net/bilder/index.php?
thanks
jarle
Jarle wrote:
Tried the same solution, but still got some errors.
Take alook here;
http://tjelmen.net/bilder/index.php?
thanks
jarle
nice photos Jarle.
In your gallery, there is:
<!-- Minus AutoDato -->
at the beginning of the output HTML and this produce errors in the code :-/
I don't see the iso.txt problem :-/ and I haven't been able to reproduce it so far
Offline
Thank you very much.
Got rid of the auto-date thing, and all is well again !
thanks again.
jarle
thank you very much..
something changed my password in mysql.inc.php and added 5 blanks ...
thanks for the great support :)