Cannot connect first time
Posted: Thu May 12, 2005 1:14 am
My problem is that after running make and make install, I get the following error when trying to connect the localhost browser to the web interface.
Fatal error: Call to undefined function: session_start() in /srv/www/htdocs/zm.php on line 149
My installation is a SUSE 9.2 distro, with the ZM dependencies resolved. It is running Apache2. My installation is as follows, as advised in an article by Joe Barr:
./configure --with-mysql=/usr/bin --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webuser=wwwrun --with-webgroup=www
perl zmconfig.pl
I set up the users and passwords, and confirmed the tables exist in the zm database, by re-running zmschema a second time.
\. db/zmschema.sql
...
grant all on zm.* to wwwrun@localhost identified by password;
grant select on zm.* to www@localhost identified by password;
quit;
Then I exited su mode and reran the ZoneMinder config script to add the database information to the configuration that wasn't available earlier. I ran zmconfig.pl a second time, this time adding an argument of -noi to the command line. To finish the build process, I ran make and make install.
I can see and edit the zm.php file, but cannot figure out how to get to the next step of configuration via the HTTP access. Any help would be appreciated.
Fatal error: Call to undefined function: session_start() in /srv/www/htdocs/zm.php on line 149
My installation is a SUSE 9.2 distro, with the ZM dependencies resolved. It is running Apache2. My installation is as follows, as advised in an article by Joe Barr:
./configure --with-mysql=/usr/bin --with-webdir=/srv/www/htdocs --with-cgidir=/srv/www/cgi-bin --with-webuser=wwwrun --with-webgroup=www
perl zmconfig.pl
I set up the users and passwords, and confirmed the tables exist in the zm database, by re-running zmschema a second time.
\. db/zmschema.sql
...
grant all on zm.* to wwwrun@localhost identified by password;
grant select on zm.* to www@localhost identified by password;
quit;
Then I exited su mode and reran the ZoneMinder config script to add the database information to the configuration that wasn't available earlier. I ran zmconfig.pl a second time, this time adding an argument of -noi to the command line. To finish the build process, I ran make and make install.
I can see and edit the zm.php file, but cannot figure out how to get to the next step of configuration via the HTTP access. Any help would be appreciated.