<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
First thing on the list : selinux - lower a bit the security.<br>
Second thing: in your php.ini file (probably you'll find it
somewhere in /etc/php ... ) you have to enable <span class="st"><b>short_open_tags</b></span>
<br>
<br>
That's it for now. Try these things and come back if CP still
doesn't work.<br>
<br>
Regards,<br>
Alex<br>
<br>
<br>
On 12/01/2012 04:17 PM, Mimi Cafe wrote:<br>
</div>
<blockquote cite="mid:50BA115F.2010509@gmail.com" type="cite">I
configured opensips control panel on centos, and when I login, the
<br>
page does not load completely. In Apache log, I can see that it
throws
<br>
out loads of php related error.
<br>
<br>
Any ideas?
<br>
<br>
<br>
[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined variable: resultset1 in
<br>
/var/www/html/opensips-cp/web/login.php on line 80, referer:
<br>
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/">http://192.168.18.88/opensips-cp/web/</a>
<br>
[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined variable: resultset1 in
<br>
/var/www/html/opensips-cp/web/login.php on line 86, referer:
<br>
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/">http://192.168.18.88/opensips-cp/web/</a>
<br>
[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] PHP
Warning:
<br>
date(): It is not safe to rely on the system's timezone settings.
You
<br>
are *required* to use the date.timezone setting or the
<br>
date_default_timezone_set() function. In case you used any of
those
<br>
methods and you are still getting this warning, you most likely
<br>
misspelled the timezone identifier. We selected 'UTC' for
'GMT/0.0/no
<br>
DST' instead in /var/www/html/opensips-cp/web/login.php on line
107,
<br>
referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/">http://192.168.18.88/opensips-cp/web/</a>
<br>
[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] PHP
Warning:
<br>
date(): It is not safe to rely on the system's timezone settings.
You
<br>
are *required* to use the date.timezone setting or the
<br>
date_default_timezone_set() function. In case you used any of
those
<br>
methods and you are still getting this warning, you most likely
<br>
misspelled the timezone identifier. We selected 'UTC' for
'GMT/0.0/no
<br>
DST' instead in /var/www/html/opensips-cp/web/login.php on line
107,
<br>
referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/">http://192.168.18.88/opensips-cp/web/</a>
<br>
[Wed Nov 28 20:56:15 2012] [error] [client 192.168.18.94] File
does not
<br>
exist: /var/www/html/opensips-cp/web/<, referer:
<br>
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/main.php">http://192.168.18.88/opensips-cp/web/main.php</a>
<br>
[Wed Nov 28 21:08:49 2012] [notice] caught SIGTERM, shutting down
<br>
[Wed Nov 28 21:08:49 2012] [notice] SELinux policy enabled; httpd
<br>
running as context unconfined_u:system_r:httpd_t:s0
<br>
[Wed Nov 28 21:08:49 2012] [notice] suEXEC mechanism enabled
(wrapper:
<br>
/usr/sbin/suexec)
<br>
[Wed Nov 28 21:08:49 2012] [notice] Digest: generating secret for
digest
<br>
authentication ...
<br>
[Wed Nov 28 21:08:49 2012] [notice] Digest: done
<br>
[Wed Nov 28 21:08:50 2012] [notice] Apache/2.2.15 (Unix) DAV/2
<br>
mod_nss/2.2.15 NSS/3.13.1.0 Basic ECC PHP/5.3.3 mod_ssl/2.2.15
<br>
OpenSSL/1.0.0-fips SVN/1.6.11 mod_perl/2.0.4 Perl/v5.10.1
configured --
<br>
resuming normal operations
<br>
[Wed Nov 28 21:09:01 2012] [error] [client 192.168.18.94] File
does not
<br>
exist: /var/www/html/opensips-cp/web/<, referer:
<br>
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/main.php">http://192.168.18.88/opensips-cp/web/main.php</a>
<br>
[Wed Nov 28 21:09:09 2012] [error] [client 192.168.18.94] PHP
Parse
<br>
error: syntax error, unexpected '}' in
<br>
/var/www/html/opensips-cp/web/tools/admin/list_admins/template/list_admins.main.php
<br>
on line 152, referer:
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined index: acl_username in
<br>
/var/www/html/opensips-cp/web/tools/users/acl_management/template/acl_management.main.php
<br>
on line 28, referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined index: acl_domain in
<br>
/var/www/html/opensips-cp/web/tools/users/acl_management/template/acl_management.main.php
<br>
on line 29, referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined index: acl_grp in
<br>
/var/www/html/opensips-cp/web/tools/users/acl_management/template/acl_management.main.php
<br>
on line 30, referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined variable: options in
<br>
/var/www/html/opensips-cp/web/tools/users/acl_management/lib/functions.inc.php
<br>
on line 95, referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined variable: errors in
<br>
/var/www/html/opensips-cp/web/tools/users/acl_management/acl_management.php
<br>
on line 302, referer:
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:14 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined variable: errors in
<br>
/var/www/html/opensips-cp/web/tools/users/acl_management/acl_management.php
<br>
on line 302, referer:
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined index: username in
<br>
/var/www/html/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php
<br>
on line 28, referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined index: alias_username in
<br>
/var/www/html/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php
<br>
on line 29, referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined index: alias_domain in
<br>
/var/www/html/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php
<br>
on line 30, referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined index: alias_type in
<br>
/var/www/html/opensips-cp/web/tools/users/alias_management/template/alias_management.main.php
<br>
on line 31, referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP
Warning:
<br>
array_unshift() expects parameter 1 to be array, null given in
<br>
/var/www/html/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php
<br>
on line 91, referer: <a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined variable: temp in
<br>
/var/www/html/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php
<br>
on line 142, referer:
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined variable: temp in
<br>
/var/www/html/opensips-cp/web/tools/users/alias_management/lib/functions.inc.php
<br>
on line 142, referer:
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined variable: errors in
<br>
/var/www/html/opensips-cp/web/tools/users/alias_management/alias_management.php
<br>
on line 305, referer:
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
[Wed Nov 28 21:09:22 2012] [error] [client 192.168.18.94] PHP
Notice:
<br>
Undefined variable: errors in
<br>
/var/www/html/opensips-cp/web/tools/users/alias_management/alias_management.php
<br>
on line 305, referer:
<a class="moz-txt-link-freetext" href="http://192.168.18.88/opensips-cp/web/menu.php">http://192.168.18.88/opensips-cp/web/menu.php</a>
<br>
<br>
<br>
Regards
<br>
<br>
Mim
<br>
<br>
<br>
_______________________________________________
<br>
Users mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
<br>
</blockquote>
<br>
</body>
</html>