Forums

"Internal Server Error" after activating NextGen gallery with mistake - recover? (7 posts)

  1. galderz
    Member
    Posted 3 years ago #

    Hi,

    I was trying to install nextgen-gallery plugin but I made a mistake when copying the imagerotator.swf and I copied to a different folder. After trying to activate the plugin, the server returned 500 and I haven't been able to recover ever since. Accessing any page returns that.

    How can I recover from this situation? I've tried to restore the db to a few hours ago but that didn't help.

    Could you please help?

  2. Samuel B
    moderator
    Posted 3 years ago #

    rename or delete the nextgen folder in /plugins - this will deactivate it and let you proceed

  3. galderz
    Member
    Posted 3 years ago #

    Hi,

    I've just done that but I had restored the db as well and somehow, I'm now getting the welcome to WordPress Installation page when accessing my blog. Seems like the database table names might not have been correctly restored? These are the tables names I can see:

    | wp_kiu4h0_comments__20080912_103056__20081108_0__20081108_081715 |
    | wp_kiu4h0_comments__20081108_073651__20081108_081715 |
    | wp_kiu4h0_links__20080912_103056__20081108_0736__20081108_081715 |
    | wp_kiu4h0_links__20081108_073651__20081108_081715 |
    | wp_kiu4h0_ngg_pictures__20081108_073651__20081108_081715 |
    | wp_kiu4h0_openid_associations__20080912_103056___20081108_081715 |
    | wp_kiu4h0_openid_identities__20080912_103056__2__20081108_081715 |
    | wp_kiu4h0_openid_identities__20081108_073651__20081108_081715 |
    | wp_kiu4h0_openid_nonces__20080912_103056__20081__20081108_081715 |
    | wp_kiu4h0_options__20080912_103056__20081108_07__20081108_081715 |
    | wp_kiu4h0_options__20081108_073651__20081108_081715 |
    | wp_kiu4h0_podpress_statcounts__20081108_073651__20081108_081715 |
    | wp_kiu4h0_podpress_stats__20081108_073651__20081108_081715 |
    | wp_kiu4h0_postmeta__20080912_103056__20081108_0__20081108_081715 |
    | wp_kiu4h0_postmeta__20081108_073651__20081108_081715 |
    | wp_kiu4h0_posts__20080912_103056__20081108_0736__20081108_081715 |
    | wp_kiu4h0_posts__20081108_073651__20081108_081715 |
    | wp_kiu4h0_term_relationships__20080912_103056____20081108_081715 |
    | wp_kiu4h0_term_relationships__20081108_073651__20081108_081715 |
    | wp_kiu4h0_term_taxonomy__20080912_103056__20081__20081108_081715 |
    | wp_kiu4h0_term_taxonomy__20081108_073651__20081108_081715 |
    | wp_kiu4h0_terms__20080912_103056__20081108_0736__20081108_081715 |
    | wp_kiu4h0_terms__20081108_073651__20081108_081715 |
    | wp_kiu4h0_usermeta__20080912_103056__20081108_0__20081108_081715 |
    | wp_kiu4h0_usermeta__20081108_073651__20081108_081715 |
    | wp_kiu4h0_users__20080912_103056__20081108_0736__20081108_081715 |
    | wp_kiu4h0_users__20081108_073651__20081108_081715 |

    I suppose that I have to either modify table names for a set of them (with the same timestamp in the end) and remove the timestamp from it:

    i.e. wp_kiu4h0_users__20081108_073651__20081108_081715 -> wp_kiu4h0_users

    Or configure wordpress somehow to use the tables with timestamp I define?

  4. galderz
    Member
    Posted 3 years ago #

    Judging from:

    wp-config.php:$table_prefix = 'wp_kiu4h0_'; // example: 'wp_' or 'b2' or 'mylogin_'

    My table prefix is wp_kiu4h0_ so I need to restore wp_kiu4h0_comments__20081108_073651__20081108_081715 to wp_kiu4h0_comments

    Could someone please confirm this?

  5. galderz
    Member
    Posted 3 years ago #

    Yayyyyyy! Renaming the database tables correctly, got my blog back!

  6. galderz
    Member
    Posted 3 years ago #

    In spite of resolving the initial mistake installing nextgen-gallery, having now:

    1.- unzipped http://downloads.wordpress.org/plugin/nextgen-gallery.zip in wp-content/plugins

    2.- rename nextgen-gallery/ to nggallery/

    3.- copy imagerotator.swf to nggallery/

    I still get "Internal Server Error" when activating it. I've already tried explicitly setting memory_init explicitly to 16M. I only have 4 other plugins installed.

    Any ideas how to debug this issue further?

  7. galderz
    Member
    Posted 3 years ago #

    Btw, I'm using WordPress 2.6.2

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.