Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » Found solution to “Table could not created” error

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Imagely

    (@imagely)

    @jefromcanada – Thanks for a third time 🙂 Please see our response in the first topic you posted your idea in.

    My concern is although your thoughts and working solution for your client are good this is not a common issue we have seen tracked back to the option, it has more often than not be seen as the database privileges (for what appeared to be a consistent web hosting service base) issue.

    Thanks, again!

    – Cais.

    @imagely – I agree with you 100% that this error could only be triggered due to a database issue DURING INSTALLATION OF THE PLUGIN. That’s the key phrase. There are several reasons why the database could have been problematic. The point is, if the WordPress site owner eventually figures out what’s wrong with the site and successfully reinstalls your plugin, there is nothing in your code that will REMOVE AN EXISTING ERROR MESSAGE from the “ngg_init_check” record in the options table. Your code does not create a blank “ngg_init_check” record in the options table if things work, and writes an error if it fails. What you should be doing is making sure the error message is cleared out of the options table if the installation works. Alternatively, if you don’t want to do that, you should be checking for a “good” database connection when your plugin is started, rather than relying on a message in the options table that could be months, if not years old.

    • This reply was modified 2 years, 4 months ago by jefromcanada.
    Plugin Author Imagely

    (@imagely)

    @jefromcanada – Thanks for the additional feedback.

    – Cais.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Found solution to “Table could not created” error’ is closed to new replies.