- Spelling checked
[sip-router] / doc / serfaq / serweb_faq.sgml
1 <!-- $Id$ -->
2
3 <chapter>
4     <title>SERWEB</title>
5     <qandaset>
6         <qandaentry>
7             <question>
8                 <simpara>
9                     Is there <quote>send IM</quote> page for sending instant messages only or does
10                     it accept replies as well (i.e. does it act like a full &ua;) ?
11                 </simpara>
12             </question>
13             <answer>
14                 <simpara>
15                     It can send messages only.
16                 </simpara>
17             </answer>
18         </qandaentry>
19         
20         <qandaentry>
21             <question>
22                 <simpara>
23                     I have serweb running. I'm able to connect to <acronym>MySQL</acronym> fine. But
24                     it doesn't seem like the form params are getting assigned to variables. Is there
25                     something obvious I'm missing?
26                 </simpara>
27             </question>
28             <answer>
29                 <simpara>
30                     Please check if <varname>register_globals</varname> is set to On in your
31                     <filename>php.ini</filename> file. The option is set off by default due to
32                     security reasons.
33                 </simpara>
34             </answer>
35         </qandaentry>
36         
37         <qandaentry>
38             <question>
39                 <simpara>
40                     Can somebody tell me how to configure the serweb? Which directory should I put
41                     those files and which file and parameters should I modify. Or maybe this
42                     question was asked previously by somebody already, then please provide me a like
43                     to those answers.
44                 </simpara>
45         </question>
46             <answer>
47                 <simpara>
48                     Dan Austin's HOWTO (see &ser; webpage) is probably the currently most extensive
49                     documentation available.
50                 </simpara>
51             </answer>
52         </qandaentry>
53         
54         <qandaentry>
55             <question>
56                 <simpara>
57                     Trying to load the serweb page I get the following error message: Fatal error:
58                     Call to undefined function: mysql_pconnect() in
59                     /var/www/html/phplib/db_mysql.inc on line 73
60                 </simpara>
61             </question>
62             <answer>
63                 <simpara>
64                     Configure <acronym>PHP</acronym> to load the MySQL extension.
65                 </simpara>
66             </answer>
67         </qandaentry>
68         
69         <qandaentry>
70             <question>
71                 <simpara>
72                     I can open the page and even make changes and save them, but I'm receiving the
73                     following warning message: Warning: fopen(<quote>/tmp/ser_fifo</quote>,
74                     <quote>w</quote>) ? Permission denied in /var/www/html/serweb/functions.php on
75                     line 172 Sorry - cannot open fifo.
76                 </simpara>
77             </question>
78             <answer>
79                 <simpara>
80                     Make sure that the user under which the web server is running has read and write
81                     access to the <acronym>FIFO</acronym>.
82                 </simpara>
83             </answer>
84         </qandaentry>
85     
86         <qandaentry>
87             <question>
88                 <simpara>
89                     Is there a way to add/edit/view aliases from serweb?
90                 </simpara>
91             </question>
92             <answer>
93                 <simpara>
94                     When new user confirm registration, new numeric alias is created. There is no
95                     another way to add or edit aliases from serweb.
96                 </simpara>
97             </answer>
98         </qandaentry>
99         
100         <qandaentry>
101             <question>
102                 <simpara>
103                     I am getting a <quote>Forbidden</quote> reply from the Apache. The Apache is
104                     pointing to the index.php for the serweb. I've only changed the &ip; address of
105                     the local host to 127.0.0.1 in the config.php. Does anyone have any suggestions
106                     ?
107                 </simpara>
108             </question>
109             <answer>
110                 <simpara>
111                     Check if the file/folder has read permission for everybody.
112                 </simpara>
113             </answer>
114         </qandaentry>
115
116         <qandaentry>
117             <question>
118                 <simpara>
119                     I get following warnings and error on NetBSD when I call
120                     user_interface/index.php:
121                     </simpara>
122                 <simpara>
123                     [Wed Jul 16 09:56:53 2003] [error] PHP Warning: Call-time pass-by-reference has
124                     been deprecated - argument passed by value; If you would like to pass it by
125                     reference, modify the declaration of [runtime function name]().  If you would
126                     like to enable call-time pass-by-reference, you can set
127                     allow_call_time_pass_reference to true in your INI file.  However, future
128                     versions may not support this any longer.  in
129                     /usr/pkg/share/httpd/htdocs/iptel/phplib/user.inc on line 72 [Wed Jul 16
130                     09:56:53 2003] [error] PHP Fatal error: Call to undefined function:
131                     mysql_pconnect() in /usr/pkg/share/httpd/htdocs/iptel/phplib/db_mysql.inc on
132                     line 73
133                 </simpara>
134             </question>
135             <answer>
136                 <simpara>
137                     Simply do what the text says: enable allow_call_time_pass_reference in
138                     <filename>/usr/pkg/etc/php.ini</filename> and install <acronym>PHP</acronym>
139                     MySQL support.
140                 </simpara>
141             </answer>
142         </qandaentry>
143         
144         <qandaentry>
145             <question>
146                 <simpara>
147                     I started the webserver and got the following message: Starting up of httpd:
148                     [Thu Aug 14 15:16:51 2003] alert ] httpd: Could not determine the of server
149                     fully qualified domain name, using 127.0.0.1 for ServerName 
150                 </simpara>
151                 <simpara>
152                     Does anyone know where is the problem ?
153                 </simpara>
154             </question>
155             <answer>
156                 <simpara>
157                     Set ServerName variable in the configuration file of your webserver to hostname
158                     of your computer.
159                 </simpara>
160             </answer>
161         </qandaentry>
162         <qandaentry>
163             <question>
164                 <simpara>
165                     What version of ser should I use with serweb from the CVS ?
166                 </simpara>
167             </question>
168             <answer>
169                 <simpara>
170                     CVS version of serweb is aligned to the stable branch of ser. It will not work
171                     with ser 0.8.10 because the database tables have been changed recently.
172                 </simpara>
173             </answer>
174         </qandaentry>
175
176     </qandaset>
177 </chapter>
178
179
180 <!-- Keep this element at the end of the file
181 Local Variables:
182 sgml-parent-document: ("serfaq.sgml" "Book" "chapter")
183 End:
184 -->