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.

Strange "You have tried to access a weblog that does not exist" error

May 12, 2011 7:36am

Subscribe [4]
  • #1 / May 12, 2011 7:36am

    e-man

    1816 posts

    I’m getting a “You have tried to access a weblog that does not exist” error when trying to edit 1 particular entry in a certain weblog. This weblog has about 10 entries, all of which I can access just fine except that 1.
    I’ve checked the database and data of the entry in question is there, I just can’t edit it any more through the CP without throwing above error.
    I’ve never come across this before, any ideas?

  • #2 / May 12, 2011 8:24am

    Mark Bowen

    12637 posts

    Are you by any chance putting these entries in via an SAEF?

    If so check your exp_weblog_titles and exp_weblog_data tables and ensure they have the same amount of rows. They may well be off by 1.

    I’ve had this happen with an SAEF before and the data didn’t go into the table. Never figured out what it was, just put it down to a failure in the internet connection.

    Hope that helps a bit.

    Best wishes,

    Mark

  • #3 / May 12, 2011 8:38am

    e-man

    1816 posts

    No SAEF, just straight into the CP.

  • #4 / May 12, 2011 8:42am

    Mark Bowen

    12637 posts

    Did you check the two tables that I mentioned?

    Ensure there are the same amount of rows in both.

    Best wishes,

    Mark

  • #5 / May 12, 2011 8:46am

    e-man

    1816 posts

    Mark, you’re right exp_weblog_titles has 40 rows and exp_weblog_data 39…
    Any idea how to fix this?

  • #6 / May 12, 2011 9:04am

    Mark Bowen

    12637 posts

    Mark, you’re right exp_weblog_titles has 40 rows and exp_weblog_data 39…
    Any idea how to fix this?

    I don’t think there is a way to fix it as the weblog_data doesn’t exist anywhere else other than this table so I *think* I’m right in saying that the data is now lost :-(

    A moderator will be able to comment more on that one though.

    The only way would be to delete the 1 extra row in the exp_weblog_titles table and then try inputting the data again.

    Does this happen a lot?

    Best wishes,

    Mark

  • #7 / May 12, 2011 6:37pm

    Sue Crocker

    26054 posts

    Thanks for the assist, Mark.

    e-man, Mark is right.. you need to manually remove the extra row and redo the entry.

    Does that help?

  • #8 / May 28, 2011 4:26pm

    e-man

    1816 posts

    Well, in the end, I copied over the content from the database into a fresh entry and deleted the one that give me the error. Strange but it did fix things.

  • #9 / May 28, 2011 4:40pm

    Greg Salt

    3988 posts

    Hi e-man,

    Glad that you got this resolved. What you did is probably the only way to properly deal with something like this.

    Cheers

    Greg

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

ExpressionEngine News!

#eecms, #events, #releases