Koozali.org: home of the SME Server

Other Languages => Deutsch => Topic started by: Reiner67 on July 22, 2009, 09:42:53 AM

Title: open_basedir Probleme
Post by: Reiner67 on July 22, 2009, 09:42:53 AM
Hallo,

Ich habe das Wordpress contrib installiert

Nach der Installation eines plugins bekomme ich folgende Fehlermeldungen:

Jul 21 18:16:42 sme httpd: PHP Warning: getimagesize(): open_basedir restriction in effect. File(/tmp/phpzILBXU) is not within the allowed path(s): (/opt/wordpress) in /opt/wordpress/wp-content/plugins/mytreasures/mytreasures.php on line 790
Jul 21 18:16:42 sme httpd: PHP Warning: getimagesize(/tmp/phpzILBXU): failed to open stream: Operation not permitted in /opt/wordpress/wp-content/plugins/mytreasures/mytreasures.php on line 790
Jul 21 18:16:42 sme httpd: PHP Warning: copy(): open_basedir restriction in effect. File(/tmp/phpzILBXU) is not within the allowed path(s): (/opt/wordpress) in /opt/wordpress/wp-content/plugins/mytreasures/mytreasures.php on line 848
Jul 21 18:16:42 sme httpd: PHP Warning: chmod(): No such file or directory in /opt/wordpress/wp-content/plugins/mytreasures/mytreasuresoverview.php on line 90
Jul 21 18:21:29 sme httpd: PHP Warning: getimagesize(): open_basedir restriction in effect. File(/tmp/phpWoVaUr) is not within the allowed path(s): (/opt/wordpress) in /opt/wordpress/wp-content/plugins/mytreasures/mytreasuresimages.php on line 47
Jul 21 18:21:29 sme httpd: PHP Warning: getimagesize(/tmp/phpWoVaUr): failed to open stream: Operation not permitted in /opt/wordpress/wp-content/plugins/mytreasures/mytreasuresimages.php on line 47
Jul 21 18:21:29 sme httpd: PHP Warning: chmod(): No such file or directory in /opt/wordpress/wp-content/plugins/mytreasures/mytreasuresimages.php on line 60
Jul 21 18:21:29 sme httpd: PHP Warning: chmod(): No such file or directory in /opt/wordpress/wp-content/plugins/mytreasures/mytreasuresimages.php on line 65

Für ibays habe ich eine Lösung gefunden

/sbin/e-smith/db accounts setprop Primary PHPBaseDir /home/e-smith/files/ibays/Primary/:/tmp


Aber nicht für die Primary Site /opt

Was jemand Rat ?

Danke

Reiner
/sbin/e-smith/signal-event ibay-modify Primary
Title: Re: open_basedir Probleme
Post by: cactus on July 22, 2009, 09:47:35 AM
/opt/wordpress/ auch im PHPBaseDir eintragen? Demnächst
Code: [Select]
signal-event ibay-modify Primary
Title: Re: open_basedir Probleme
Post by: Reiner67 on July 22, 2009, 10:15:52 AM
Sorry verstehe ich nicht

/opt/wordpress ist doch in keiner ibay
Title: Re: open_basedir Probleme
Post by: cactus on July 22, 2009, 11:41:47 AM
Sorry verstehe ich nicht

/opt/wordpress ist doch in keiner ibay
Nein, aber du kannst es doch anlegen im Primary, weil die Probleme sich da offenbar machen, oder veriire ich mich?

Sonnst sollst du ein custom fragment machen für die wordpress location im httpd tree.
Title: Re: open_basedir Probleme
Post by: Reiner67 on July 22, 2009, 11:50:30 AM
Also ich bin SME Anfänger

und verstehe nicht was du meinst

In den ibays läuft es nicht