Support Forum

 
You must be logged in to post
Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

when does formidable create tables in the db?

Information/How to
UserPost

2:05 pm
December 22, 2010


avendanl

1

Im trying to troubleshoot why Formidable is not creating the necessary table in the DB when I activate it. Because of this im not able to load templates or create forms. Im using pgsql as the back end. Any feedback is greatly appreciated. Thank you all.

1:31 pm
December 23, 2010


avendanl

2

So Im tailing the pg4wp_unmodified.log and I notice that the pg4wp plugin is not creating the formidable tables db……….(still beating my head against the wall)

1:26 pm
December 27, 2010


avendanl

3

Found possible bug in FRMProDb.php in function uninstall() when trying to run Uninstall it crashes and PHP error stating that it doesnt know what $wpdb is.

function uninstall(){
        if(!current_user_can('administrator')){
            global $frm_settings;
            wp_die($frm_settings->admin_permission);
        }

$wpdb->query('DROP TABLE IF EXISTS ' . $this->displays);
        delete_option('frmpro_options');
        delete_option('frmpro_db_version');
    }

 

I added $wpdb to global declaration and fixed the error…..

12:38 pm
December 29, 2010


Steph

4

avendanl said:

Found possible bug in FRMProDb.php in function uninstall() when trying to run Uninstall it crashes and PHP error stating that it doesnt know what $wpdb is.


Yes, this is a bug I have also recently discovered.

We've been emailing too, but just in case anyone else knows… Although I don't have a setup to test anything with the pg4wp plugin, it looks as if it is not built to work with other plugins, but only with the base WordPress install. Does anyone know any more about this?

4:18 pm
January 3, 2011


avendanl

5

Steph,

   Thanks for all your help ! I realize that it does not work with other plugins. I found a couple of other people who are using WP with PgSQL as the back end. But I think they are only using the base install of WP. I cant even get any feedback from the developer of pg4wp to see if I can tweak it to make it work with Formidable.

Information/How to