PDA

View Full Version : Classic style


Kasparov
20-06-05, 05:57 PM
I am not sure where I should ask this, so admins, please change this is it wron topic. I install and test dotproject and it work fine when style was default. But when I change style for classic (menu for left) and log out and again log in, I get this kind error:

Warning: main(/modules/tasks/todo_tasks_sub.php): failed to open stream: No such file or directory in /var/www/abcd/modules/tasks/todo.php on line 173

Warning: main(): Failed opening '/modules/tasks/todo_tasks_sub.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/abcd/modules/tasks/todo.php on line 173

Everything else work fine, but calender day-view, don't work, I can't undestand why? If someone could give some hints, I am very grateful.

Sincerely

Karri

cyberhorse
20-06-05, 07:54 PM
sounds like your $dPconfig['root_dir'] variable is not initialized properly.
Do echo $dPconfig['root_dir']; somewhere before line 175 in modules/tasks/todo.php and see if it is being outputted.

Kasparov
20-06-05, 09:40 PM
Thanks for idea. I put echo... and reload page, but I can't find any new text for screen, so root_dir = empty? I should edit config.php and what I change there? Now there is $dPconfig['root_dir'] = $baseDir; What there should be, var/www/dotproject ?

Thanks for help.

mrnicksgirl
24-06-05, 12:13 AM
I would use

echo var_dump($dPconfig['root_dir']);

so it will spit out the type of the variable, so if it is a empty string or null, it will say so.

Read more about var_dump here:
http://us3.php.net/var_dump