Title: Plugin doesn&#039;t work
Last modified: September 1, 2016

---

# Plugin doesn't work

 *  Resolved [Minh Nguyen](https://wordpress.org/support/users/ducminhn/)
 * (@ducminhn)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/)
 * I’m trying to use this plugin on our client’s WP site and it’s totally broken.
   
   First I got an error message when click on the Pardot button in the WYSIWYG: `
   Fatal error: require(): Failed opening required '/home/wp-load.php' (include_path
   ='.:/usr/lib/php:/usr/local/lib/php') in /home/drivedev/public_html/dev.stat/
   drive/plugins/pardot/includes/pardot-wp-loader.php on line 58`
 * After I modified the the pardont-wp-loader.php file to have the correct path 
   to wp-load.php file, I got another message said there’s no wp-config file on 
   my site, which is completely wrong.
 * Anyone has an idea what’s happening here?
 * Thanks,
    Minh
 * [https://wordpress.org/plugins/pardot/](https://wordpress.org/plugins/pardot/)

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

 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-7692544)
 * Hi, have you taken a look at [the FAQ](https://wordpress.org/plugins/pardot/faq/)?
   You should define your path to wp-load using a constant.
 *  Thread Starter [Minh Nguyen](https://wordpress.org/support/users/ducminhn/)
 * (@ducminhn)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-7692633)
 * Hi Cliff,
 * Thanks for your quick response.
 * Yes, I did create a custom file to set the path to wp-load.php file. That fixed
   the error but then I have this message and I couldn’t find where did you check
   for the wp-config.php file.
 * [Error Message](https://www.evernote.com/shard/s124/res/d3b3cc8d-a8fd-42eb-8597-2db2960deb82)
 * Please help me on this.
 * Thank you!
    Minh
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-7692674)
 * I can’t see the error message, unfortunately.
 * The plugin shouldn’t be checking for wp-config.php directly, so I’m not sure 
   what you mean.
 *  Thread Starter [Minh Nguyen](https://wordpress.org/support/users/ducminhn/)
 * (@ducminhn)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-7692718)
 * Hi Cliff,
 * Sorry for not having the image accessible. I think the issue is with the tinymce/
   pardot-forms-shortcode-popup.php file when it creates the body html for the popup
   window.
    This is the message I got when click on the Pardot button on the WYSIWYG:
   [Message](https://www.dropbox.com/s/5qr8wy1rhcmb4vx/pardot.png?dl=0)
 * And this is the console log error
    [Console Error](https://www.dropbox.com/s/3d7n0jhi42yrsbo/pardot_2.png?dl=0)
 * Please let me know if you have any idea of what may be the reason. Like I mentioned
   above, the site has custom WP folder structure:
    / __core/ ______wp-admin/ ______wp-
   content/ ______wp-includes/ ______… __drive/ ______themes/ ______plugins/ ______uploads/
   __wp-config.php __index.php …
 * Thank you so much for your help on this.
 * Regards,
    Minh
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-7692719)
 * Can you paste the contents of the pardot-custom-wp-load.php file?
 *  Thread Starter [Minh Nguyen](https://wordpress.org/support/users/ducminhn/)
 * (@ducminhn)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-7692726)
 * Ah ha,
 * I found my mistake in the pardot-custom-wp-load.php file. I had a typo in the
   path to wp-load.php file on my server.
    This is the updated one:
 *     ```
       <?php
       define('PARDOT_WP_LOAD', '/home/drivedev/public_html/dev.project/core/wp-load.php');
       ```
   
 * Now the popup window is having the right content except it couldn’t pull any 
   form I have on my pardot account.
    [Popup Window](https://www.dropbox.com/s/6wbe5ktq27uwkjl/pardot_3.png?dl=0)
 * This is the screenshot of my Pardot forms list:
    [Forms List](https://www.dropbox.com/s/z59eu3q0yf1bgrh/Screenshot_082316_110543_AM.jpg?dl=0)
 * This is the screenshot of my Pardot settings in WP back-end:
    [Pardot Settings](https://www.dropbox.com/s/3xlyw30dx8r7h0b/pardot_5.png?dl=0)
 * Sorry for my dump mistake above and please let me know if you can see anything
   wrong with my settings.
 * Regards,
    Minh
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-7692929)
 * Ack! It looks like my previous response didn’t come through.
 * If you’re working with a relatively new Pardot account, you may be having a standing
   issue, outlined here: [https://wordpress.org/support/topic/existing-forms-not-found?replies=5](https://wordpress.org/support/topic/existing-forms-not-found?replies=5)
 * Let me know if that helps.
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-8170695)
 * If you’re still having issues related to this, I would love for you to try version
   1.4.1’s RC: [https://github.com/Pardot/pardot-for-wordpress/archive/1.4.1.zip](https://github.com/Pardot/pardot-for-wordpress/archive/1.4.1.zip)
 * That’s being tested as a fix for the API version issue. You’ll simply need to
   choose version 4 in the Pardot settings area and re-authenticate. You may need
   to clear the plugin’s cache as well—do that by clicking the button on the settings
   page.
    -  This reply was modified 9 years, 8 months ago by [Cliff Seal](https://wordpress.org/support/users/cliffseal/).
    -  This reply was modified 9 years, 8 months ago by [Cliff Seal](https://wordpress.org/support/users/cliffseal/).
 *  Plugin Author [Cliff Seal](https://wordpress.org/support/users/cliffseal/)
 * (@cliffseal)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-8174901)
 * To anyone who does try the version I linked above: the plugin files you need 
   are in the “trunk” folder.
 *  [Corey Worrell](https://wordpress.org/support/users/coreyw/)
 * (@coreyw)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-8544396)
 * [removed]
    -  This reply was modified 9 years, 5 months ago by [Corey Worrell](https://wordpress.org/support/users/coreyw/).

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

The topic ‘Plugin doesn't work’ is closed to new replies.

 * ![](https://ps.w.org/pardot/assets/icon-256x256.png?rev=2995205)
 * [Account Engagement](https://wordpress.org/plugins/pardot/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pardot/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pardot/)
 * [Active Topics](https://wordpress.org/support/plugin/pardot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pardot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pardot/reviews/)

 * 10 replies
 * 3 participants
 * Last reply from: [Corey Worrell](https://wordpress.org/support/users/coreyw/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-doesnt-work-135/#post-8544396)
 * Status: resolved