Share » Forums » Developer » Help with Keywords ..!

Help with Keywords ..!

Help with Keywords ..!

Sunday 28 September 2003 10:36:43 am - 2 replies

Author Message

Eirik Alfstad Johansen

Monday 29 September 2003 3:44:09 am

Hi Craig,

The SQL query can't be performed because you are asking for the value "Array" for "ezcontentobject_tree.contentobject_id" (check out the start of the "WHERE"-part of the query).

I don't know how the SQL query is created, but my guess is that you are passing a value to the SQL creation process that is an array instad of an ordinary variable.

Does that make any sense?

Sincerely,

Eirik Johansen
http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Selmah Maxim

Monday 29 September 2003 4:01:30 am

Hi ..

I have the same problem :
___________
{let related=$node.object.data_map.keyword.content.related_objects}
{section show=$related}
<h2>Related documents</h2>
<ol>
{section name=Related loop=$related}
<li><a href={$:item.url_alias|ezurl}>{$:item.name}</a></li>
{/section}
</ol>
{/section}
{/let}
_____________

I get this error msg also :

---------------------------

Query error: Unknown column 'Array' in 'where clause'. Query: SELECT ezcontentobject.*,
ezcontentobject_tree.*,
ezcontentclass.name as class_name
FROM ezcontentobject_tree,
ezcontentobject,
ezcontentclass
WHERE ezcontentobject_tree.contentobject_id=Array AND
ezcontentobject_tree.main_node_id = ezcontentobject_tree.node_id AND
ezcontentobject_tree.contentobject_id=ezcontentobject.id AND
ezcontentclass.version=0 AND
ezcontentclass.id = ezcontentobject.contentclass_id
----------------------------

error i the table name !

how this work in ez.no and its using version 3.2 ?!
in the old versions i used to get php error.

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu