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.

Entries Not Showing Up but Weblog Name Does

June 25, 2007 4:24pm

Subscribe [4]
  • #1 / Jun 25, 2007 4:24pm

    michaelTSCPL

    105 posts

    Day 1 of EE 1.6 and I am going through the tutorial. I can get the weblog name to show up when rendering the template but the test entries (1,2,3) do not display. Here is the code:

    <html>
    <head>
    <title>My First EE Site</title>
    </head>
    <body>
    <h1>The name of my weblog is {exp:weblog:weblog_name weblog="gstuto"}</h1>
    {exp:weblog:entries weblog="gstuto"}
    <h1>{title}</h1>
    <div class=“entry”>
    {summary}
    </div>
    {/exp:weblog:entries}
    </body>
    </html>

    What am I missing?

  • #2 / Jun 25, 2007 4:49pm

    Lisa Wess

    20502 posts

    The entries you have made - what status are they, and are they dated in the future or in the past?

  • #3 / Jun 25, 2007 4:54pm

    michaelTSCPL

    105 posts

    They are all in the past and their status is open.

    One is this: 06/25/07 01:03 pm

    The others are similiar.

    ...also on my CP home page in the Site Statistic section the Total Weblog Entries shows 0 but in the Most Recent Weblog Entries section it shows the 5 entries.

  • #4 / Jun 25, 2007 4:58pm

    Lisa Wess

    20502 posts

    That’s such simplified code already so we needn’t reduce it. Do you happen to have a link to where this is uh, not happening? =)

  • #5 / Jun 25, 2007 5:07pm

    michaelTSCPL

    105 posts

    This server is behind the firewall and is internal only. I will PM you a question.

  • #6 / Jun 25, 2007 5:10pm

    Lisa Wess

    20502 posts

    Ah, no - the only means I have is via FTP, and I’d also want to be able to login to your site to look at this.

    A few things to check - Can you tell me the URL you are visiting - just the part that comes after index.php?  That will help with this.  Also - I know the weblog name works but just to double check - the shortname is correct, with the appropriate case sensitivity? The default would be default_site, so you would have had to have changed that or made a new weblog, as well.  Those are things I would be checking if I had this problem. =)

  • #7 / Jun 25, 2007 5:23pm

    michaelTSCPL

    105 posts

    I had created another group titled Services and the URL would be this: /Services/index/ -or- /Services/ -or- /Services/index.php (all bring up the same info)

    I just switched to the default_site and those posts are not showing up either.

    ...also on my CP home page in the Site Statistic section the Total Weblog Entries shows 0 but in the Most Recent Weblog Entries section it shows the 5 entries. Its like the posts are there but not necessarily in the correct place.

  • #8 / Jun 25, 2007 5:26pm

    Lisa Wess

    20502 posts

    You should be visiting it at index.php/Services/index.  If that doesn’t work you might try this: index.php?/Services/index - if that does work, let me know.

    Can you try adding another post in the default site weblog, just in case there’s some mix up?  Let me know if the stats or shown posts update at all.

  • #9 / Jun 26, 2007 9:11am

    michaelTSCPL

    105 posts

    I did try adding a post to the default site weblog and the stats did not update. It does show up in the Most Recent Weblog Entries section.

    I went back and ran the requirements wizard and URL Segment Support is unsupported on the server. Could this be my problem? How do I enable this? Is this part of PHP?

  • #10 / Jun 26, 2007 12:11pm

    Robin Sowell

    13255 posts

    Yes- that could be related- take a look at this Kblog entry- it explains how to work around servers that don’t fully support the path_info variable.  Does that look like what’s happening on your site?

  • #11 / Jun 26, 2007 12:24pm

    michaelTSCPL

    105 posts

    Let me see if I can get this setup.

  • #12 / Jun 26, 2007 1:35pm

    michaelTSCPL

    105 posts

    Well I did a force query string as suggested in the Kblog entry and also made the change to the $qtype variable to the index.php page with no luck. I also made the change to: $path_info = (isset($_SERVER[‘ORIG_PATH_INFO’])) ? $_SERVER[‘ORIG_PATH_INFO’] : @getenv(‘ORIG_PATH_INFO’); just to see if this would work and it didn’t.

    So I am at a loss at what to do next.

  • #13 / Jun 26, 2007 8:26pm

    Sue Crocker

    26054 posts

    Michael, the fix in the index.php file is for *some* sites, not all sites having that same issue.

    In your case, you’re on a Windows box, and you could see if your host can help with your issue.

  • #14 / Jun 26, 2007 10:07pm

    michaelTSCPL

    105 posts

    Actually we host this on our own server…so I will have to look elsewhere. We may have to look for an alternative product if I can’t get this working.  Thanks.

  • #15 / Jun 26, 2007 10:14pm

    Sue Crocker

    26054 posts

    Is there a particular reason you can’t use a ? in the index.php portion of your URLs?

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

ExpressionEngine News!

#eecms, #events, #releases