This is the first time this has happened to me. I’m using EE 1.68 most recent build (I think). Essentially, I’ve got a template that displays properly (all CSS, embeds, etc), except that the weblog:entries tag is returning no results, even though there is 1 entry. Here is the tag:
{exp:weblog:entries weblog="{my_weblog}" dynamic="off"}
<h1>The Journal of Financial Modeling and Educational Technology</h1>
{/exp:weblog:entries}That is stripped down to virtually nothing. At this point, it returns no results (I get a 404 if I put {if no_results}{redirect="404"}{/if} inside the tag).
Here is the relevant part of the template debugging:
(0.030331) - Beginning Tag Processing -
(0.030367) Parsing Tags in Template
(0.030414) Tag: {exp:weblog:entries weblog="journals" dynamic="off"}
(0.030584) Closing Tag Found
(0.030674) Processing Tags
(0.030725) Module Tag: Weblog/entries
(0.030766) Including Files for Tag and Modules
(0.075016) Beginning Final Tag Data Processing
(0.075061) Calling Class/Method: Weblog/entries
(0.075263) -> Class Called: Weblog
(0.075342) -> Method Called: entries
(0.142139) Returning No Results Content
(0.142193) -> Data Returned
(0.142324) - End Tag Processing -Note that it says: “(0.142139) Returning No Results Content” so it seems that EE isn’t seeing any entries in that weblog.
If I type in the name of any other weblog, I get the <h1> as expected. I’ve checked the spelling of my weblog name and it is correct in the {my_weblog} defined variable. If I got to the Edit screen in the CP, the entry is there and I can edit it. I just can’t get it to show up on the page.
I’m at my wit’s end. Any ideas?
Thanks,
Tim