Trying to load the serweb page I get the following error message:
 
Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/phplib/db_mysql.inc on line 73
 
I have looked into the database settings and can't find anything wrong with them. are there more then this:
$this->db_host="172.18.3.164";     //database host
$this->db_name="ser";      //database name
$this->db_user="ser";      //database conection user
$this->db_pass="heslo";      //database conection password
 
I have also tried to "Installing SERweb custom file locations" 4.3 in the http://www.fitawi.com/ser-Howto.html but just can't get it to work, please help !
see config file bellow
 
 
I try to load the page :
    http://dhcp164-devel/htdocs/serweb/admin/index.php
after the error masg the browser say:
http://dhcp164-devel/htdocs/serweb/admin/index.php?phplib_Session=4bcada0b4ee921a489b848bd39aa8b28
 
 
Many thank's
/ANNA
 
 
serweb dir include:
    admin  config.php  CVS  functions.php  img  page.php  styles  user_interface
the config.php file is placed in:
    /var/www/html/htdocs/serweb
<?
/*
 * $Id: config.php,v 1.10 2002/09/25 23:26:47 jiri Exp $
 */
 
class Csub_not {
 var $uri, $desc;
 function Csub_not($uri, $desc){
  $this->uri=$uri;
  $this->desc=$desc;
 }
}
 
class Cconfig {
 var $db_host;
 var $db_name;
 var $db_user;
 var $db_pass;
 
 var $table_subscriber;
 var $table_pending;
 var $table_grp;
 var $table_aliases;
 var $table_location;
 var $table_missed_calls;
 var $table_accounting;
 var $table_phonebook;
 var $table_event;
 
 var $show_voicemail_acl;
 
 var $enable_dial_voicemail;
 var $enable_test_firewall;
 
 var $grp_values;
 
 var $realm;
 var $domainname;
 
 var $first_alias_number;
 
 var $new_alias_expires;
 var $new_alias_q;
 var $new_alias_callid;
 var $new_alias_cseq;
 
 var $pre_uid_expires;
 
 var $psignature;
 
 var $web_contact;
 var $fifo_server;
 var $reply_fifo_filename;
 var $reply_fifo_path;
 
 var $ul_table;
 var $ul_priority;
  
 var $im_length;
 var $default_domain;
 
 var $root_path;
 var $img_src_path;
 var $js_src_path;
 var $style_src_path;
 var $zonetab_file;
 
 var $charset;
 
 var $default_width;
 
 var $num_of_showed_items;
 
 var $enable_tabs;
 
 var $sub_not;
 
 var $link_siptutorial;
 var $link_sipproducts;
 var $link_standards;
 var $link_iptelworkshop;
 var $link_glossary;
 
 var $link_abstract;
 var $link_home;
 
 var $mail_header_from;
 
 var $mail_forgot_pass;
 var $forgot_pass_subj;
 var $mail_register;
 var $register_subj;
 
 var $terms_and_conditions;
 
