do get a Blank Page / Problem
-
- Posts: 14
- Joined: Sun Jun 28, 2009 9:01 pm
do get a Blank Page / Problem
Hi there, im running Archlinux and build the last SVN Version.
http://aur.archlinux.org/packages.php?ID=24035
and the 1.24.1 from PKG
http://aur.archlinux.org/packages.php?ID=15847
Its all doing fine, compiling, installing, and so on,
but when i try to access the http://localhost/zm i do
only get a Blank Page.
Apache2 Errorlog says HTTP 1.1 500
adding /var/lib/zm/www to open_basedir didnt solved my
Blank Page problem.
Im a running a test wordpress blog, so im sure, that php and mysql
do work fine.
Database is created, and the zmuser with zmpass gets over phpmyadmin
all rights on the database.
I dont see what i missed, maybe a little dependecies.
Im happy for help and will give you every information u need, to help me.
Thanks and greetz
spY
http://aur.archlinux.org/packages.php?ID=24035
and the 1.24.1 from PKG
http://aur.archlinux.org/packages.php?ID=15847
Its all doing fine, compiling, installing, and so on,
but when i try to access the http://localhost/zm i do
only get a Blank Page.
Apache2 Errorlog says HTTP 1.1 500
adding /var/lib/zm/www to open_basedir didnt solved my
Blank Page problem.
Im a running a test wordpress blog, so im sure, that php and mysql
do work fine.
Database is created, and the zmuser with zmpass gets over phpmyadmin
all rights on the database.
I dont see what i missed, maybe a little dependecies.
Im happy for help and will give you every information u need, to help me.
Thanks and greetz
spY
-
- Posts: 14
- Joined: Sun Jun 28, 2009 9:01 pm
-
- Posts: 14
- Joined: Sun Jun 28, 2009 9:01 pm
thx for the welcome and your help
First of all clean Archlinux Install, clean httpd.conf and php.ini
ive done all of the suggested changes
Done that now on 3 arch systems, cant get zoneminder running on
every one of them.
And one more time, thanks
First of all clean Archlinux Install, clean httpd.conf and php.ini
ive done all of the suggested changes
cat <<EOF> To initialize the ZoneMinder database run (as root)
==> /usr/lib/zm/bin/zminit
cat <<EOF> Check /etc/php/php.ini and make sure these are uncommented
==> extension=gd.so
==> extension=gettext.so
==> extension=mcrypt.so
==> extension=mysql.so
==> extension=mysqli.so
==> extension=session.so
==> extension=sockets.so
cat /etc/php/php.ini |grep "^open_basedir.*/etc/" | \
grep "/var/lib/zm/www">/dev/null || cat <<EOF> You must edit /etc/php/php.ini and add to open_basedir "/etc/" and
==> "/var/lib/zm/" like so
==> open_basedir = /home/:/tmp/:/usr/share/pear/:/etc/:/var/lib/zm/
==> Otherwise ZoneMinder will be unable to read /etc/zm.conf
==> or display its own web directory
cat <<EOF> You must edit /etc/httpd/conf/httpd.conf and uncomment/add the line
==> LoadModule php5_module modules/libphp5.so
==> You must also add these lines:
==> Include conf/extra/php5_module.conf
==> Include /etc/httpd/conf/extra/httpd-zm.conf
EOF
EOF
cat /etc/php/php.ini |grep "^short_open_tag = On" >/dev/null || cat <<EOF> You must edit /etc/php/php.ini and set short_open_tag = On
==> or ZoneMinder will not work
Done that now on 3 arch systems, cant get zoneminder running on
every one of them.
apache errorlog
[Mon Jun 29 00:02:01 2009] [notice] Digest: generating secret for digest authentication ...
[Mon Jun 29 00:02:01 2009] [notice] Digest: done
[Mon Jun 29 00:02:02 2009] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 configured -- resuming normal operations
apache accesslog
127.0.0.1 - - [29/Jun/2009:23:25:37 +0200] "GET /zm/ HTTP/1.1" 500 -
127.0.0.1 - - [29/Jun/2009:23:25:37 +0200] "GET /favicon.ico HTTP/1.1" 404 1174
So thats all i know, maybe i need to provide you with more information, but zm dont give me anything important./etc/rc.d/zm restart
:: Stopping ZoneMinder [DONE]
:: Starting ZoneMinder [DONE]
And one more time, thanks
The zm init script in /etc/rc.d didn't return a [FAIL] so it looks like the backend is working alright. The problem is in the web frontend. Try using http://localhost/zm/index.php and see what the gives you.
-
- Posts: 14
- Joined: Sun Jun 28, 2009 9:01 pm
-
- Posts: 14
- Joined: Sun Jun 28, 2009 9:01 pm
Hi there,
i have changed that value on line 131, but nothing happend before.
as i said i dont know why, had to copy & paste, and move it to the end
of the php.ini.
Its running now, thanks anyway for your help.
Im not so much of an php programmer, but would it be nice
to get a "Checklist" for the first time running zoneminder.
Which check the system and could be displayed instead of the usually index.php informing the user whats missing?
Greatz
i have changed that value on line 131, but nothing happend before.
as i said i dont know why, had to copy & paste, and move it to the end
of the php.ini.
Its running now, thanks anyway for your help.
Im not so much of an php programmer, but would it be nice
to get a "Checklist" for the first time running zoneminder.
Which check the system and could be displayed instead of the usually index.php informing the user whats missing?
Greatz
-
- Posts: 14
- Joined: Sun Jun 28, 2009 9:01 pm
Im sorry but i didnt understand quiet a word.
I interpreted it, like a miss understanding, i meant, it would
be nice for ZM himself to have a Installpage like for a simple
CMS for example, you dont need to use the terminal for
running zminit, its web based. Installing the Mysql Database etc.
So i thougt it would be possible to check the system for the "needed" php and apache2 settings.
I interpreted it, like a miss understanding, i meant, it would
be nice for ZM himself to have a Installpage like for a simple
CMS for example, you dont need to use the terminal for
running zminit, its web based. Installing the Mysql Database etc.
So i thougt it would be possible to check the system for the "needed" php and apache2 settings.
Yeah that was kinda of a dumb responsive on my part.
What I meant was arch linux is designed to be simple in the sense that there is little gui and you configure everything yourself. It for more for advanced user that knowes that kinda stuff already.
Thats why it runs fast on old and new stuff it dosent waste cpu cycle with extra User Friendly interfaces.
Saying that I used as a beginer and it taught me lots of stuff as did gentoo.
What I meant was arch linux is designed to be simple in the sense that there is little gui and you configure everything yourself. It for more for advanced user that knowes that kinda stuff already.
Thats why it runs fast on old and new stuff it dosent waste cpu cycle with extra User Friendly interfaces.
Saying that I used as a beginer and it taught me lots of stuff as did gentoo.
That a nice idea but would still be full of issues as ZoneMinder is more than just a web page so you would have to then match all the settings from the binaries and scripts to the setup of the web pages. Farther this still wold have not solved your issue with a incorrect setting in php.spychodelics wrote:Im sorry but i didnt understand quiet a word.
I interpreted it, like a miss understanding, i meant, it would
be nice for ZM himself to have a Installpage like for a simple
CMS for example, you dont need to use the terminal for
running zminit, its web based. Installing the Mysql Database etc.
So i thougt it would be possible to check the system for the "needed" php and apache2 settings.
Setting up your own Distro, it is expected that you properly configure all the services correctly as the defaults are usually not ideal.
Ross puts out a great LiveCD for ZM based on arch with everything optomized that you might want to look at next time.