Warning: "open_basedir restriction in effect" afte

petert
petert's picture

Joined: 2002-08-16
Posts: 1
Posted: Fri, 2002-08-16 22:25

I had onfigured gallery.1.3.2-cvs-b1.tar.gz with no problem at my new ISP and was able to view old albums (created at old ISP). I then requested that php safe mode be turned off. And after safe mode was turned off, I am now getting the following errors:

Warning: open_basedir restriction in effect. File is in wrong directory in Unknown on line 0

Warning: Failed opening '/home/virtual/site169/fst/var/www/html/photos/index.php' for inclusion (include_path='.:/php/includes:/usr/share/php') in Unknown on line 0

I know that FAQ C talks about the open_basedir restriction error but in my setup, I was NOT getting those errors until PHP safe mode was turned off. I had no problems with running gallery during configuration, and viewing of the album when safe mode was on.

How can I resolve this? Thanks in advance

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2002-08-19 07:58

Is it possible that your ISP turned on open_basedir when they turned off safe mode? I suggest that you run through the config wizard again from beginning to end and make sure that it completes successfully. Use the diagnostics (there's a link from page 1 of the config wizard) to check your open_basedir configuration.