Title: NextGEN Gallery database error
Last modified: April 14, 2017

---

# NextGEN Gallery database error

 *  [sbiese](https://wordpress.org/support/users/sbiese/)
 * (@sbiese)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/)
 * I’m getting the message: “NextGEN Gallery : Tables could not created, please 
   check your database settings”
    I checked the user privileges and they are set
   to “ALL”. It would seem that with over 7 million downloads, someone would know
   how to fix this problem.
 * Thanks.

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

 *  [Cybernetics Security](https://wordpress.org/support/users/cybernetics/)
 * (@cybernetics)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9030923)
 * user that logged to mysql It has no right to create tables.
    change the rights
   for that user or login with another user check log and see exactly which errors
   he could not create table
    -  This reply was modified 9 years, 1 month ago by [Cybernetics Security](https://wordpress.org/support/users/cybernetics/).
 *  Thread Starter [sbiese](https://wordpress.org/support/users/sbiese/)
 * (@sbiese)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9031050)
 * I reinstalled the site to a new location where I set up a new MySQL user with
   FULL privilages and a new WordPress user with Admin rights.
    The message is still
   there.
 *  Thread Starter [sbiese](https://wordpress.org/support/users/sbiese/)
 * (@sbiese)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9031097)
 * I’m sorry… Check what log? Where is it?
 *  [Cybernetics Security](https://wordpress.org/support/users/cybernetics/)
 * (@cybernetics)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9031145)
 * generally are in /**error_log**
    but it varies from server to server
 *  Thread Starter [sbiese](https://wordpress.org/support/users/sbiese/)
 * (@sbiese)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9031251)
 * There’s usually a error_log file at the root. But, not on this site. There is
   a error_log file at the site level. The last 3 errors are:
 * [13-Apr-2017 08:19:39 America/Denver] PHP Fatal error: Call to undefined function
   get_header() in /home/levieuxlogisrest/public_html/wp-content/themes/levieuxlogis/
   404.php on line 10
    [13-Apr-2017 11:16:18 America/Denver] PHP Fatal error: Call
   to undefined function get_header() in /home/levieuxlogisrest/public_html/wp-content/
   themes/levieuxlogis/index.php on line 17 [13-Apr-2017 23:57:28 America/Denver]
   PHP Fatal error: Call to undefined function get_header() in /home/levieuxlogisrest/
   public_html/wp-content/themes/levieuxlogis/index.php on line 17
 * I checked the lines (10 & 17) that they refer to and it’s the function call of:
   get_header();
 * Sorry. But, that doesn’t help me know what the problem is. Do you have any ideas?
 *  [Cybernetics Security](https://wordpress.org/support/users/cybernetics/)
 * (@cybernetics)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9031295)
 * [@sbiese](https://wordpress.org/support/users/sbiese/) put on pastebin many more
   lines at least the last lines 100/200.
    you put here are few errors unrelated
   to creating the table.
 *  Thread Starter [sbiese](https://wordpress.org/support/users/sbiese/)
 * (@sbiese)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9032460)
 * I didn’t put any more than that because those are the only errors. But, here 
   is the whole file:
 * [05-Dec-2015 18:32:00] PHP Fatal error: Call to undefined function get_header()
   in /home8/levieuxl/public_html/wp-content/themes/levieuxlogis/index.php on line
   17
    [17-Dec-2015 09:47:26] PHP Fatal error: Call to undefined function get_header()
   in /home8/levieuxl/public_html/wp-content/themes/levieuxlogis/index.php on line
   17 [21-May-2016 20:08:43 America/Denver] PHP Fatal error: Call to undefined function
   get_header() in /home/levieuxlogisrest/public_html/wp-content/themes/levieuxlogis/
   404.php on line 10 [10-Aug-2016 13:19:01 America/Denver] PHP Fatal error: Call
   to undefined function get_header() in /home/levieuxlogisrest/public_html/wp-content/
   themes/levieuxlogis/index.php on line 17 [10-Aug-2016 13:19:01 America/Denver]
   PHP Fatal error: Call to undefined function get_header() in /home/levieuxlogisrest/
   public_html/wp-content/themes/levieuxlogis/index.php on line 17 [10-Aug-2016 
   13:19:03 America/Denver] PHP Fatal error: Call to undefined function get_header()
   in /home/levieuxlogisrest/public_html/wp-content/themes/levieuxlogis/index.php
   on line 17 [10-Aug-2016 13:19:03 America/Denver] PHP Fatal error: Call to undefined
   function get_header() in /home/levieuxlogisrest/public_html/wp-content/themes/
   levieuxlogis/index.php on line 17 [17-Mar-2017 10:36:37 America/Denver] PHP Fatal
   error: Call to undefined function get_header() in /home/levieuxlogisrest/public_html/
   wp-content/themes/levieuxlogis/404.php on line 10 [23-Mar-2017 13:22:37 America/
   Denver] PHP Fatal error: Call to undefined function get_header() in /home/levieuxlogisrest/
   public_html/wp-content/themes/levieuxlogis/404.php on line 10 [29-Mar-2017 12:
   43:01 America/Denver] PHP Fatal error: Call to undefined function get_header()
   in /home/levieuxlogisrest/public_html/wp-content/themes/levieuxlogis/404.php 
   on line 10 [11-Apr-2017 10:32:28 America/Denver] PHP Fatal error: Call to undefined
   function get_header() in /home/levieuxlogisrest/public_html/wp-content/themes/
   levieuxlogis/index.php on line 17 [11-Apr-2017 22:33:53 America/Denver] PHP Fatal
   error: Call to undefined function get_header() in /home/levieuxlogisrest/public_html/
   wp-content/themes/levieuxlogis/index.php on line 17 [12-Apr-2017 11:07:49 America/
   Denver] PHP Fatal error: Call to undefined function get_header() in /home/levieuxlogisrest/
   public_html/wp-content/themes/levieuxlogis/index.php on line 17 [12-Apr-2017 
   23:13:27 America/Denver] PHP Fatal error: Call to undefined function get_header()
   in /home/levieuxlogisrest/public_html/wp-content/themes/levieuxlogis/index.php
   on line 17 [13-Apr-2017 08:19:39 America/Denver] PHP Fatal error: Call to undefined
   function get_header() in /home/levieuxlogisrest/public_html/wp-content/themes/
   levieuxlogis/404.php on line 10 [13-Apr-2017 11:16:18 America/Denver] PHP Fatal
   error: Call to undefined function get_header() in /home/levieuxlogisrest/public_html/
   wp-content/themes/levieuxlogis/index.php on line 17 [13-Apr-2017 23:57:28 America/
   Denver] PHP Fatal error: Call to undefined function get_header() in /home/levieuxlogisrest/
   public_html/wp-content/themes/levieuxlogis/index.php on line 17
 * Steve
 *  Thread Starter [sbiese](https://wordpress.org/support/users/sbiese/)
 * (@sbiese)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9032498)
 * Here’s the login if you want to look at it yourself.
    This is a copy in a test
   location. So, you won’t be hurting anything should something go wrong.
 * Wordpress:
    Login Page: [http://rwstemp.com/lvlmdxgit1n/](http://rwstemp.com/lvlmdxgit1n/)_[
   login redacted}_
 * FTP:
    Host: localhost Server: rwstemp.com _[login redacted}_
    -  This reply was modified 9 years, 1 month ago by [bdbrown](https://wordpress.org/support/users/bdbrown/).
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9032576)
 * [@sbiese](https://wordpress.org/support/users/sbiese/) – I’ve redacted your logon
   information. Please do not post logon credentials on these forums, not even for
   test sites:
    [https://make.wordpress.org/support/handbook/forum-welcome/#the-bad-stuff](https://make.wordpress.org/support/handbook/forum-welcome/#the-bad-stuff)
 *  Thread Starter [sbiese](https://wordpress.org/support/users/sbiese/)
 * (@sbiese)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9033106)
 * Sorry. Thanks.
    I guess all support venues are not the same. There is another
   I regularly use and they have on several occasions asked me for the access information.
   Let me know if I should delete that information or is it still possible you can
   use it?
 *  Thread Starter [sbiese](https://wordpress.org/support/users/sbiese/)
 * (@sbiese)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9037427)
 * So, what do you think?
    Any other ideas on this?

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

The topic ‘NextGEN Gallery database error’ is closed to new replies.

## Tags

 * [Database Error](https://wordpress.org/support/topic-tag/database-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 11 replies
 * 3 participants
 * Last reply from: [sbiese](https://wordpress.org/support/users/sbiese/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/nextgen-gallery-database-error/#post-9037427)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
