tidnab
7.08.2004, 15:04:21
Witam
Mam maly problem z webmailem HORDE 3.0-APLHA. Na stronie test.php
wywala mi blad:
Fatal error: Using $this when not in object context in
/var/www/htdocs/horde/test.php on line 76
Skrypty sa napewno w porzadku, problem lezy raczej w jakichs ustawieniach.
System to Slack 9.1, Apache/2.0.48, php 5.1.0-dev skompilowane z opcjami:
'--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-mysql=/usr/local/mysql' '--enable-shared=yes' '--enable-ftp'
'--enable-exif' '--enable-calendar' '--with-track-vars' '--with-gettext'
'--with-xml' '--with-imap-ssl' '--with-imap'
Zainstalowane odpowiednie PEAR.
Czy ktos sie z tym spotkal?
..:: pingu ::..
7.08.2004, 22:27:23
to jest raczej błąd skryptu, dasz jakis kawałek kodu ?
tidnab
8.08.2004, 08:34:32
<?php
/* Application versions */
$this->applications = array(); @include_once './config/registry.php';
foreach ($this->applications as $module => $details) {
if (is_readable($details['fileroot'] . '/lib/version.php')) { include_once $details['fileroot'] . '/lib/version.php';
eval('$defined = defined('' . strtoupper($module) . '_VERSION
\');'); if ($defined) {
$versions[$module] = $ver;
if ($module != 'horde' && @is_readable($details['fileroot'] . '/test.php')) { $testphp[$module] = $details['webroot'] . '/test.php';
}
}
}
}?>
http://groups.google.pl/groups?hl=pl&lr=&i...7706bb20&rnum=7to mniej wiecej to samo
--
Jak sie okazalo ten blad jest w php5 a wiec musialem skompilowac ver 4.3.9 dev