This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Problem embedding in Wordpress php template


  1. trex33
    Member

    Love the product, but I'm having problems embedding advanced form code in a Wordpress template. To be clear, I am inserting the code directly into the Wordpress php file, not via the admin write panel. I've edited out my table name.

    Here is the result:

    select form_name, form_description, form_redirect, form_success_message, form_password, form_unique_ip, form_frame_height, form_has_css, form_active, form_captcha, form_review from ap_forms where form_id='1' Query failed: Table 'edited_wordpress.ap_forms' doesn't exist

    Posted 15 years ago #
  2. yuniar

    Hmm.. without checking your file directly, it would be difficult to trace it.
    Can you send me the file please? and the URL to your page.

    Send to: customer.service [at] appnitro.com


    MachForm Founder

    Posted 15 years ago #
  3. trex33
    Member

    Yuniar - Sent you the file and url.
    Thanks

    Posted 15 years ago #
  4. elseif
    Member

    Any resolution to this?

    I'm having the same issue when embedding the advanced form code in a WordPress page.

    The query fails to find "ap_forms" as the mysql_connect is going to the WordPress database instead of the Machform database.

    Thanks for your help.

    Posted 15 years ago #
  5. yuniar

  6. bfkouba
    Member

    I need help with this too!! I'll definitely be buying more licenses if I can get this to work with wordpress. I'm getting the same error as above... and I am actually using the integration code from the post you recommended above.

    My error looks like this:
    select form_name, form_description, form_redirect, form_success_message, form_password, form_unique_ip, form_frame_height, form_has_css, form_active, form_captcha, form_review from ap_forms where form_id='1' Query failed: Table 'wilmcs_wrdp1.ap_forms' doesn't exist

    Yuniar, I can give you a login if you want to check it out on my install. I don't know if it's a wordpress issue, or a machform issue.... but like the others have said, machform is looking at the wordpress db instead of the forms db.

    Email me at ben.kouba //@// gmail.com if you want to get in.

    THANKS!
    Ben

    Posted 15 years ago #
  7. yuniar


RSS feed for this topic

Reply