Hi all,
We are trying to use the sfSimpleForum in our app, but we got this problem :
[wrapped: Could not execute query [Native Error: ERROR: invalid reference to FROM-clause entry for table "sf_simple_forum_forum" at character 903 HINT: There is an entry for table "sf_simple_forum_forum", but it cannot be referenced from this part of the query.] [User Info: SELECT sf_simple_forum_forum.ID, sf_simple_forum_forum.NAME, sf_simple_forum_forum.DESCRIPTION, sf_simple_forum_forum.RANK, sf_simple_forum_forum.CATEGORY_ID, sf_simple_forum_forum.CREATED_AT, sf_simple_forum_forum.UPDATED_AT, sf_simple_forum_forum.STRIPPED_NAME, sf_simple_forum_forum.LATEST_POST_ID, sf_simple_forum_forum.NB_POSTS, sf_simple_forum_forum.NB_TOPICS, sf_simple_forum_category.ID, sf_simple_forum_category.NAME, sf_simple_forum_category.STRIPPED_NAME, sf_simple_forum_category.DESCRIPTION, sf_simple_forum_category.RANK, sf_simple_forum_category.CREATED_AT, sf_simple_forum_post.ID, sf_simple_forum_post.TITLE, sf_simple_forum_post.CONTENT, sf_simple_forum_post.TOPIC_ID, sf_simple_forum_post.USER_ID, sf_simple_forum_post.CREATED_AT, sf_simple_forum_post.FORUM_ID, sf_simple_forum_post.AUTHOR_NAME FROM sf_simple_forum_forum, sf_simple_forum_category LEFT JOIN sf_simple_forum_post ON (sf_simple_forum_forum.LATEST_POST_ID=sf_simple_forum_post.ID) WHERE sf_simple_forum_forum.CATEGORY_ID=sf_simple_forum_category.ID AND sf_simple_forum_forum.CATEGORY_ID=sf_simple_forum_category.ID ORDER BY sf_simple_forum_category.RANK ASC,sf_simple_forum_forum.RANK ASC]]
The database is pgsql 8.2.
After some googling, I think that the problem could be not in sfSimpleForum, but in the propel code ???
I find something perhaps usefull :
http://archives.postgresql.org/pgsql-general/2006-09/msg01139.php
We can help if needed.
Regards,
Caeies
PS: there's a missing version tag (1.0.13, which is our version).