<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
  <title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hello:<br>
<br>
I'm trying to test SER SIP server. Up to now I installed SER and MySQL.
Now I'm trying to install SERweb and I found a couple of&nbsp; troubles.<br>
<br>
I installed serweb_2004-01-04 version. The first question was that in
all the files in html directory the requires had "prepend.php" while in
phplib directory it was "prepend.php3". That was easily solved by
moving or linking prepend.php3 to prepend.php.<br>
Then I found the next trouble. Asking for the web
user_interface/index.php or admin.index.php I got "<b>Fatal error</b>:
Call to undefined function: put_headers() in <b>/var/www/html/iptel/html/user_interface/index.php</b>
on line <b>9"<br>
</b><br>
I think that that function should be defined because before in
index.php it has a require: <br>
require "../../../../phplib/prepend.php";<br>
and prepend.php also has a require including session.inc where the
function is defined.<br>
<br>
Blindly I tried to change index.php a bit:<br>
Instead of having:<br>
---------------------------------------------------<br>
require "../../../../phplib/prepend.php";<br>
require "../../../../phplib/oohforms.inc";<br>
<br>
put_headers();<br>
<br>
page_open (array("sess" =&gt; "phplib_Session"));<br>
---------------------------------------------------<br>
I wrote:<br>
---------------------------------------------------<br>
require "../../../../phplib/prepend.php";<br>
require "../../../../phplib/oohforms.inc";<br>
<br>
put_headers();<br>
<br>
page_open (array("sess" =&gt; "phplib_Session"));<br>
---------------------------------------------------<br>
<br>
But it also failed with the message: <br>
<b>Database error:</b> cannot use database <br>
<b>MySQL Error</b>: 1046 (No Database Selected)<br>
Session halted.<br>
<br>
<br>
Whan am I doing wrong? Should I send any other information to help
discover the mistake?<br>
<br>
Thanks in advance,<br>
Ruth.<br>
</body>
</html>