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>

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:29:27
Script start
Timing: Jan 31 2025 01:29:27
Module start 'layout'
Timing: Jan 31 2025 01:29:27
Module start 'content'
Timing: Jan 31 2025 01:29:27
Module end 'content'
Timing: Jan 31 2025 01:29:27
Script end

Main resources:

Total runtime0.0242 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 588.6172151.2734
Module start 'layout' 0.00620.0038 739.8906220.7500
Module start 'content' 0.01000.0127 960.6406997.7734
Module end 'content' 0.02280.0014 1,958.414129.9922
Script end 0.0242  1,988.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.3290140.0002
Check MTime0.00114.6453140.0001
Mysql Total
Database connection0.00124.826210.0012
Mysqli_queries0.002510.351530.0008
Looping result0.00010.227110.0001
Template Total0.00104.210.0010
Template load0.00083.266610.0008
Template processing0.00020.945010.0002
Override
Cache load0.00062.293110.0006
General
dbfile0.00124.772180.0001
String conversion0.00000.041340.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs