500 Internal Server Error

Forum for questions and support relating to the 1.25.x releases only.
Locked
mario99
Posts: 5
Joined: Wed Oct 10, 2012 10:24 am

500 Internal Server Error

Post by mario99 »

Hello, I did the installation of zm and entirely correct. zm is operating as you can see:

Stopping ZoneMinder: [OK]
Starting ZoneMinder: [OK]


but upon entering the page I have an error xxx.xxxxx.xxx/zm/ 500 internal server error, set short_open_tag = On but remains the same, could explain what I can do?

thanks
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: 500 Internal Server Error

Post by bb99 »

Edit the SECOND entry of short_open_tag (down at line 229?) in /etc/php.ini

Change short_open_tag from 'off' to 'on'
mario99
Posts: 5
Joined: Wed Oct 10, 2012 10:24 am

Re: 500 Internal Server Error

Post by mario99 »

bb99 wrote:Edit the SECOND entry of short_open_tag (down at line 229?) in /etc/php.ini

Change short_open_tag from 'off' to 'on'
Now I get this error:




Warning: mysql_pconnect() [function.mysql-pconnect]: Headers and client library minor version mismatch. Headers:50095 Library:50156 in /home/camgraph/public_html/zm/includes/database.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/camgraph/public_html/zm/includes/database.php:32) in /home/camgraph/public_html/zm/includes/functions.php on line 89
Warning: Cannot modify header information - headers already sent by (output started at /home/camgraph/public_html/zm/includes/database.php:32) in /home/camgraph/public_html/zm/includes/functions.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /home/camgraph/public_html/zm/includes/database.php:32) in /home/camgraph/public_html/zm/includes/functions.php on line 91
Warning: Cannot modify header information - headers already sent by (output started at /home/camgraph/public_html/zm/includes/database.php:32) in /home/camgraph/public_html/zm/includes/functions.php on line 92
Warning: Cannot modify header information - headers already sent by (output started at /home/camgraph/public_html/zm/includes/database.php:32) in /home/camgraph/public_html/zm/includes/functions.php on line 93
mario99
Posts: 5
Joined: Wed Oct 10, 2012 10:24 am

Re: 500 Internal Server Error

Post by mario99 »

Is there anyone who can tell me I'm doing wrong? I explain that I put the commands:
Someone can correct me what I'm doing wrong?
I'm trying to connect on a subdomain with user camgraph

Code: Select all

tar xzvf ZoneMinder-1.25.0.tar.gz

cd ZoneMinder-1.25.0

CXXFLAGS=-D__STDC_CONSTANT_MACROS ./configure --with-webdir=/home/camgraph/public_html/zm  --with-cgidir=/home/camgraph/public_html/cgi-bin --with-webuser=camgraph \ --with-webgroup=camgraph ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=camgraph ZM_DB_PASS=mfv1244 ZM_SSL_LIB=openssl \ --with-extralibs="-L/usr/lib64 -L/usr/lib64/mysql -L/usr/local/lib" --with-libarch=lib64 --with-ffmpeg --enable-mmap=no

make

make install

/usr/bin/mysqladmin -u root password 'mfv1244'

mysql -u root -p
create database zm;
CREATE USER 'camgraph'@'localhost' IDENTIFIED BY 'mfv1244';
grant CREATE, INSERT, SELECT, DELETE, UPDATE on zm.* to camgraph@localhost;
FLUSH PRIVILEGES;
exit

mysql -u root -p zm < ./db/zm_create.sql

cp ./scripts/zm /etc/init.d/

chmod 755 /etc/init.d/zm

cd /home/camgraph/public_html/zm/

chown camgraph:camgraph /home/camgraph/public_html/zm/cambozola.jar

chkconfig zm on

chkconfig mysqld on

chkconfig httpd on

service httpd start

service zm start
Locked