Forums / Install & configuration / Webdav config with postgresql : fatal error in ezmysqldb.php

Webdav config with postgresql : fatal error in ezmysqldb.php

Author Message

Olivier TURPIN

Wednesday 23 May 2007 2:59:57 pm

Hello,

I have a functionnal ezp installation using a postgresql database.
I tried to configure a webdav access to this install but no success.

I declared a knew HTTP service (see below) and activated webdav in ini files.
When I try to access the service via davfs2 , I get the following error : "Could not connect to `equidome.dyndns.org' on port 81:
Could not connect to server: Connection refused""

When I try to access webdav interface with firefox, I get the error : "Fatal error: Call to undefined function: mysql_escape_string() in home/equiman/equiMan/lib/ezdb/classes/ezmysqldb.php on line 816"

It seems ezp is looking for a mysql DB. I have a postgresql DB installed for it.

Does anyone know if it is a bug or a webdav configuration problem ?

Thx

------------------------------------------------------
<VirtualHost *:81>
DocumentRoot <ezp directory>
ServerName <service URL>
UseCanonicalName off
DirectoryIndex webdav.php

<Directory "/home/equiman/equiMan">
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
Order allow,deny
allow from all
</Directory>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule .* /webdav.php
</IfModule>

</VirtualHost>