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.

Duplicate Entries Spontaneously Created upon New Entry Creation

November 02, 2010 12:53pm

Subscribe [6]
  • #1 / Nov 02, 2010 12:53pm

    budparr

    128 posts

    Setup: 2.1.1 20101020 Relevant add-on P&T Matrix. Hosting: Rackspace Cloud Sites.

    I have a migrated site (from 1.6) with about 4,000 entries (25mb database). The channel used to have relationship fields to gallery entries, but I’ve deleted those and now there are only several text area and text input fields and one Matrix field, which we use to upload images.

    Problem: Upon publishing a new entry the system seems to drag a bit and create anywhere from one to three extra entries, all of which are closed. This does not happen consistently and has been alleviated to a great degree by turning OFF “Clear all caches when new entries are posted?” (though I’d like to have that setting back on).

    This has been going on for a while. I’ve been observing and trying different things (as below) over time in hopes of solving it.

    Some things I’ve done/checked to try and solve it: I’ve toggled security settings and publish page settings to pinpoint the problem, to no avail. The cache clearing setting has helped a lot, but the problem does occur intermittently. There is no www. domain (it forwards to the http) so it doesn’t seem to be a domain issue. I’ve repaired db tables. I’ve checked permissions on the cache directory and others as specified in the docs.

    And, I haven’t seen any problems like this on the forums. Can anyone suggest what else I might try to solve this?

    [Mod Edit: Moved to the EE 2 Technical Support forum]

  • #2 / Nov 03, 2010 4:46am

    John Henry Donovan

    12339 posts

    budparr,

    I have a migrated site (from 1.6)

    Did you upgrade a 1.6.x site to latest version or did you install EE2.1.1 and then perform an import?

    Can you walk us through how you did this migration please as it may have clues into why this is happening to you.

  • #3 / Nov 03, 2010 11:35am

    budparr

    128 posts

    Thanks for getting back to me, John. I noticed the support requests piling up faster than I’ve ever seen before!

    Wow - that was back in July, so I’ll try my best to remember.

    I upgraded the old site to the latest version of 1.6 at the time. I then moved the site to a dev server (the same one where it sits now). I deleted the gallery module. I’m trying to remember exactly what I did and the order, but I had to delete a relationship field because it related back to gallery entries. I created some text fields to capture data from old entries (I believe I deleted then imported entries to capture urls from the old gallery fields). Then, I upgraded to the version of EE2 at the time.

    As you can see, it was a fairly complicated process because of the gallery module’s demise. I’d be happy to give you guys access to the CP or database, if that would help.

  • #4 / Nov 03, 2010 9:45pm

    Sue Crocker

    26054 posts

    Hi, Bud. As a method for troubleshooting, can you create a new channel and a new custom field set using only the stock filetypes that come with EE2.1.1? Does that scenario also make duplicate entries?

  • #5 / Nov 04, 2010 10:51am

    budparr

    128 posts

    Hi Sue,

    I’ll try. It could take some time to evaluate because of the sporadic nature of the duplications, so I’ll report back in a few days.

  • #6 / Nov 04, 2010 11:58am

    Sue Crocker

    26054 posts

    Sounds good, we’ll be here.

  • #7 / Nov 05, 2010 12:16pm

    budparr

    128 posts

    Okay, I created a new channel with nothing but a couple of native text fields. Same problem - the entry took a long time to post and then several entries were created.

    Before I made the post, just to force the issue, I turned on “Clear all caches when new entries are posted?” Yesterday, when I didn’t have that setting turned on, there was no problem. So could this be some sort of cache issue?

  • #8 / Nov 06, 2010 2:55pm

    Greg Salt

    3988 posts

    H Bud,

    You mentioned that this is a dev server? Do you have a live version of this site either on the same host or elsewhere? If so, does that site have this problem? Do you also have other installations (dev or live)? If so, where are they and do any of them exhibit this behaviour?

    Cheers

    Greg

  • #9 / Nov 06, 2010 3:16pm

    budparr

    128 posts

    Hi Greg,
    No, it’s not on a dev server. There’s only one version of the site, though the site didn’t have this issue before I migrated/upgraded it.

  • #10 / Nov 08, 2010 2:13am

    John Henry Donovan

    12339 posts

    budparr,

    I created some text fields to capture data from old entries (I believe I deleted then imported entries to capture urls from the old gallery fields).

    How did you import these entries? Was it with the help of a plugin?
    Do you have any add-ons installed presently other than the Matrix add-on?

    This does not happen consistently and has been alleviated to a great degree by turning OFF “Clear all caches when new entries are posted?” (though I’d like to have that setting back on).

    Is this also random or does turning off this setting stop it period?

  • #11 / Nov 08, 2010 9:49am

    budparr

    128 posts

    I was using AJW DataGrab, which seemed to work flawlessly, and I uninstalled it once I was done. I don’t have very many tp add-ons installed, besides the aforementioned Matrix.

    While I wouldn’t say it’s random that turning off clear all caches makes the problem go away, it alleviates the problem. I still get it, but infrequently, whereas if I turn it on then the problem seems to occur quite a bit.

    I’ve noticed that when I try to clear the cache (using tools|data|clear cacheing), I sometimes get a time out on the page.

  • #12 / Nov 08, 2010 9:51pm

    Lisa Wess

    20502 posts

    Bud, have you tried clearing your cache via FTP? It sounds like it may be quite big on the fileserver, so giving it a good clear out via FTP may be a good way to help sort this out.

  • #13 / Nov 08, 2010 10:12pm

    budparr

    128 posts

    Well I am able to clear the cache. It’s just that sometimes I get a timeout. I only mention it because I thought it might be a clue in solving the duplicate entry problem. Does clearing out the cache on the server do something that can’t be done from the CP? And, do I delete all the folders within (ee_version, page_cache, etc)?

  • #14 / Nov 09, 2010 10:07am

    Sue Crocker

    26054 posts

    Does clearing out the cache on the server do something that can’t be done from the CP? And, do I delete all the folders within (ee_version, page_cache, etc)?

    Under normal circumstances, clearing the cache works just fine from within the CP. However, there are times when you can just delete via FTP to make sure *all* the files have been deleted.

    You’d delete all the folders inside of /system/expressionengine/cache - and keep the index.html file. EE will create new files and folders as it needs them.

    Does that help?

  • #15 / Nov 09, 2010 10:37am

    budparr

    128 posts

    Thanks Sue & Lisa.

    Interestingly, maybe, I deleted everything in the Cache folder via FTP, but ‘it’ wouldn’t let me delete “page_cache” and “tag_cache.” I had previously uninstalled and removed the tag module files.

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

ExpressionEngine News!

#eecms, #events, #releases