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.

Date Problem after Reinstall

October 18, 2011 12:10am

Subscribe [2]
  • #1 / Oct 18, 2011 12:10am

    BrunoBoys

    78 posts

    Hey EE,

    I hope you have an easy fix for me & I’m just overlooking something.


    We were recently told by our webserver host that we were “hacked” (I won’t point out the sarcasm in my type).

    So needless to say, we had to reinstall.  Since everything lives in the db, that is good & makes for an easy reinstall.  The only drawback was that we used the webserver files that were backed up from the host (from August).

    So now, the code

    {exp:forum:topic_titles orderby="post_date" sort="desc" limit="7"}
                                <li><a href="http://{thread_path=forum/viewthread}">{title}</a></li>
    {/exp:forum:topic_titles}

    Is showing the latest forum post as if it were 8/8/2011. The strange thing is that this same code is on other template pages & renders just fine.

    It is only the homepage / template (site>index) that is outputting it incorrectly.

    The other strange thing is that only the home page is outputting an old, very old header. If iI look at the template, everything is fine, but what is rendered is different.

    Here are two pages for comparison:

    Incorrect
    http://www.brunoboys.net/
    Notice ‘Draft Boards’ is the last navigation item. Also notice the forum module below the middle of the page & talking about draft questions.

    Correct
    http://www.brunoboys.net/entry/public-viewing-held-for-al-davis/
    Notice ‘Player News’ is the last navigation item. Also, the forum module (bottom of sidebar) is talking about ‘Week 7’.

    I found an old header.php in (system folder)>template_files>site & deleted that, but it’s still outputting the old header.

    Please help…

    -Mike

  • #2 / Oct 19, 2011 11:04am

    Mark Bowen

    12637 posts

    Hi Mike,

    When you say the code works on other templates but not the site/index template is there anything different in that template at all?

    Are you by any chance caching that template at all? I wouldn’t have thought so due to the nature of that tag but if you are then perhaps check that first and if it is being cached then turn this off and see if it fixes your problem here.

    Also if you place that code into a brand new template and just that code does it work fine?

    Thanks,

    Mark

  • #3 / Oct 19, 2011 3:59pm

    BrunoBoys

    78 posts

    He Mark,

    Well the code technically is working, it’s just stuck on an old date.

    The code block above is the exact same on both templates.

    Including the fact that both (or all) templates include the header the same way.

    {embed="site/header"}

    I hope this is the only place you can cache a template, so if you are talking about the ‘Enable Caching?’ column under the Template Preferences page, then the answer is no, the site/index is not cached.

     

  • #4 / Oct 20, 2011 11:20am

    Mark Bowen

    12637 posts

    Hi Mike,

    If you place the code into a brand new template does it also behave as you would expect it to?

    Thanks,

    Mark

  • #5 / Oct 21, 2011 10:44pm

    BrunoBoys

    78 posts

    yessir

  • #6 / Oct 25, 2011 10:46am

    Mark Bowen

    12637 posts

    Hi Mike,

    If you go to Add-Ons > Modules > Discussion Forum > Forum Management > Re-synchronize Forums does that fix any of the issues here at all?

    Regarding caching could you manually empty your system > expressionengine > cache folder but leave the index.html file in there. You will need to do this via FTP.

    This will ensure that no caches are at play here.

    Do you have any extensions or modules installed that might be at play here also?

    Thanks,

    Mark

  • #7 / Oct 28, 2011 12:03am

    BrunoBoys

    78 posts

    Maaaaaaaaaaaan I did swear I did that before asking you guys & obviously it didn’t refresh.

    What I did different this time was repair / optimize, then i re-synched & removed temp files & its back to normal again.

  • #8 / Oct 29, 2011 7:59am

    Mark Bowen

    12637 posts

    Hi Mike,

    So are you all sorted now? Is it okay to close this thread out?

    Thanks,

    Mark

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

ExpressionEngine News!

#eecms, #events, #releases