Today, I executed an upgrade from Joomla 2.5.19 to Joomla 3.3. I made a copy of my production site and I executed the upgrade on the test copy of my site. The upgrade went well, except for one strange problem.
The lead story module (Cultural Commentary, upper left) will not display the latest article. In fact, it will not display any articles with the current date, today's date. To test this theory, I took the article that does display and changed its create date to the current date; and, sure enough, it no longer displayed.
You can see the differences here:
http://dev25.denisonforum.org (test site, 3.3)
http://www.denisonforum.org (production site, 2.5.19)
Also, you can see the missing article by clicking on th 'Cultural Commentary' link on the top menu
(http://dev25.denisonforum.org/cultural-commentary)
The module parameters for that lead module are:
- Source of articles: Joomla! categories
Categories: Cultural Commentary
News order: By date
News sort order: Descending
Show article created after: blank
Show frontpage items: Enabled
Show unauthorized items: Disabled
Frontpage items only: Disabled
First news number: 0
Time offset: 0
Then, I tried to bypass the impact of the date on the results by changing the 'Source of articles' to 'Joomla! articles' and I specified the specific article that I expected to display (id=1034). This resulted in a database error:
- Code: Select all
1064
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 categories.published = 1 ORDER BY content.created DESC' at line 28 SQL=SELECT categories.title AS cat, content.id AS ID, content.access AS access, categories.title AS cat, users.email AS author_email, users.name AS author, content_rating.rating_sum AS rating_sum, content_rating.rating_count AS rating_count, categories.id AS CID FROM jml_content AS content LEFT JOIN jml_categories AS categories ON categories.id = content.catid LEFT JOIN jml_content_frontpage AS frontpage ON content.id = frontpage.content_id LEFT JOIN jml_users AS users ON users.id = content.created_by LEFT JOIN jml_content_rating AS content_rating ON content_rating.content_id = content.id WHERE AND categories.published = 1 ORDER BY content.created DESC
I am looking at the code now, but I thought that I would check with everyone while I looked to see if anyone has encountered this problem yet.
Thanks in advance for any help.