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.

Extensions problem?

March 29, 2010 5:33pm

Subscribe [3]
  • #1 / Mar 29, 2010 5:33pm

    Lanitha

    13 posts

    Hello,
    I have a problem and I’m not sure when and how it started.
    I’m on the most recent build.

    Errors:

    - When trying to get to the extensions manager:
    Fatal error: Cannot redeclare viewpreview::$settings in /home/XYZXYZ/xx/xxxx/extensions/ext.viewpreview.php on line 27

    - When trying to use ‘Edit’ in the CP: Fatal error: Cannot redeclare viewpreview::$settings in /home/xyzxyz/xx/xxxxC/extensions/ext.viewpreview.php on line 27

    - When trying to use the tab ‘Publish’:
    MySQL ERROR:

    Error Number: 1146

    Description: Table ‘tablename.exp_lj_crosspost_fields’ doesn’t exist

    Query: SELECT field_id, lj_field, field_name FROM exp_lj_crosspost_fields WHERE field_id = 5

    Seems all the errors point to a problem with extensions? I’ve already tried a restore of the database and checking the file permissions. I also uploaded a fresh copy of the system/extensions file.
    Any suggestions?

    I’ve been away from EE for a while, so apologies if this is something extremely simple; I’ve forgotten quite a bit of things…

  • #2 / Mar 29, 2010 8:26pm

    Brandon Jones

    5500 posts

    Hi Lanitha,

    It does sound like an extensions issue.  See this wiki entry on how to disable extensions without control panel access.

    Does that help?

  • #3 / Mar 30, 2010 8:30am

    Lanitha

    13 posts

    Thanks for the response Brandon. That does help for the ‘Edit’ and ‘Publish’ problems, but it still throws me that fatal error when I try to use the extension manager..?

  • #4 / Mar 30, 2010 9:46am

    Sue Crocker

    26054 posts

    The extension in question is LiveJournal. Is that the only one you’re using on the site?

  • #5 / Mar 30, 2010 10:07am

    Lanitha

    13 posts

    Hey Sue,
    The extensions that are used there are as follows:
    cp_jquery
    live_link
    lj_crosspost_form
    tag_submit
    viewpreview

    Do I delete the LiveJournal and ViewPreview one via FTP to see if that changes anything or is that a stupid idea?

  • #6 / Mar 30, 2010 10:14am

    Sue Crocker

    26054 posts

    There are a few ways you could handle this. One way is to truncate the extensions table, remove the offending extensions, and then re-do the ones you have left.

    How comfortable are you with doing MySQL queries?

  • #7 / Mar 30, 2010 10:40am

    Lanitha

    13 posts

    Thank you Sue, that solved the problem for me. 😊

  • #8 / Mar 30, 2010 10:55am

    Sue Crocker

    26054 posts

    Glad that things are working again. Don’t hesitate to post again as needed.

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

ExpressionEngine News!

#eecms, #events, #releases