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.

Problem with dynamic weblogs / "index" required in URL

August 02, 2009 11:37pm

Subscribe [3]
  • #16 / Aug 03, 2009 6:56pm

    philfreo

    50 posts

    Can you turn on template debugging and post the full results of the template debugging?

    Also, are you running any extensions?

    Can you add one other thing to that? Just above the weblog entries tag, just put:

    <h1>HELLO WORLD</h1>

    Thanks!

    Here’s the output of the same page with template debugging.

    HELLO WORLD

    TEMPLATE DEBUGGING
    (0.000014) - Begin Template Processing -
    (0.045456) URI: /articles/
    (0.045481) Path.php Template: articles/index
    (0.045501) Retrieving Template
    (0.045528) Retrieving Template from Database: articles/index
    (0.047328) Template Found
    (0.048505) Retrieving Template from File
    (0.048641) Template Type: webpage
    (0.048738) Parsing Site Variables
    (0.048799) Global Path.php Variables (Keys): site_id|site_label|site_short_name
    (0.048812) Global Path.php Variables (Values): 1|My Site Name Here|default_site
    (0.048857) Parse Date Format String Constants
    (0.048876) Parse Current Time Variables
    (0.048902) Parsing Segment, Embed, and Global Vars Conditionals
    (0.049338) - Beginning Tag Processing -
    (0.049357) Parsing Tags in Template
    (0.049383) Tag: {exp:weblog:entries limit="10" weblog="content_articles"}
    (0.049485) Closing Tag Found
    (0.049543) Processing Tags
    (0.049570) Module Tag: Weblog/entries
    (0.049585) Including Files for Tag and Modules
    (0.089864) Beginning Final Tag Data Processing
    (0.089894) Calling Class/Method: Weblog/entries
    (0.090046) -> Class Called: Weblog
    (0.090125) -> Method Called: entries
    (0.105222) Returning No Results Content
    (0.105253) -> Data Returned
    (0.105315) - End Tag Processing -
    (0.105334) Parsing PHP on Output
    (0.105423) - End Template Processing -
    (0.105433) Parse Global Variables
    (0.106657) Template Parsing Finished
    Memory Usage: 7,703,056 bytes

    I’m running Structure, which does mess with Page URLs I suppose, but my setup is pretty standard there.  Also Freeform and a couple other small admin tweak ones.

  • #17 / Aug 03, 2009 7:01pm

    philfreo

    50 posts

    Okay, so I changed the Structure URL for my “articles” entry, and that fixed the problem.  So this looks like a bug in Structure not handling this case correctly. Sorry I didn’t think of that earlier.  Ugh… I have another minor Structure URL problem on another site too.

    I’m still not really sure why dynamic=“off” fixed the issue though.

    Edit: here’s a screenshot of my problematic Structure settings.  I have to change the Structure “Page URL” for it to work.

  • #18 / Aug 03, 2009 7:04pm

    Lisa Wess

    20502 posts

    Glad you were able to narrow down the issue to Structure.  Hopefully they can help you get things running. =)

    If anything else comes up please don’t hesitate to start a new thread!

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

ExpressionEngine News!

#eecms, #events, #releases