ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

All channel entries tags have stopped working on a live site

October 28, 2013 9:12am

Subscribe [2]
  • #1 / Oct 28, 2013 9:12am

    welshfusion

    19 posts

    Hi fellow EE’ers,

    I have just received a very unusual support request:

    All of the content on a live website is no longer displayed on the front end of my clients site. All content is still accessible via control panel.

    Basically every instance of Channel:entries isn’t working, neither are any structure tags, low event tags, low search results tags- basically if it extends channel entries its stopped working.

    I have setup a test template with the simplest of channel entries tags on there, but no matter which channel/entry I try to pull I keep getting the contents of my no_results conditional. As an a-side, Channel:categories tag works fine.
    It seems to me that the entries method of the channel module has died somehow- the only changes that have happened on this site in weeks have been content based.

    Has anyone experienced this issue before? or have any pointers on how to resolve this- I’ve been looking at this all morning and can’t event find anyone reporting a similar issue in the past (which is very disconcerting)

    Thanks in advance!

  • #2 / Oct 28, 2013 10:13am

    Ralph

    78 posts

    Sounds odd. Try enabling Output Profiler under Admin > System Administration. Then have a look at the SQL SELECT commands, specifically one that refers to exp_channel_data table and try running that against your database to see if it comes back with anything. You could maybe check the server date as well, just in case it was accidentally set to years ago which would hide all entries as EE only shows entries after their entry date.

  • #3 / Oct 28, 2013 10:43am

    welshfusion

    19 posts

    Thanks for your reply Ralph, I have successfully run SQL statements from the output profiler in phpmyadmin without issue.
    I have confirmed that the date/time/year is correct in WHM on my production server.
    If I download the site and install it locally, I stilll have the same issues.

    Its like as if the exp:channel:entries function is dead and only returns a no_results conditional, every other addon that extends channel:entries seems to have died too as a result e.g. low events, structure.

  • #4 / Oct 28, 2013 11:01am

    Ralph

    78 posts

    How strange. Do you have any template or database caching going on? The only thing I can think of is to use xdebug & eclipse to step through the code in expressionengine/modules/channel/mod.channel.php by setting a breakpoint on the “function entries()” line to see what’s going wrong. More info here: http://wiki.eclipse.org/Debugging_using_XDebug

  • #5 / Oct 28, 2013 12:09pm

    welshfusion

    19 posts

    Hi Ralph,

    Thanks for your suggestions.

    It turns out that one of my clients employees had somehow applied a custom status to all entries, even those that existed in channels without the custom statuses applied.
    So the pages, news, events channels etc all returned zero results as they didn’t have the matching status!

    Thanks again for your help Ralph- reefine is looking good BTW. I may have an opportunity to give it a whirl within the next few weeks 😊

    Cheers,
    Neil

  • #6 / Oct 28, 2013 1:38pm

    Ralph

    78 posts

    No problem. Good to hear you got it sorted.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases