With a blank "open_basedir" mediaview.php works fine but its not secure.
With it set to c:\inetpub (on windows 2003 server) I get the following error:
ERROR 2: file_exists(): open_basedir restriction in effect. File(images/facts/00_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub)
0 Error occurred on in function file_exists
1 called from line 389 of file class_event.php in function Icon
2 called from line 159 of file functions_print_facts.php in function print_fact
3 called from line 166 of file mediaviewer.php
Warning: file_exists(): open_basedir restriction in effect. File(images/facts/00_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub) in C:\Inetpub\family\PhpGedView\includes\classes\class_event.php on line 389
ERROR 2: file_exists(): open_basedir restriction in effect. File(images/facts/000_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub)
0 Error occurred on in function file_exists
1 called from line 389 of file class_event.php in function Icon
2 called from line 159 of file functions_print_facts.php in function print_fact
3 called from line 166 of file mediaviewer.php
Warning: file_exists(): open_basedir restriction in effect. File(images/facts/000_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub) in C:\Inetpub\family\PhpGedView\includes\classes\class_event.php on line 389
ERROR 2: file_exists(): open_basedir restriction in effect. File(images/facts/FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub)
0 Error occurred on in function file_exists
1 called from line 389 of file class_event.php in function Icon
2 called from line 159 of file functions_print_facts.php in function print_fact
3 called from line 166 of file mediaviewer.php
Warning: file_exists(): open_basedir restriction in effect. File(images/facts/FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub) in C:\Inetpub\family\PhpGedView\includes\classes\class_event.php on line 389 External File
How should I resolve this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
As Gerry pointed out, HELP requests belong in the Help forum, but the error itself has clearly told you the issue, none of which is a PGV problem:
"File(images/facts/00_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub)"
The image(s) you are trying to serve, for some reason you've configured your server with open_basedir, are not in the path you've set.
-Stephen
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
With a blank "open_basedir" mediaview.php works fine but its not secure.
With it set to c:\inetpub (on windows 2003 server) I get the following error:
ERROR 2: file_exists(): open_basedir restriction in effect. File(images/facts/00_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub)
0 Error occurred on in function file_exists
1 called from line 389 of file class_event.php in function Icon
2 called from line 159 of file functions_print_facts.php in function print_fact
3 called from line 166 of file mediaviewer.php
Warning: file_exists(): open_basedir restriction in effect. File(images/facts/00_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub) in C:\Inetpub\family\PhpGedView\includes\classes\class_event.php on line 389
ERROR 2: file_exists(): open_basedir restriction in effect. File(images/facts/000_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub)
0 Error occurred on in function file_exists
1 called from line 389 of file class_event.php in function Icon
2 called from line 159 of file functions_print_facts.php in function print_fact
3 called from line 166 of file mediaviewer.php
Warning: file_exists(): open_basedir restriction in effect. File(images/facts/000_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub) in C:\Inetpub\family\PhpGedView\includes\classes\class_event.php on line 389
ERROR 2: file_exists(): open_basedir restriction in effect. File(images/facts/FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub)
0 Error occurred on in function file_exists
1 called from line 389 of file class_event.php in function Icon
2 called from line 159 of file functions_print_facts.php in function print_fact
3 called from line 166 of file mediaviewer.php
Warning: file_exists(): open_basedir restriction in effect. File(images/facts/FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub) in C:\Inetpub\family\PhpGedView\includes\classes\class_event.php on line 389 External File
How should I resolve this.
Please re-post this request for help in the Help forum. I won't be able to help you, but I'm sure that someone else can.
As Gerry pointed out, HELP requests belong in the Help forum, but the error itself has clearly told you the issue, none of which is a PGV problem:
"File(images/facts/00_FILE_C:\I.gif) is not within the allowed path(s): (c:\inetpub)"
The image(s) you are trying to serve, for some reason you've configured your server with open_basedir, are not in the path you've set.
-Stephen
Thanks, I'll post again in the help forum.
I understand the message, I have no idea why the software is trying to do a "file_exists" on that image (does not exist) in that corrupt path name.