phpMyFAQ 2.6.3 - open_basedir

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
luk
Posts: 2
Joined: Fri Apr 09, 2010 7:02 am

phpMyFAQ 2.6.3 - open_basedir

Post by luk »

Hallo,

ich setze die phpMyFAQ 2.6.3 Version ein und habe ein Problem mit "open_basedir". Sobald ich auf bild einfügen/einsetzen und dann auf durchsuchen gehe, dann bekomme ich folgende Fehlermeldung:
phpMyFAQ warning [2]: file_exists(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/web188/html:/var/www/web188/phptmp:/var/www/web188/files:/var/www/web188/atd:/usr/share/php:/var/www/empty/web188) in class.session.php on line 37

phpMyFAQ warning [2]: file_exists(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/web188/html:/var/www/web188/phptmp:/var/www/web188/files:/var/www/web188/atd:/usr/share/php:/var/www/empty/web188) in class.file.php on line 143
Unable to create session folder.
Mein Basedir ist gesetzt auf:
open_basedir /var/www/web188/html:/var/www/web188/phptmp:/var/www/web188/files:/var/www/web188/atd:/usr/share/php:/var/www/empty/web188

Wo liegt das Problem?

Bitte um Hilfe!

Danke & Gruss, Lukas
Thorsten
Posts: 15793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.6.3 - open_basedir

Post by Thorsten »

Hi,

füge mal /tmp bei open_basedir hinzu. :-)

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
luk
Posts: 2
Joined: Fri Apr 09, 2010 7:02 am

Re: phpMyFAQ 2.6.3 - open_basedir

Post by luk »

Hi,

kann man das open_basedir im phpMyFAQ evtl. auf eins meiner vorgegebenen "open basedirs" umbiegen?

Danke & Gruss
Thorsten
Posts: 15793
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: phpMyFAQ 2.6.3 - open_basedir

Post by Thorsten »

Hi,

ja, das geht in der /admin/editor/plugins/ajaxfilemanager/inc/config.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
rmausolf
Posts: 3
Joined: Mon Apr 12, 2010 12:09 pm

Re: phpMyFAQ 2.6.3 - open_basedir

Post by rmausolf »

Hallo,

ich habe das gleich Problem.
Nur weiß ich nichts mit den Lösungsvorschägen anzufangen.

Wo ist mein open_basedir?

Hier die Fehlermeldung:


phpMyFAQ warning [2]: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/web1321/html/:/var/www/web1321/phptmp/:/var/www/web1321/files/:/var/www/web1321/atd/:/usr/share/php/) in class.session.php on line 37

phpMyFAQ warning [2]: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/web1321/html/:/var/www/web1321/phptmp/:/var/www/web1321/files/:/var/www/web1321/atd/:/usr/share/php/) in class.file.php on line 143
Unable to create session folder.

Hier ein paar Infos:

System Information
phpMyFAQ VersionphpMyFAQ 2.6.3
Server SoftwareApache
PHP VersionPHP 5.2.12-0.dotdeb.1
Register Globalsoff
Safe Modeoff
Open Basediroff
Database ServerMysql
Database Client Version5.0.84
Database Server Version5.1.41-3.dotdeb.1
Webserver InterfaceCGI-FCGI
rmausolf
Posts: 3
Joined: Mon Apr 12, 2010 12:09 pm

Re: phpMyFAQ 2.6.3 - open_basedir

Post by rmausolf »

Hallo,

In welcher Zeile gebe ich den Pfad an?

Grüße
Ralph

Thorsten wrote:Hi,

ja, das geht in der /admin/editor/plugins/ajaxfilemanager/inc/config.php

bye
Thorsten
rmausolf
Posts: 3
Joined: Mon Apr 12, 2010 12:09 pm

Re: phpMyFAQ 2.6.3 - open_basedir

Post by rmausolf »

Hallo,

ich habe die Lösung gefunden!

Man muss in der Datei "config.base.php" folgendes ändern:

Zeile 54

define("CONFIG_SYS_DIR_SESSION_PATH", '/var/www/web1321/html/iphonefaq/temp');

Dem vorher erstellten Ordner (in meinem Fall "temp") noch komplette Rechte einräumen.

Das war´s

Grüße
Ralph Mausolf
Retrogamer
Posts: 4
Joined: Fri Mar 16, 2012 1:02 am

Re: phpMyFAQ 2.6.3 - open_basedir

Post by Retrogamer »

Klappt super, vielen Dank!
Post Reply