[Serdev] An error in serweb.

Bogdan-Andrei IANCU iancu at fokus.fraunhofer.de
Tue Jul 6 10:03:19 UTC 2004


Hi,

couple of hints:
    - try to enable logging in serweb - in config.php is log_file
    - try to print the query (insert a print $q;) ans see if 
tables/columns name are matching.

bogdan

Dave wrote:

>Hello list,
>
>I have an error in serweb and I could use some help for fixing it.
>
>There's a PHP syntax error in serweb (user_interface) when trying to click
>on the
>"missed calls" or "accounting" tabs.
>
>The error is as shown:
>
>DB Error: syntax error, file:
>/var/www/iptel/html/data_layer/missed_calls.php:63
>DB Error: syntax error, file:
>/var/www/iptel/html/data_layer/accounting.php:50
>
>The installation is with ser+serweb+mysql (all compiled from CVS source
>today. Version of ser 0.8.13-dev-31).
>The tables were created with the shell script privided with the CVS version
>of ser.
>The versions of php4 is 4.3.3
>
>I looked in the php files
>
>In both files_calls, the offending line is:
>
>                        $res=$this->db->query($q);
>
>I'm at a loss why this error would occur. It seems that the query
>constructed above that line is the culprit.
>
>any hints or anything I can do to diagnose the problem better?
>
>Dave.
>
>_______________________________________________
>Serdev mailing list
>serdev at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serdev
>
>  
>




More information about the Serdev mailing list