[solved] open_basedir restriction in effect

Having problems installing EM? Let's fix that
Forum rules
DO NOT give out any FTP passwords to anyone! There is no reason to do so! If you need help badly enough, create a temporary FTP account that is restricted to only the files that you need help with and give the information for that. Giving out FTP information can be very dangerous!
Locked
FX
Registered User
Posts: 4
Joined: Mon Apr 07, 2003 7:31 pm
Location: France
Contact:

[solved] open_basedir restriction in effect

Post by FX »

Hello Nuttzy,

I want to try the version 0.0.11 but i can't this i have a lot of error message when i want to start easymod_install.php (this the quote).

I supose that my open base dir in my php.ini the responsible of this error but i can't change this value (fixed to ../ under php.ini)

Did you have an idea to solve this problem ?
Warning: main(): open_basedir restriction in effect. File(./../../../extension.inc) is not within the allowed path(s): (../) in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 26

Warning: main(./../../../extension.inc): failed to open stream: Operation not permitted in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 26

Warning: main(): Failed opening './../../../extension.inc' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 26

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 27

Warning: main(): open_basedir restriction in effect. File(./../../../config.) is not within the allowed path(s): (../) in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 27

Warning: main(./../../../config.): failed to open stream: Operation not permitted in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 27

Warning: main(): Failed opening './../../../config.' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 27

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 28

Warning: main(): open_basedir restriction in effect. File(./../../../includes/constants.) is not within the allowed path(s): (../) in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 28

Warning: main(./../../../includes/constants.): failed to open stream: Operation not permitted in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 28

Warning: main(): Failed opening './../../../includes/constants.' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 28

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 29

Warning: main(): open_basedir restriction in effect. File(./../../../includes/functions.) is not within the allowed path(s): (../) in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 29

Warning: main(./../../../includes/functions.): failed to open stream: Operation not permitted in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 29

Warning: main(): Failed opening './../../../includes/functions.' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 29

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 30

Warning: main(): open_basedir restriction in effect. File(./../../../includes/functions_admin.) is not within the allowed path(s): (../) in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 30

Warning: main(./../../../includes/functions_admin.): failed to open stream: Operation not permitted in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 30

Warning: main(): Failed opening './../../../includes/functions_admin.' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 30

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 31

Warning: main(): open_basedir restriction in effect. File(./../../../includes/db.) is not within the allowed path(s): (../) in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 31

Warning: main(./../../../includes/db.): failed to open stream: Operation not permitted in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 31

Warning: main(): Failed opening './../../../includes/db.' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 31

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 33

Warning: main(): Unable to access ./em_includes/em_ftp. in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 33

Warning: main(./em_includes/em_ftp.): failed to open stream: No such file or directory in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 33

Warning: main(): Failed opening './em_includes/em_ftp.' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 33

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 34

Warning: main(): Unable to access ./em_includes/em_modio. in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 34

Warning: main(./em_includes/em_modio.): failed to open stream: No such file or directory in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 34

Warning: main(): Failed opening './em_includes/em_modio.' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 34

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 35

Warning: main(): Unable to access ./em_includes/em_functions. in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 35

Warning: main(./em_includes/em_functions.): failed to open stream: No such file or directory in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 35

Warning: main(): Failed opening './em_includes/em_functions.' for inclusion (include_path='.;c:\php4\pear') in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 35

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 85

Notice: Undefined variable: phpEx in C:\Program Files\Serveur\Fichiers\phpBB2\admin\mods\easymod\easymod_install.php on line 88
CRITICAL ERROR: the lang_easymod. file could not be found in the easymod directory. EasyMOD cannot be installed without this file present.

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: open_basedir restriction in effect

Post by GPHemsley »

Well, in my php.ini file, my open_basedir looks like this:
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
;open_basedir =
:lol:

FX
Registered User
Posts: 4
Joined: Mon Apr 07, 2003 7:31 pm
Location: France
Contact:

Re: open_basedir restriction in effect

Post by FX »

GPHemsley wrote:Well, in my php.ini file, my open_basedir looks like this:
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
;open_basedir =
:lol:
Rhis section on the php.ini of my webhost and my local environment
; open_basedir, if set, limits all file operations to the defined directory
; and below. This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
open_basedir = ../

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: open_basedir restriction in effect

Post by GPHemsley »

Notice, though, that mine works, and yours doesn't. ;)

Nuttzy99
Registered User
Posts: 927
Joined: Fri Aug 03, 2001 7:09 am
Contact:

Re: open_basedir restriction in effect

Post by Nuttzy99 »

Moving this to the install problem forum.

-Nuttzy :cool:
SpellingCow.com - Free spell check service for your forums or any web form!
My Other Site

Nuttzy99
Registered User
Posts: 927
Joined: Fri Aug 03, 2001 7:09 am
Contact:

Re: open_basedir restriction in effect

Post by Nuttzy99 »

GP is saying to put a ; in front of the line to remove open_basedir (assuming you don't need it of course).

-Nuttzy :cool:
SpellingCow.com - Free spell check service for your forums or any web form!
My Other Site

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: open_basedir restriction in effect

Post by GPHemsley »

Nuttzy99 wrote:(assuming you don't need it of course)
Which they probably don't. ;)

morpheus2matrix
Registered User
Posts: 82
Joined: Sun Mar 02, 2003 11:54 am
Contact:

Re: open_basedir restriction in effect

Post by morpheus2matrix »

GPHemsley wrote:
Nuttzy99 wrote:(assuming you don't need it of course)
Which they probably don't. ;)
How can you say that ? Maybe they really need it :wink:
phpBB MOD-Team Member - Check my MOD's

Support For my MOD's

Attachment MOD User Guide || Log Actions MOD User Guide

No support by PM/Email - Thanks - You want to help me ? Click here

Gnubrew
Registered User
Posts: 3
Joined: Wed Dec 31, 2003 9:22 am

Re: [solved] open_basedir restriction in effect

Post by Gnubrew »

Hi!

I think I ve got the same problem like FX, but Im afraid, have no access to the php.ini file...

Can you please provide me, where to find this file... ..is it possible, that my webspaceprovider "hides" it from access??

Is there a way to solve the problem without touching the php.ini?

KR

Gnubrew

User avatar
GPHemsley
Registered User
Posts: 1617
Joined: Fri Apr 18, 2003 4:01 am
Location: Long Beach, NY
Contact:

Re: [solved] open_basedir restriction in effect

Post by GPHemsley »

Gnubrew wrote:Can you please provide me, where to find this file... ..is it possible, that my webspaceprovider "hides" it from access??
Of course they hide it from access. It's not available on the server... It's off in a directory near to where PHP itself is stored. The only way you'd be able to edit it is if you run your own server (like if you have it on your own computer).

Locked