[OpenSIPS-Users] Fwd: Opensips CP: File does not exist: /var/www/opensips-cp/web/<,

mimicafe at gmail.com mimicafe at gmail.com
Sat Aug 31 15:15:25 CEST 2013


This can be ignored. I found the offender in the php.ini file. short_open_tag
= On  and then further in the same file it's set to Off. I have now removed
the second directive and it's now fine.

Mimi

---------- Forwarded message ----------
From: mimicafe at gmail.com <mimicafe at gmail.com>
Date: 30 August 2013 22:58
Subject: Opensips CP: File does not exist: /var/www/opensips-cp/web/<,
To: users at lists.opensips.org


I just installed opensips-cp. When I try to login, it accepts mypasword,
but then I receive an error in the browser: "Not found,  The requested URL
/cp/< was not found on this server."

Apache log:

[Fri Aug 30 22:20:08 2013] [error] [client 192.168.18.97] File does not
exist: /var/www/opensips-cp/web/<, referer:
http://192.168.18.103/cp/main.php

My box:

CentOS release 6.3
Apache DocumentRoot: "/var/www/html"
Opensips-cp dir:  /var/www/opensips-cp/
 Alias /cp "/var/www/opensips-cp/web"

In an attempt to resolve this issue, I have removed the /cp alias,
changed Apache
DocumentRoot from  "/var/www/html" to "/var/www", chown directory ownership
for /var/www from root to apache.

I also see the following in apache log

[Fri Aug 30 22:55:39 2013] [error] [client 192.168.18.97] PHP Warning:
date(): It is not safe to rely on the system's timezone settings. You are
*required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods
and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead
in /var/www/opensips-cp/web/login.php on line 107, referer:
http://192.168.18.103/cp/
[Fri Aug 30 22:55:39 2013] [error] [client 192.168.18.97] PHP Warning:
date(): It is not safe to rely on the system's timezone settings. You are
*required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods
and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected 'Europe/London' for 'BST/1.0/DST' instead
in /var/www/opensips-cp/web/login.php on line 107, referer:
http://192.168.18.103/cp/
[Fri Aug 30 22:55:39 2013] [error] [client 192.168.18.97] PHP Notice:
Undefined variable: i in /var/www/opensips-cp/web/main.php on line 34,
referer: http://192.168.18.103/cp/


Thanks for any help.

Mimi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130831/d2949829/attachment.htm>


More information about the Users mailing list