Page 1 of 1
can't get zm working
Posted: Mon Jun 28, 2004 6:19 am
by JoeyF
Hi, it's me again.
Why am I not able to get zm working?
I'm shure it's my fault but ... let's start from the beginning:
I configured and installed zm without any error message.
When I call "localhost/zm" in my browser I get following result:
"Fatal error: Call to undefined function: session_start() in /srv/www/htdocs/zm/zm_html.php on line 34"
Has anyone an idea what I made wrong?
Thanks for your help
Josef
Posted: Mon Jun 28, 2004 10:06 am
by zoneminder
Hi,
What version of php do you have? The session_start function should be present in all versions from 4 onwards.
Phil,
Posted: Mon Jun 28, 2004 12:02 pm
by JoeyF
Hi Phil,
I have
Apache 2.0.49
PHP 4.3.4
MySQL 4.0.18
ZM 1.19.4
installed.
Do you need any further info?
Josef
Posted: Mon Jun 28, 2004 9:02 pm
by pchan
Is Apache setup to respond to PHP files?
Posted: Mon Jun 28, 2004 10:36 pm
by JoeyF
Hi pchan,
I can select other php sites without any problem.
I can select PHPMyAdmin.
How can I check if Apache setup to respond to PHP files?
I haven't worked with apache or mysql before.
Josef
Posted: Mon Jun 28, 2004 10:41 pm
by zoneminder
Can you create a small file, called say debug.php and just put the following lines in it
<?php
phpinfo();
?>
then put the file into the ZM web directory and access it. Perhaps you could initially have a look and make sure nothing odd appears and then maybe post what you see, if it's not too big and doesn't have anythign sensitive in it.
Phil,
Posted: Mon Jun 28, 2004 10:50 pm
by JoeyF
Hi Phil,
I'm at work now, but as soon as I'm on my computer I will do as you told me.
Josef
Posted: Tue Jun 29, 2004 12:16 pm
by JoeyF
Hi Phil,
I wasn't even able to get debug.php to work. I only received the source code. After reinstallation of php and rebooting it finally worked. Now I can get zm working. At the moment I still have a problem with
Jun 29 13:54:01 josef zmu[8563]: ERR [Can't shmget: Invalid argument]
Jun 29 13:54:04 josef zmc-d0[8567]: INF [Debug Level = 0, Debug Log = ]
Jun 29 13:54:04 josef zmc-d0[8567]: ERR [Can't shmget: Invalid argument]
Jun 29 13:54:05 josef zma-m1[8569]: INF [Debug Level = 0, Debug Log = ]
Jun 29 13:54:06 josef zma-m1[8569]: ERR [Can't shmget: Invalid argument]
Jun 29 13:54:12 josef zmu[8571]: ERR [Can't shmget: Invalid argument]
but I hope I can figure it out. As you mentioned in the Troubleshooting section it should be a shared memory problem.
Thank's for your help
Josef