M
McFraggle
Jungspund
Hallo zusammen!
Vorweg: Ich hab von php etwa so viel Ahnung wie vom Zuckerrohranbau.
Problem:
Ich versuche eine php-Anwendung (openTimetool) bei mir aufzusetzen. Endlich hab ich nun den Apache soweit, dass er php ausführt und die mySQL-DB, die das openTimetool benötigt, sollte auch laufen.
Jedoch: Beim Start des Skriptes kommt eine Fehlermeldung:
Die ersten Code-Zeilen des Skriptes:
Zeile 40 ist dabei die Kopfzeile des letzten If-Statements.
hat jemand eine Idee, wie ich das beheben kann?
Vorweg: Ich hab von php etwa so viel Ahnung wie vom Zuckerrohranbau.
Problem:
Ich versuche eine php-Anwendung (openTimetool) bei mir aufzusetzen. Endlich hab ich nun den Apache soweit, dass er php ausführt und die mySQL-DB, die das openTimetool benötigt, sollte auch laufen.
Jedoch: Beim Start des Skriptes kommt eine Fehlermeldung:
Code:
Fatal error: Call to a member function on a non-object in /srv/www/htdocs/openTimetool/htdocs/index.php on line 40
PHP:
if (@$_REQUEST['resetAccountName']) {
$account->setAccountName();
}
if (@$_REQUEST['newData']['accountName']) {
require_once $config->classPath.'/modules/remote/remote.php';
$accountName = $_REQUEST['newData']['accountName'];
if (modules_remote::execute('account.isAccountName',$accountName)) {
$account->setAccountName($accountName);
$account->prepare(true); // force getting the data via XML-RPC again
} else {
$applError->set('This is not a valid account name!');
}
}
if( ($account->isAspVersion() && $account->getAccountName()) || !$account->isAspVersion() ) {
require_once 'HTTP/Header.php';
HTTP_Header::redirect($config->vApplRoot.'/modules/time/today.php');
}
hat jemand eine Idee, wie ich das beheben kann?