setcookie() expects parameter 3 to be long

The release 1.6 is going to be unsupported by Community. Because our effort moves ahead. However there are still valuable informations for you.
Locked
JeroenDockx
TestLink user
Posts: 6
Joined: Wed Jan 11, 2006 2:13 pm

setcookie() expects parameter 3 to be long

Post by JeroenDockx »

When a user in testlink changes to another product, often a pop-up is displayed on the server, saying:
\"Apache.exe has generated errors and will be closed by Windows. You will need to restart the program. An error log is being created.\"
For the user, Testlink stops responding for several seconds to half a minute.

In the errorlog you can see this:

[Mon Jun 19 11:33:32 2006] [error] [client 10.192.30.1] PHP Warning: setcookie() expects parameter 3 to be long, string given in C:\\\\Program Files\\\\Apache Group\\\\Apache2\\\\htdocs\\\\testlink\\\\lib\\\\general\\\\navBar.php on line 43, referer: http://w219030.post.bpgnet.net/testlink ... product=14
[Mon Jun 19 11:33:35 2006] [notice] Parent: child process exited with status 3221225477 -- Restarting.
[Mon Jun 19 11:33:35 2006] [notice] Apache/2.0.55 (Win32) PHP/5.1.1 configured -- resuming normal operations
[Mon Jun 19 11:33:35 2006] [notice] Server built: Oct 9 2005 19:16:56
[Mon Jun 19 11:33:35 2006] [notice] Parent: Created child process 2848
[Mon Jun 19 11:33:35 2006] [notice] Child 2848: Child process is running
[Mon Jun 19 11:33:35 2006] [notice] Child 2848: Acquired the start mutex.
[Mon Jun 19 11:33:35 2006] [notice] Child 2848: Starting 250 worker threads.

Does anybody know how I can solve this problem?
havlatm
Member of TestLink Community
Posts: 940
Joined: Mon Oct 31, 2005 1:24 am
Location: Czech

Post by havlatm »

It seems that your version of Apache with you configuration includes some bug or inconsistence. Apache2 allows several types of mode. Try to use diffferent one than worker.
I also think that you have not properly configured the web server because for example 250 threads is really high number.
Locked