Announcement

#1 2010-02-08 16:24:24

nile
Member
2009-05-13
25

Error on my page

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

 

#2 2010-02-08 17:13:38

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6728

Re: Error on my page

Have you deleted a translation of your site?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2010-02-08 17:51:08

nile
Member
2009-05-13
25

Re: Error on my page

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

 

#4 2010-02-08 18:01:02

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6728

Re: Error on my page

You just installed a new plugin?

A new amendment?


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#5 2010-02-08 18:48:27

tosca
Former Piwigo Team
Cévennes (France)
2006-09-23
567

Re: Error on my page

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)


My galleries : Photos, Watercolours, Recipes

Offline

 

#6 2010-02-08 19:25:29

nile
Member
2009-05-13
25

Re: Error on my page

No I have not installed any new plugin.

Offline

 

#7 2010-02-08 19:27:34

nile
Member
2009-05-13
25

Re: Error on my page

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

 

#8 2010-02-08 22:07:58

mathiasm
Former Piwigo Team
2006-02-06
2648

Re: Error on my page

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

 

#9 2010-02-08 22:11:42

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
6728

Re: Error on my page

Can you check the file permissions iso.txt

Can you install [extension by Piwigo Team] Language Switch for test


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#10 2010-02-09 15:58:07

nile
Member
2009-05-13
25

Re: Error on my page

Great.
mathiasm - you got the sullution.

With your change the error is gone.

Thank you very much for your help.

Best Regards
Nile

Offline

 

#11 2010-03-03 09:02:13

Stisse Hedlund
Guest

Re: Error on my page

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

 

#12 2010-03-05 13:14:50

Jarle
Guest

Re: Error on my page

Tried the same solution, but still got some errors.
  Take alook here;
  http://tjelmen.net/bilder/index.php?

  thanks
  jarle

 

#13 2010-03-05 20:14:37

plg
Piwigo Team
Nantes, France, Europe
2002-04-05
13173

Re: Error on my page

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:

Code:

<!-- 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


Latest blog post (May 3rd 2018) New subscription form

Offline

 

#14 2010-03-05 21:35:08

Jarle
Guest

Re: Error on my page

Thank you very much.
  Got rid of the auto-date thing, and all is well again !

  thanks again.

  jarle

 

#15 2010-03-21 14:22:11

cold
Guest

Re: Error on my page

thank you very much..


something changed my password in mysql.inc.php and added 5 blanks ...

thanks for the great support :)

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact