Title: Database error on clean install
Last modified: September 1, 2016

---

# Database error on clean install

 *  Resolved [Renex06](https://wordpress.org/support/users/renex06/)
 * (@renex06)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/)
 * Hello,
 * When I installed Nextgen I’m getting the following error on the manage albums
   and manage galleries pages:
 * `[Duplicate column name 'updated_at'] ALTER TABLE`wp_ngg_pictures`ADD COLUMN`
   updated_at`BIGINT`
 * When I manually tried to remove the column, it will readds the column and gives
   me the same error again. When I uploaded the pictures in a gallery that column
   isn’t updated with values (NULL).
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630439)
 * [@renex06](https://wordpress.org/support/users/renex06/) – Does you WordPress
   database user have *ALL* privileges for your WordPress database? You may need
   to double-check with your web hosting service to see if this is the case.
 * Thanks!
 * – Cais.
 *  [drdankoenig](https://wordpress.org/support/users/drdankoenig/)
 * (@drdankoenig)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630561)
 * Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate
   2048 bytes) in /home/p27j55j9/public_html/wp-includes/plugin.php on line 130
 * during update…it took my page down. After deleting the plugin and reinstalling
   the zip file from your site the same error occurred. It took some time to get
   the site back up to make this clean install. I have admin privileges FTP access
   to the database. Do I need to delete the NextGEN folder when in the Plugins folder
   to allow for a manual safe install? I had no errors until I uploaded the Zip 
   file with no problems and activated in the site. Now I’m dead again. What do 
   I need to manually change to allow this plugin to load? I have a large number
   of photos and I also have the NextGEN Pro installed that is a separate plugin.
   It worked fine until the latest update of the NextGen.
 *  [drdankoenig](https://wordpress.org/support/users/drdankoenig/)
 * (@drdankoenig)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630562)
 * Site is down…not visible…but it’s camptimlo.org
 *  [drdankoenig](https://wordpress.org/support/users/drdankoenig/)
 * (@drdankoenig)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630563)
 * I have again renamed the NextGEN folder to protect the page and allow content
   to be seen, without the NextGEN slide offerings and added an error message at
   the top of the page. Please help me get the site back up as soon as possible.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630576)
 * [@drdankoenig](https://wordpress.org/support/users/drdankoenig/) – The issue 
   you are describing appears to be related to the PHP Memory Limit in your server’s
   environment which is not directly related to the OP issue. Please start your 
   own topic so we can try to help you with your specific issue on your specific
   site.
 * See [http://codex.wordpress.org/Forum_Welcome#Where_To_Post](http://codex.wordpress.org/Forum_Welcome#Where_To_Post)
 * Thanks!
 * – Cais.
 *  Thread Starter [Renex06](https://wordpress.org/support/users/renex06/)
 * (@renex06)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630583)
 * [@photocrati](https://wordpress.org/support/users/photocrati/) Yep, checked that,
   the user got all the privileges.
 * Tried a older version, still the same error. It’s trying to add the column all
   the time. Also when I try to add a gallery to the content editor, it won’t let
   me select any of the options…
 *  Thread Starter [Renex06](https://wordpress.org/support/users/renex06/)
 * (@renex06)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630584)
 * Updated to the most recent version, looks like the problem is solved. Did you
   make any changes to the latest version relating to this problem?
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630590)
 * [@renex06](https://wordpress.org/support/users/renex06/) – We generally list 
   all “major” changes to the plugin code base within our Changelog file, what version
   were you using prior to updating?
 * – Cais.
 *  [drdankoenig](https://wordpress.org/support/users/drdankoenig/)
 * (@drdankoenig)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630606)
 * PHP memory increased by host tech…problem resolved. Update installed and working…
   thanks.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630610)
 * [@drdankoenig](https://wordpress.org/support/users/drdankoenig/) – Thanks for
   your update.
 * – Cais.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Database error on clean install’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/database-error-on-clean-install-1/#post-7630610)
 * Status: resolved