PDA

View Full Version : Warning adding a new task


mikesz
01-04-05, 06:44 PM
Hello,

I just did a clean install of 2.0, added a company, three projects and was attempting to add a new task to one of the newly created projects, got the following warning message?

Warning: Attempt to assign property of non-object in C:\apache2triad\htdocs\dotproject\modules\projects \projects.class.php on line 67

I am logged in as Admin, fyi. I have not created any users yet and am checkin the tool out before I start using it for production work.

I am currently running the latest configuration of Apache2Triad on an XP pro workstation.

Any clues will be greatly appreciated, kindest regards, mikesz

ajdonnison
01-04-05, 06:53 PM
Set debug level to 7 and check the log file. Log file is determined by the PHP.INI settings, so check docs/phpinfo.php to see where your error reporting will end up.

mikesz
02-04-05, 02:55 PM
the log file just has an occurrence of the same message. However, I did some further checking and found that it may be php v5 related. Here is a reference to a php bug pointer that claims a fix: http://bugs.php.net/bug.php?id=31525

I am not sure what the consequences are here but now have multiple occurences of the same message whenever I attempt to add information to a component, got the same warning attempting to add departments. Also, I turned on debug messaging to see what was happening in realtime and noticed a huge number of session errors similar to the following:

Warning: session_start() [C:\apache2triad\php\manual\function.session-start.html]: Cannot send session cookie - headers already sent by (output started at C:\apache2triad\htdocs\dotproject\includes\main_fu nctions.php:558) in C:\apache2triad\htdocs\dotproject\includes\session .php on line 193

I am not sure these are related but reference them for your perusal.

ajdonnison
02-04-05, 03:00 PM
Have you tried the fix in that bug report, namely setting php4 compatibility mode in your php.ini?

mikesz
02-04-05, 04:51 PM
Hangs my browser up and eventually times out.

btw, the problem I am trying to solve is :

[02-Apr-2005 14:10:45] PHP Warning: Attempt to assign property of non-object in C:\apache2triad\htdocs\dotproject\modules\projects \projects.class.php on line 67

(the lines before and after this line in the log appear to be normal)

The session problem added to my last post which was resolved with turning the output_buffer on in php.ini and is not related to this problem.