Page 1 of 1

typo3 | awstats | chmod()

Posted: 2006-10-10 10:51
by tsaenger
Hallo,

ich setze typo3 auf meinem Server ein. Ansich funktioniert die Webseite auch. Ich habe nur folgendes Problem:
Im Backend unter AWStats wenn ich die Domain anwähle bekomme ich folgenden Fehler:

Code: Select all

Warning: chmod() [function.chmod]: Operation not permitted in /home/htdocs/web14/html/typo3conf/ext/cc_awstats/mod1/index.php on line 188
Leider habe ich keine Ahnung warum chmod nicht permitted ist.

ruß

Tobias

Re: typo3 | awstats | chmod()

Posted: 2006-10-10 11:21
by daemotron
Poste mal die Ausgabe von

Code: Select all

cat /etc/php.ini | grep disable_functions
(oder wo Deine php.ini auch immer liegt...)

Re: typo3 | awstats | chmod()

Posted: 2006-10-10 11:22
by rootsvr
Blinder tipp: disabled_functions der php.ini?
Oder der User der chmod einsetzen will ist nicht der owner des files (Diskrepanz Php-user und fileowner?)

Re: typo3 | awstats | chmod()

Posted: 2006-10-10 19:08
by tsaenger
Hallo,

also ein

Code: Select all

cat /etc/php.ini | grep disable_functions
ergab:

Code: Select all

p1xxx204:/home/admin # cat /etc/php.ini | grep disable_functions
disable_functions =
p1xxx204:/home/admin # 
Gruß

Tobias

P.S: In line 188 steht folgendes:

Code: Select all

  chmod ($this->MCONF['awstats_data_dir'].t3lib_div::GPvar('config').'/', 0777);

Re: typo3 | awstats | chmod()

Posted: 2006-10-10 19:25
by tsaenger
Hallo,

Problem gelöst.

Es lag tatsächlich am Owner der Files.

Gruß

Tobias