Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    Warning: require_once(../../../wp-load.php): failed to open stream: No such file or directory in /home/name/name-wp/content/plugins/congresslookup/getData.php on line 5

    Have you changed your directory structure for your WP install? The wp-load.php is part of core WP and is in the main WP directory which is usually named /wp-content/ (which you have apparently changed the name of in your install). If your core WP files are in /name-wp/ then you need to open /plugins/congresslookup/getData.php file and on line 5 add another directory level to the relative path.

    IOW: change (../../../wp-load.php) to (../../../../wp-load.php)

    If you did not change the directory structure of your WP install, and wp-load.php is in your /contents/ directory, then let me know and I’ll have a developer look into the error you are receiving.

    Thread Starter mx_wp

    (@mx_wp)

    Thanks for the quick response. Our install for this site is very funky – for some reason it was setup by a consultant this way. We changed the directory to the wp-load.php file and now we are no longer getting that error. However when we put in an address, we are now getting the message:

    Address or zip code not found. Please try again..

    This happens at https://www.hfsa.org/hfsa-wp/wp/congressional-lookup/. You think we need to change any other values?

    Thanks,
    Bob

    Plugin Author ConstructiveGrowth

    (@constructivegrowth)

    I’m glad we got it partially working.

    The MOST common reason for the error you are having is API activation. In the email that Sunlight Foundation sent you (that has in it your API key) there is also a link that MUST be clicked to activate the API. Please make sure you click that link and try the plugin again. NOTE: some users have found it might take a few minutes for it connect the first time.

    If the plugin still does not work then please work through the rest of these troubleshooting tasks: https://www.ads-software.com/plugins/congresslookup/other_notes/

    If you still can not get it activated then please contact me again.

    BTW, if you want, you can contact me at [email protected] and we can talk more about your general website issues.

    Thread Starter mx_wp

    (@mx_wp)

    Thanks for the quick followup. I’ll try deactivating the plugins after hours. My key was fine and it was activated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error when implementing’ is closed to new replies.