 function Cconfig(){
  $this->db_host="172.18.3.164";     //database host
  $this->db_name="ser";      //database name
  $this->db_user="ser";      //database conection user
  $this->db_pass="heslo";      //database conection password
 
  // names of tables
  $this->table_subscriber="subscriber";
  $this->table_pending="pending";
  $this->table_grp="grp";
  $this->table_aliases="aliases";
  $this->table_location="location";
  $this->table_missed_calls="missed_calls";
  $this->table_accounting="acc";
  $this->table_phonebook="phonebook";
  $this->table_event="event";
 
  $this->show_voicemail_acl=true;    //show "voicemail" in ACL and voicemail checkbox at my account
 
  $this->enable_dial_voicemail=false;
  $this->enable_test_firewall=false;
  
  $this->grp_values[]="voicemail";
  $this->grp_values[]="ld";
  $this->grp_values[]="local";
  $this->grp_values[]="int";
  
 
  $this->realm="e-horizon.se";
  $this->domainname="e-horizon.se";
 
  $this->first_alias_number=18888;
  
  $this->new_alias_expires='2020-01-01 00:00:00';
  $this->new_alias_q=1.00;
  $this->new_alias_callid="";
  $this->new_alias_cseq=1;
  
  $this->pre_uid_expires=3600;    //seconds in which expires "get pass session"
 
  $this->psignature="Web_interface_Karel_Kozlik-0.9";
 
  $this->web_contact="sip:daemon@iptel.org";   //address of pseudo sender
  $this->fifo_server="/tmp/ser_fifo";     //path to fifo server
  $this->reply_fifo_filename="webfifo_".rand();
  $this->reply_fifo_path="d:/temp/".$this->reply_fifo_filename;
  
  $this->ul_table="table";
  $this->ul_priority="1.00";
 
  $this->im_length=1300;        //max length of instant message
  $this->default_domain="e-horizon.se";
  
  $this->root_path="/serweb";
  $this->img_src_path = $this->root_path."img/";
  $this->js_src_path =    $this->root_path."styles/";
  $this->style_src_path = $this->root_path."styles/";
  $this->zonetab_file = "/usr/share/zoneinfo/zone.tab";  //TZ zone descriptions file, usually: /usr/share/zoneinfo/zone.tab
 
  $this->charset="windows-1250";
 
  $this->default_width=564;     //width of usable area
  
  $this->num_of_showed_items=20;    //num of showed items in the list of users
 
  $this->enable_tabs[1]=true;     //enable tab my account
  $this->enable_tabs[2]=true;     //enable tab phonebook
  $this->enable_tabs[3]=true;     //enable tab missed calls
  $this->enable_tabs[4]=true;     //enable tab accounting
  $this->enable_tabs[5]=true;     //enable tab send IM
  $this->enable_tabs[6]=true;     //enable tab notification subscription
 
  //notification subscription
  $this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=temperature;operator=lt;value=0","temperature is too low");
  $this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=wind;operator=gt;value=10","wind is too fast");
  $this->sub_not[]=new Csub_not("sip:weather@iptel.org;type=pressure;operator=lt;value=1000","pressure is too low");
 
  //links in left menu
  $this->link_siptutorial=$this->root_path."sip/index.php";
  $this->link_sipproducts=$this->root_path."products/index.html";
  $this->link_standards=$this->root_path."info/players/index.html";
  $this->link_iptelworkshop="http://www.iptel.org/2002/";
  $this->link_glossary=$this->root_path."info/glossary.html";
 
  //links on top
  $this->link_abstract=$this->root_path."info/abstract.html";
  $this->link_home=$this->root_path."index.html";
  
  $this->mail_header_from="php.kk@kufr.cz";   //header From: in outgoing emails
 
  $this->forgot_pass_subj="your login information";
  $this->mail_forgot_pass="Hi,\n".
     "now you can access to your account at the folowing URL within 1 hour:\n".
     "http:/var/www/html/htdocs/serweb/user_interface/my_account.php?#session#\n\n".
     "we recommend change your password after you login\n".
     "iptel.org\n";
     
  $this->register_subj="Your iptel.org Registration";
  $this->mail_register="Thank you for registering with iptel.org.\n\n".
       "We are reserving the following SIP address for you: #sip_address#\n\n".
       "To finalize your registration please check the following URL within 24 hours:\n".
       "http:/var/www/html/htdocs/serweb/user_interface/reg/confirmation.php?nr=#confirm#\n\n".
       "(If you confirm later you will have to re-register.)\n\n".
       "Windows Messenger users may look at additional configuration hints at\n".
       "http://www.iptel.org/phpBB/viewtopic.php?topic=11&forum=1&0\n";
 

  $this->terms_and_conditions="BY PRESSING THE 'I ACCEPT' BUTTON, YOU (HEREINAFTER THE 'USER') ARE STATING THAT YOU AGREE ".
         "TO ACCEPT AND BE BOUND BY ALL OF THE TERMS AND CONDITIONS OF THIS ".
         "AGREEMENT.  DO NOT PROCEED IF YOU ARE UNABLE TO AGREE TO THE TERMS ".
         "AND CONDITIONS OF THIS AGREEMENT. THESE TERMS AND CONDITIONS OF SERVICE ".
         "FOR USE OF iptel.org SIP SERVER (THE 'AGREEMENT') CONSTITUTE A LEGALLY ".
         "BINDING CONTRACT BETWEEN iptel.org AND THE ENTITY THAT AGREES TO AND ".
         "ACCEPTS THESE TERMS AND CONDITIONS. ACCESS TO iptel.org's SESSION ".
         "INITIATION PROTOCOL SERVER ('SIP SERVER') IS BEING PROVIDED ON AN ".
         "'AS IS' AND 'AS AVAILABLE' BASIS, AND iptel.org MAKES NO REPRESENTATIONS ".
         "OR WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, WITH RESPECT TO ".
         "USER'S ACCESS OF THE SIP SERVER, INCLUDING BUT NOT LIMITED TO WARRANTIES ".
         "OF MERCHANTABILITY, NONINFRINGEMENT, TITLE OR FITNESS FOR A PARTICULAR PURPOSE. ".
         "FURTHER, iptel.org MAKES NO REPRESENTATIONS OR WARRANTIES THAT THE SIP SERVER, ".
         "OR USER'S ACCESS THERETO, WILL BE AVAILABLE AT ANY GIVEN TIME, OR WILL BE FREE ".
         "FROM ERRORS, DEFECTS, OMISSIONS, INACCURACIES, OR FAILURES OR DELAYS IN DELIVERY ".
         "OF DATA. USER ASSUMES, AND iptel.org DISCLAIM, TOTAL RISK, RESPONSIBILITY, AND ".
         "LIABILITY FOR USER'S ACCESS TO AND USE OF THE SIP SERVER.".
         "\n\n".
         "Access to iptel.org SIP Server is being provided on a non-exclusive basis.".
         "User acknowledges and understands that iptel.org SIP site is in a developmental ".
         "stage and that iptel.org makes no guarantees regarding the availability or functionality thereof. ".
         "User may not sublicense its access rights to the SIP Server to any third party. ".
         "\n\n".
         "USER AGREES TO INDEMNIFY, DEFEND AND HOLD iptel.org, ITS AFFILIATES, DIRECTORS, OFFICERS, ".
         "EMPLOYEES, AGENTS AND LICENSORS HARMLESS FROM AND AGAINST ANY AND ALL CLAIMS, ACTIONS, ".
         "EXPENSES, LOSSES, AND LIABILITIES (INCLUDING COURTS COSTS AND REASONABLE ATTORNEYS' FEES), ".
         "ARISING FROM OR RELATING TO THIS AGREEMENT INCLUDING USER'S ACCESS TO AND USE OF THE SIP SERVER. ".
         "TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL iptel.org OR ANY OF ITS ".
         "LICENSORS, BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, EXEMPLARY, OR CONSEQUENTIAL DAMAGES, ".
         "ARISING OUT OF THE ACCESS TO OR USE OF OR INABILITY TO ACCESS OR USE THE SIP SERVER, OR THAT ".
         "RESULT FROM MISTAKES, OMISSIONS, INTERRUPTIONS, DELETIONS OF FILES, ERRORS, DEFECTS, ".
         "DELAYS IN TRANSMISSION OR OPERATION OR ANY FAILURE OF PERFORMANCE, EVEN IF ADVISED ".
         "OF THE POSSIBILITY OF SUCH DAMAGES. ".
         "\n\n".
         "If User commits, in iptel.org's sole determination, a default of these terms and ".
         "conditions, iptel.org may immediately terminate User's access to the SIP Server.  ".
         "Furthermore, iptel.org reserves the right to discontinue offering access to the ".
         "SIP Server at any time. ".
         "\n\n".
         "User may not assign its rights hereunder without the prior written consent of ".
         "iptel.org. User agrees to comply with all laws, regulations and other legal ".
         "requirements that apply to these terms and conditions.  ".
         "\n\n".
         "If any provision of this Agreement is held to be unenforceable for any reason, ".
         "such provision shall be reformed only to the extent necessary to comply with ".
         "applicable laws, and the remainder shall remain in full force and effect. ".
         "\n\n".
         "Any failure of iptel.org to enforce any provision of this Agreement shall ".
         "not constitute a waiver of any rights under such provision or any other ".
         "provision of this Agreement. ".
         "\n\n".
         "USER ACKNOWLEDGES THAT IT HAS READ THIS AGREEMENT, UNDERSTANDS IT, AND AGREES THAT ".
         "IT IS THE COMPLETE AND EXCLUSIVE STATEMENT OF THE ENTIRE AGREEMENT BETWEEN COMPANY ".
         "AND iptel.org WITH RESPECT TO THE SUBJECT MATTER HEREIN, AND SUPERSEDES ALL PRIOR ".
         "AND CONTEMPORANEOUS PROPOSALS, DISCUSSIONS, AGREEMENTS, UNDERSTANDINGS, AND COMMUNICATIONS, ".
         "WHETHER WRITTEN OR ORAL AND MAY BE AMENDED ONLY IN A WRITING EXECUTED BY BOTH USER AND iptel.org. ".
         "\n\n";
 }
}
 
$config=new Cconfig();
?>
__________________________________________________________________
anna rahm
ICQ#: 176699319
Current ICQ status:  
+  More ways to contact me
__________________________________________________________________