Records of database

Author Message

Anekdoten <<>>

Wednesday 03 August 2005 4:24:15 am

The records of database are not shown ... the error produced is the following:

Query error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND
a0.version = ezcontentobj. Query: SELECT ezcontentobject.*,
ezcontentobject_tree.*,
ezcontentclass.name as class_name,
ezcontentclass.identifier as class_identifier

, ezcontentobject_name.name as name, ezcontentobject_name.real_translation
FROM
ezcontentobject_tree,
ezcontentobject,ezcontentclass
, ezcontentobject_name
, ezcontentobject_attribute a0


WHERE
path_string like '/1/2/167/192/225/%' and depth <= 5 and


a0.contentobject_id = ezcontentobject.id AND
a0.contentclassattribute_id = AND
a0.version = ezcontentobject_name.content_version AND
a0.language_code = ezcontentobject_name.real_translation AND

ezcontentclass.version=0 AND
node_id != 225 AND
ezcontentobject_tree.contentobject_id = ezcontentobject.id AND
ezcontentclass.id = ezcontentobject.contentclass_id AND


ezcontentobject_tree.contentobject_id = ezcontentobject_name.contentobject_id and
ezcontentobject_tree.contentobject_version = ezcontentobject_name.content_version and
ezcontentobject_name.content_translation = 'ita-IT'
AND ezcontentobject_tree.is_invisible = 0

ORDER BY a0.sort_key_int DESC, modified_subnode DESC
LIMIT 0, 20

... for kindness a help. Thank you

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 03:36:01
Script start
Timing: Jan 31 2025 03:36:01
Module start 'layout'
Timing: Jan 31 2025 03:36:01
Module start 'content'
Timing: Jan 31 2025 03:36:01
Module end 'content'
Timing: Jan 31 2025 03:36:01
Script end

Main resources:

Total runtime0.0217 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.0078151.1953
Module start 'layout' 0.00480.0039 739.2031220.6719
Module start 'content' 0.00870.0115 959.8750997.6328
Module end 'content' 0.02020.0015 1,957.507829.9922
Script end 0.0216  1,987.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002411.1709140.0002
Check MTime0.00104.4860140.0001
Mysql Total
Database connection0.00062.673310.0006
Mysqli_queries0.002511.577030.0008
Looping result0.00000.055010.0000
Template Total0.00115.110.0011
Template load0.00093.933510.0009
Template processing0.00031.157810.0003
Override
Cache load0.00062.732710.0006
General
dbfile0.00125.673580.0002
String conversion0.00000.041840.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