Unable to create Object of any class

Author Message

Krishna dass

Saturday 12 July 2003 12:30:22 am

I was not able to create objects, whenever I create an object I get an error as pasted below:

ERROR: Cannot insert a duplicate key into unique index ezcontentobject_tree_md5_path
ERROR: Function 'digest(text, unknown)' does not exist
Unable to identify a function that satisfies the given argument types
You may need to add explicit typecasts

After creating some objects I get this problem. I had no problem in the beginning but in the middle of my project I face problems like this.

How can I overcome this problem without reinstalling. I am working in ez publish version 3.0.2

Jan Borsodi

Saturday 12 July 2003 6:39:55 am

Sounds like your database lacks the 'digest' function which is required to create an md5 sum. You should try and get this function installed in your PostgreSQL database.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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 18 2025 19:34:35
Script start
Timing: Jan 18 2025 19:34:35
Module start 'layout'
Timing: Jan 18 2025 19:34:35
Module start 'content'
Timing: Jan 18 2025 19:34:36
Module end 'content'
Timing: Jan 18 2025 19:34:36
Script end

Main resources:

Total runtime1.2370 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0077 589.3672152.6250
Module start 'layout' 0.00770.0025 741.992239.4453
Module start 'content' 0.01021.2254 781.4375519.8438
Module end 'content' 1.23560.0014 1,301.28138.3125
Script end 1.2370  1,309.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.2680160.0002
Check MTime0.00140.1120160.0001
Mysql Total
Database connection0.00100.079910.0010
Mysqli_queries1.192996.4344540.0221
Looping result0.00050.0401520.0000
Template Total1.197896.820.5989
Template load0.00200.161420.0010
Template processing1.195896.671120.5979
Template load and register function0.00020.019510.0002
states
state_id_array0.00330.263410.0033
state_identifier_array0.00220.177620.0011
Override
Cache load0.00150.1240130.0001
Sytem overhead
Fetch class attribute can translate value0.00060.047920.0003
Fetch class attribute name0.00170.133930.0006
XML
Image XML parsing0.00070.054920.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00130.1057170.0001
String conversion0.00000.000540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs