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.

Individual entry pages stopped working

September 01, 2010 5:00pm

Subscribe [3]
  • #1 / Sep 01, 2010 5:00pm

    Matt Crest

    18 posts

    A site that has been up for a week is all of the sudden not displaying individual entry pages. No code is being output at all on those pages. Turning on debugging shows that EE is running through the template, which appears to be doing everything just fine.

    The output of the template for quick viewing is on Dropbox.

    The site in question is: http://momsintow.com
    The particular issue is with any of the individual activity pages: http://momsintow.com/activities/stroller_fitness_class1

    Any help is greatly appreciated.

    Edit: also worth mentioning, the SAEF edit entry pages are not working either. My guess is they are related since they both require an individual entry.

  • #2 / Sep 01, 2010 6:03pm

    Matt Crest

    18 posts

    Found the culprit. As always, it was user error. 90% down the template code was a malformed if statement.

    I apparently changed it up so it read:

    {if logged_in_member_id == author_id member_group == '6' OR member_group == '1'}

    When it should have been:

    {if logged_in_member_id == author_id OR member_group == '6' OR member_group == '1'}

    Notice the OR between author_id and member_group. Yeah. Pretty awesome.

  • #3 / Sep 01, 2010 6:09pm

    Noor M

    99 posts

    Cheers Matt.. good work with the code-microscopic-vision there :D

  • #4 / Sep 01, 2010 6:24pm

    Matt Crest

    18 posts

    Thanks Noor. It was a scary hour there, but I’m glad it ended up being such a minor fix.

  • #5 / Sep 02, 2010 3:43am

    John Henry Donovan

    12339 posts

    Glad you are up and running again. Feel free to start a new thread if you have any more questions.

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

ExpressionEngine News!

#eecms, #events, #releases