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
can't get zm working
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
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,
<?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,
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
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