MyXoops Forum

Forum - myXOOPS German Support

4 + 6 = ?  
Geben Sie das Ergebnis der Berechnung ein
Sie haben max. 10 Versuche.
 
* = Erforderlich

lib und data Problem (bei und nach der Installation)

Betreff: lib und data Problem (bei und nach der Installation)
von Torti am 10.04.2011 11:30:19

Hallo zusammen, ich habe gerade mal wieder zum testen ein Xoops aufgesetzt. Bei der Installation gabs wieder Probleme mit dem lib und data Verzeichnissen. Ich denke mal nicht das es an Xoops liegt sondern an meinem Webserver.

   define('XOOPS_ROOT_PATH', '/var/www/vhosts/.../httpdocs/xoops');

   define('XOOPS_PATH', '/var/www/vhosts/.../httpdocs/xoops_lib');

   define('XOOPS_VAR_PATH', '/var/www/vhosts/.../httpdocs/xoops_data');

Die Ordner liegen dort auch da bin ich mir sicher!

Fehlermeldung ist folgende

Warning: require() [function.require]: open_basedir restriction in effect. File(/var/www/vhosts/.../httpdocs/xoops_data/data/secure.php) is not within the allowed path(s): (/var/www/vhosts/.../httpdocs/xoops/:/tmp/) in /var/www/vhosts/.../httpdocs/xoops/mainfile.php on line 68
Warning: require(/var/www/vhosts/.../httpdocs/xoops_data/data/secure.php) [function.require]: failed to open stream: Operation not permitted in /var/www/vhosts/b.../httpdocs/xoops/mainfile.php on line 68
Warning: require() [function.require]: open_basedir restriction in effect. File(/var/www/vhosts/.../httpdocs/xoops_data/data/secure.php) is not within the allowed path(s): (/var/www/vhosts/.../httpdocs/xoops/:/tmp/) in /var/www/vhosts/.../httpdocs/xoops/mainfile.php on line 68
Warning: require(/var/www/vhosts/.../httpdocs/xoops_data/data/secure.php) [function.require]: failed to open stream: Operation not permitted in /var/www/vhosts/.../httpdocs/xoops/mainfile.php on line 68
Fatal error: require() [function.require]: Failed opening required '/var/www/vhosts/.../httpdocs/xoops_data/data/secure.php' (include_path='.:') in /var/www/vhosts/.../httpdocs/xoops/mainfile.php on line 68

Im PLESK habe ich den Dokumentenroot logischerweise auf:

httpdocs/xoops

stehen

Wenn ich das richtig verstehe darf auch xoops nicht auf diese ausserhalb liegenden Ordner zugreifen.

Wenn ich aber bei PLESK den Root-Ordner anders lege sind die beiden Ordner wieder von extern erreichbar.

Ist es denn auch sicher wenn ich den Root umlege und dort eine htaccess rein lege mit einer weiterleitung?

Und wenn ja wie sollte diese aussehen?

Gruß

Torti


Aktuell aus dem Forum

Forum Thema Antworten Views Letzter Beitrag
Modulentwicklung New Xoops Xcreate Module 0 5321 26.11.2025 15:22
efkan Gehe zum letzten Beitrag
Modulentwicklung XOOPS Custom Field Module 1 1813 24.11.2025 11:21
Goffy Gehe zum letzten Beitrag