sqlite kann nicht auf datenbank zugreifen
sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 15:25:50 von Andre Lohmann
Moin, moin !
Kann mir jemand bei der folgenden Fehlermeldung helfen ?
Warning: sqlite_open(): open_basedir restriction in effect.
File(/srv_xx/xx/xxxxx.dbs) is not within the allowed path(s):
(/var/www/vhosts/xxxxx.de/httpdocs:/tmp)
--
MfG
André Lohmann (DAE204)
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 15:55:51 von Frank Schenk
Andre Lohmann schrieb:
> Moin, moin !
>
> Kann mir jemand bei der folgenden Fehlermeldung helfen ?
>
> Warning: sqlite_open(): open_basedir restriction in effect.
> File(/srv_xx/xx/xxxxx.dbs) is not within the allowed path(s):
> (/var/www/vhosts/xxxxx.de/httpdocs:/tmp)
Wieso, steht doch alles da?
Schlag mal das Handbuch zu open_basedir nach.
gruß, Frank
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 16:10:22 von Andre Lohmann
"Frank Schenk" schrieb im Newsbeitrag
news:e9dgh1$edk$01$1@news.t-online.com...
> Andre Lohmann schrieb:
>> Moin, moin !
>>
>> Kann mir jemand bei der folgenden Fehlermeldung helfen ?
>>
>> Warning: sqlite_open(): open_basedir restriction in effect.
>> File(/srv_xx/xx/xxxxx.dbs) is not within the allowed path(s):
>> (/var/www/vhosts/xxxxx.de/httpdocs:/tmp)
>
> Wieso, steht doch alles da?
>
> Schlag mal das Handbuch zu open_basedir nach.
>
> gruß, Frank
Wenn ich ein Handbuch hätte würde ich nicht nachfragen.
Kann man den Pfad denn irgentwo nachtragen ?
MfG
Andre
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 16:23:30 von Matthias Esken
On Sun, 16 Jul 2006 16:10:22 +0200, Andre Lohmann wrote:
> "Frank Schenk" schrieb
>
>> Schlag mal das Handbuch zu open_basedir nach.
>
> Wenn ich ein Handbuch hätte würde ich nicht nachfragen.
Das Manual findet sich im Netz.
> Kann man den Pfad denn irgentwo nachtragen ?
http://www.php.net/manual/en/features.safe-mode.php#ini.open -basedir
Gruß,
Matthias
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 16:30:41 von gregor herrmann
On Sun, 16 Jul 2006 16:10:22 +0200, Andre Lohmann wrote:
>>> Warning: sqlite_open(): open_basedir restriction in effect.
>>> File(/srv_xx/xx/xxxxx.dbs) is not within the allowed path(s):
>>> (/var/www/vhosts/xxxxx.de/httpdocs:/tmp)
>> Schlag mal das Handbuch zu open_basedir nach.
> Wenn ich ein Handbuch hätte würde ich nicht nachfragen.
http://de.php.net/manual/en/features.safe-mode.php#ini.open- basedir
gregor
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian: the universal operating system - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Red Hot Chili Peppers: Porcelain
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 16:34:27 von Frank Schenk
Andre Lohmann schrieb:
> Wenn ich ein Handbuch hätte würde ich nicht nachfragen.
Das gibts gratis im Internet: http://www.php.net
-> http://www.php.net/manual/en/features.safe-mode.php
> Kann man den Pfad denn irgentwo nachtragen ?
Ja, php.ini, httpd.conf o.ä.
Gruß, Frank
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 16:36:12 von Niels Braczek
Andre Lohmann schrieb:
> "Frank Schenk" schrieb im Newsbeitrag=20
>> Schlag mal das Handbuch zu open_basedir nach.
>
> Wenn ich ein Handbuch hätte würde ich nicht nachfragen.
Das Manual (Handbuch) ist hier: http://www.php.net/manual/en/
> Kann man den Pfad denn irgentwo nachtragen ?
Logisch.
MfG
Niels
--=20
| http://www.kolleg.de =B7 Das Portal der Kollegs in Deutschland |
| http://www.bsds.de =B7 BSDS Braczek Software- und DatenSysteme |
| Webdesign =B7 Webhosting =B7 e-Commerce =B7 Joomla! Content Management =
|
------------------------------------------------------------ ------
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 17:42:56 von Andre Lohmann
Moin !
Das Handbuch hat mir jetzt leider auch nicht wirklich weitergeholfen.
Kann einer von Euch etwas genauer werden, bitte.
Wo und wie kann ich den zweiten Pfad zusätzlich zu den erlaubten Pfaden
hinzufügen ?
MfG
Andre
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 18:23:00 von Frank Schenk
Andre Lohmann schrieb:
> Moin !
>
> Das Handbuch hat mir jetzt leider auch nicht wirklich weitergeholfen.
>
> Kann einer von Euch etwas genauer werden, bitte.
>
> Wo und wie kann ich den zweiten Pfad zusätzlich zu den erlaubten Pfaden
> hinzufügen ?
Was verstehst du von:
--Zitat--
open_basedir string
Limit the files that can be opened by PHP to the specified
directory-tree, including the file itself. This directive is NOT
affected by whether Safe Mode is turned On or Off.
When a script tries to open a file with, for example, fopen() or
gzopen(), the location of the file is checked. When the file is outside
the specified directory-tree, PHP will refuse to open it. All symbolic
links are resolved, so it's not possible to avoid this restriction with
a symlink.
The special value . indicates that the working directory of the
script will be used as the base-directory. This is, however, a little
dangerous as the working directory of the script can easily be changed
with chdir().
In httpd.conf, open_basedir can be turned off (e.g. for some
virtual hosts) the same way as any other configuration directive with
"php_admin_value open_basedir none".
Under Windows, separate the directories with a semicolon. On all
other systems, separate the directories with a colon. As an Apache
module, open_basedir paths from parent directories are now automatically
inherited.
The restriction specified with open_basedir is actually a prefix,
not a directory name. This means that "open_basedir = /dir/incl" also
allows access to "/dir/include" and "/dir/incls" if they exist. When you
want to restrict access to only the specified directory, end with a
slash. For example: "open_basedir = /dir/incl/"
Note: Support for multiple directories was added in 3.0.7.
The default is to allow all files to be opened.
--/Zitat--
nicht?
Frank
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 19:01:46 von Andre Lohmann
"Frank Schenk" schrieb im Newsbeitrag
news:e9dp4t$oa$01$1@news.t-online.com...
> Andre Lohmann schrieb:
>> Moin !
>>
>> Das Handbuch hat mir jetzt leider auch nicht wirklich weitergeholfen.
>>
>> Kann einer von Euch etwas genauer werden, bitte.
>>
>> Wo und wie kann ich den zweiten Pfad zusätzlich zu den erlaubten Pfaden
>> hinzufügen ?
>
> Was verstehst du von:
>
> --Zitat--
> open_basedir string
>
> Limit the files that can be opened by PHP to the specified
> directory-tree, including the file itself. This directive is NOT affected
> by whether Safe Mode is turned On or Off.
>
> When a script tries to open a file with, for example, fopen() or
> gzopen(), the location of the file is checked. When the file is outside
> the specified directory-tree, PHP will refuse to open it. All symbolic
> links are resolved, so it's not possible to avoid this restriction with a
> symlink.
>
> The special value . indicates that the working directory of the script
> will be used as the base-directory. This is, however, a little dangerous
> as the working directory of the script can easily be changed with chdir().
>
> In httpd.conf, open_basedir can be turned off (e.g. for some virtual
> hosts) the same way as any other configuration directive with
> "php_admin_value open_basedir none".
>
> Under Windows, separate the directories with a semicolon. On all other
> systems, separate the directories with a colon. As an Apache module,
> open_basedir paths from parent directories are now automatically
> inherited.
>
> The restriction specified with open_basedir is actually a prefix, not
> a directory name. This means that "open_basedir = /dir/incl" also allows
> access to "/dir/include" and "/dir/incls" if they exist. When you want to
> restrict access to only the specified directory, end with a slash. For
> example: "open_basedir = /dir/incl/"
>
> Note: Support for multiple directories was added in 3.0.7.
>
> The default is to allow all files to be opened.
> --/Zitat--
>
> nicht?
>
Na die Englische-Sprache, evtl.
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 19:58:47 von Niels Braczek
Andre Lohmann schrieb:
> "Frank Schenk" schrieb im Newsbeitrag=20
> news:e9dp4t$oa$01$1@news.t-online.com...
^^^^^^^^
^Kürze das bitte mal auf *eine* Zeile.
>> Was verstehst du von:
>> ...
>> nicht?
>=20
> Na die Englische-Sprache, evtl.
Und worin liegt das Problem, einfach mal das /en im URL durch /de zu
ersetzen?
MfG
Niels
--=20
| http://www.kolleg.de =B7 Das Portal der Kollegs in Deutschland |
| http://www.bsds.de =B7 BSDS Braczek Software- und DatenSysteme |
| Webdesign =B7 Webhosting =B7 e-Commerce =B7 Joomla! Content Management =
|
------------------------------------------------------------ ------
Re: sqlite kann nicht auf datenbank zugreifen
am 16.07.2006 21:09:30 von Andre Lohmann
Moin !
Ist schon OK, vielen Dank für die freundliche Hilfe !
--
MfG
André Lohmann (DAE204)