-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Apr 3, 2007, at 1:12 PM, surej ns wrote:

> Hi all
>
> I am using propel 1.3 . When I try to insert data  using propel I  
> got the following error .These table has the relationships  
> ( employee.empid=user.empid)
>
> Error
>
> object(PropelPDO)#132 (1) { ["nestedTransactionCount:protected"]=>  
> int(0) }
> Warning: Cannot modify header information - headers already sent by  
> (output started at D:\xampp\htdocs\login\libs\agavi\src\database 
> \AgaviDatabase.class.php:94) in
>

Someone added a var_dump() on line 94 of AgaviDatabase.class.php.  
It's not in the standard distribution of Agavi, so probably you added  
it. Remove the var_dump(). This no agavi error.

regards

felix

> My code
> $employee = new Employee();
>             $employee->setEmpname('Joshs' );
>
>             $user= new User();
>             $user->setUsername('1234' );
>             $user->setEmployee($employee );
>             $user->save();
>
> How can I fix it.
>
> Thx and regards
> surej
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFGEjd9GLZ/2ixjPUARAr4+AJ0RJOmQ7mUMWSfo9yeZnSYKOM31QQCePvaC
0NnFtKTOQ1w0Rk7n1M/CInQ=
=zvyt
-----END PGP SIGNATURE-----

_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to