Koozali.org: home of the SME Server

open_basedir Probleme

Offline Reiner67

  • *
  • 7
  • +0/-0
open_basedir Probleme
« 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

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: open_basedir Probleme
« Reply #1 on: July 22, 2009, 09:47:35 AM »
/opt/wordpress/ auch im PHPBaseDir eintragen? Demnächst
Code: [Select]
signal-event ibay-modify Primary
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Reiner67

  • *
  • 7
  • +0/-0
Re: open_basedir Probleme
« Reply #2 on: July 22, 2009, 10:15:52 AM »
Sorry verstehe ich nicht

/opt/wordpress ist doch in keiner ibay

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: open_basedir Probleme
« Reply #3 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.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Reiner67

  • *
  • 7
  • +0/-0
Re: open_basedir Probleme
« Reply #4 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