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.

Urgent AND a Very Odd Problem

September 29, 2010 4:22am

Subscribe [2]
  • #1 / Sep 29, 2010 4:22am

    Aaron Post

    15 posts

    Just migrated EE to new server and made sure everything is there and setting are just right except my tag parameters are not working?  Each post even though it has a limit of one, it repeats itself? 

    Example:

    {exp:weblog:entries weblog="managementteam" limit="1" status="open"}
        <div class="grid_2">
            <div class="borderdetail">
                {profileimg}
            </div>
        </div>
    {/exp:weblog:entries}

    Yet it will post the image twice?  Very odd?

    Ideas?  I doubled checked the settings, DB, Templates, plug-ins, extensions and more, all of it appears to be the same as what I have running on the old server?  Thoughts?

  • #2 / Sep 29, 2010 1:27pm

    Aaron Post

    15 posts

    Just double checked the following:

    Database
    Templates
    Config file

    Can anyone provide some insight on this one?  Very odd

    Its odd because its only happening on weblogs, not the navigation or in all the weblogs, just a few?  As you can see from the attached example that even though there is one entry, it duplicates it?

    version 1.6.9
    PHP Version 5.3.2
    MySQL - 5.4.1?

  • #3 / Sep 29, 2010 4:23pm

    Ingmar

    29245 posts

    Do you’ve got a link? Can we rule out duplicate code, i.e. two sets of tags?

  • #4 / Sep 29, 2010 4:27pm

    Aaron Post

    15 posts

    The new site that is not working is on an internal server, BUT here is the one I built it on: http://74.81.64.85/~swcacom/index.php/meet-swca/detail/robert-k.-wilson/

    Its odd because its happening through out the site. 

    Here is the full page:

    {embed="inc/header"}
    <!-- Logo at the top -->
            <div class="container_16">
    <!-- search box -->
                {embed="inc/logosearch}
                <div class="clear"></div>
    <!-- primary navigation box -->
                {embed="inc/nav"}
              <div class="container">
                    <div class="grid_12">
                        <div class="copy">
                    <div class="clear"></div>
                    
    
    
    <!-- profile of management team -->
                        {exp:weblog:entries channel="managementteam" limit="1" status="open"}
                            <div class="grid_2">
                            <div class="borderdetail">
                                {profileimg}
                            </div>
                            </div>
                            <div class="grid_7">
                            <div class="borderdetail">
                                <h4>{title}</h4>
    <p>                            {jobtitle}{if region==""}{if:else} - {/if}{region}{if joblocation==""}{if:else} - {/if}{joblocation}</p>
    
    <p><br />
                                {background}</p>
    
    <p>                        </div><br />
                            </div><br />
                        {/exp:weblog:entries}<br />
                            <br />
                    <div class="clear"></div><br />
    <!-- list of management team --><br />
                        {embed="meet-swca/orgchart"}<br />
                    </div><br />
                    </div><br />
    <!-- sidebar and footer --><br />
                {embed="meet-swca/nav_sidebar"}             <br />
                {embed="inc/footer_nav"}<br />
                {embed="inc/footer"}

  • #5 / Sep 30, 2010 8:17am

    Sue Crocker

    26054 posts

    Can you simplify the template by creating a new one with just the code in your first post? Does the problem happen then?

  • #6 / Sep 30, 2010 1:44pm

    Aaron Post

    15 posts

    Same thing. 

    I removed everything except that script and still repeats that information?  Very confused, the DB is the same as the old server, the files are the same, the only issue I can think of is the version of PHP or MySQL?  Otherwise I have no idea?

  • #7 / Sep 30, 2010 3:20pm

    Lisa Wess

    20502 posts

    Hi, Aaron - can you check all of your exp_member* tables for duplicate entries, please?

  • #8 / Sep 30, 2010 3:26pm

    Aaron Post

    15 posts

    WOW, impressive.  That worked.

    It was the “exp_member_data” table that had duplicates in it?

    Now my next question is how did that happen? 

    Thank you so much.

  • #9 / Oct 01, 2010 10:55am

    Ingmar

    29245 posts

    It’s hard to say. Database corruptions can happen, usually due to something happening on the server. If doesn’t happen too often I wouldn’t worry about it, now that you’re up and running.

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

ExpressionEngine News!

#eecms, #events, #releases