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.

No Input Field Specified and No Entries Displayed

August 01, 2008 1:41pm

Subscribe [3]
  • #1 / Aug 01, 2008 1:41pm

    Briggs

    111 posts

    Like so many other threads, I have tried a few fixes for this problem, or similar problem at least.

    On my home page/main template, I have the following:

    {exp:weblog:entries weblog="fzr_articles"}
        <h3>{title}</h3>
    <p>    {author}<br />
        {entry_date format="%F %j, %Y"}<br />
        {article_thumbnail}<br />
        {article_summary}<br />
    {/exp:weblog:entries}

    None of my entries are showing up, but templates/html code is, on the home page. All other pages show nothing but the dreaded “No input file specified.”

    Here are the things I have tried:

    1.
    Via a Tyssen design article.

    Changed:

    $path_info = (isset($_SERVER['PATH_INFO'])) ? $_SERVER['PATH_INFO'] : @getenv('PATH_INFO');

    to

    $path_info = (isset($_SERVER['ORIG_PATH_INFO'])) ? $_SERVER['ORIG_PATH_INFO'] : @getenv('ORIG_PATH_INFO');

    This does not work, I think because the server does support PATH_INFO. I also tried throwing in his .htaccess file too, which didn’t seem to work either.

    2.
    I looked at the wiki entry but I don’t think that applies either, since I can see PATH_INFO in my phpinfo so I assume it works.

    3. Tried the knowledge base solution where i changed the Force Query Strings to yes, then in the index.php page change the $qtype variable to 2, from 0.

    4.
    BREAKING NEWS!!!!
    As I am typing this out, I tried this last solution here and had some partial success.
    I tried this solution for the heck of it too. This actually allowed me to view the HTML templates of the pages, but still no entries being displayed. But I don’t get that message anymore.

    So basically, my problem now is that I can’t dump any weblog entries into a simple template page. HAve I missed something?

    Server/PHP Info

    Linux Box
    MYSQL 5
    GoDaddy Shared Hosting
    PHP Version 5.2.5 (Since it’s already using php5, I don’t know why I had to force it with the .htacces file, but alas, it worked when I added the htc access)
    PATH_INFO = /control/index.php
    SCRIPT_NAME/SCRIPT_URL = /control/index.php

    Thanks

  • #2 / Aug 01, 2008 1:50pm

    Sue Crocker

    26054 posts

    Briggs, sometimes the workarounds listed in the wiki articles work, and sometimes they just don’t.

    EEKB:// No Input File Specified

    This EEKB article will give you information on how to force query strings.

    If you want to use other methods for getting this to work, I can move this to HowTo, where it would be a better fit.

  • #3 / Aug 01, 2008 2:00pm

    Briggs

    111 posts

    Briggs, sometimes the workarounds listed in the wiki articles work, and sometimes they just don’t.

    EEKB:// No Input File Specified

    This EEKB article will give you information on how to force query strings.

    If you want to use other methods for getting this to work, I can move this to How To, where it would be a better fit.

    Sure, please move this.

    I have tried that KNowledge Base article but no dice, so I am open to more suggestions.

  • #4 / Aug 01, 2008 4:58pm

    Ingmar

    29245 posts

    Moved this to Howto, as per request. Do you’ve got a link to the site in question? Also, which version and build are you on?

  • #5 / Aug 02, 2008 6:01pm

    Briggs

    111 posts

    Moved this to Howto, as per request. Do you’ve got a link to the site in question? Also, which version and build are you on?

    Hi,

    http://www.fazermagazine.com
    http://www.fazermagazine.com/index.php/articles

    Build 20080710

  • #6 / Aug 05, 2008 3:01pm

    Briggs

    111 posts

    I have fixed my issue of nothing showing up on the home page (entries, etc). Now I am onto the other problem of entries not beign displayed on any page but the home template page.. so I guess I will try that fix again.

  • #7 / Aug 05, 2008 5:00pm

    Ingmar

    29245 posts

    Looks like you found a solution? Links seem to be working fine now.

  • #8 / Aug 05, 2008 5:01pm

    Briggs

    111 posts

    Looks like you found a solution? Links seem to be working fine now.

    Well, somewhat. It’s just that I had to turn on the forced query string which now puts a ? in the URL which I don’t want, and the fix to do it without a force query string did not work.. so now I must figured out how to get rid of that ? mark!

  • #9 / Aug 05, 2008 5:06pm

    Ingmar

    29245 posts

    Yes, it looks like you need to force query strings on your server. What have you tried to get rid of it? A rewrite should generally work fine.

  • #10 / Aug 05, 2008 5:14pm

    Briggs

    111 posts

    There is a wiki entry somewhere or something in the knowledge base for a work around of having to use force query string, but I believe that was if your server did not support path_info, in which case mine does.. haha to be honest I have read so much I think I am confused! But alas, I will just try the rewrite to get rid of the question mark and index.php.

    This was just all slightly annoying because usually all EE sites I build are on a particular server, but this particular client wants to go on GoDaddy for some “SEO reasons”, and I have spent hours trying to figure out all the problems, which all stem from GoDaddy!

    I am hoping any changes I have made won’t affect anything else I have to develop for this site

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

ExpressionEngine News!

#eecms, #events, #releases