Are you still running Prophoto3 on your website? Is your contact form working?
I went through the recommended Prophoto fixes to get the contact form displaying again and nothing was working. When switching the form to Simple Mode On as recommended all content disappeared, but clicking on the Contact link revealed an error.
[php]Warning: require_once(X:\Hosting\XXXXXXX\html\blog\wp-content/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in X:\Hosting\XXXXXXX\html\blog\wp-content\themes\prophoto3\prophoto3\includes\contact-form.php on line 3[/php]
From this I was able to determine where the issue was, contact-form.php, and what the issue was, loading wp-content.php. If you look at the WordPress directory structure, you’ll see that wp-load.php is not located in the wp-content folder which is where it was being called from.
Here’s a quick fix to get the contact form appearing again. This does require editing a file and I will take for granted that you know how to do that. Most of the time your host will have a file manager in your control panel that will allow for things like this. Otherwise, you can download the file, open it in Notepad and then re-upload it again. Or, contact me and I’ll get it done for you.
The file we are going to edit is contact-form.php. This file resides in
Line 3 of this file reads
[code]require_once( dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) . ‘/wp-load.php’ );[/code]
We are going to change that to read
[code]require_once( ABSPATH . ‘wp-load.php’);[/code]
The easiest way to edit a php file is to comment out the original line and add in the new line. This way if something goes wrong, you can easily (and quickly) reverse the change. To comment out a line you simply add // to the beginning.
The beginning lines of this file should now read:
// Load WordPress environment
//require_once( dirname( dirname( dirname( dirname( dirname( __FILE__ ) ) ) ) ) . ‘/wp-load.php’ );
require_once( ABSPATH . ‘wp-load.php’);
do_action( ‘p3_pre_contact_form’ );[/code]
Now in your WordPress Admin, navigate to Appearance-> P3 Customize. Click the Contact tab, scroll to the bottom and you’ll see an option for Loading Simple Mode, set that to on and you should be all set. Hop over to your site and test your contact form to ensure it’s loading properly.
If you’re running Prophoto 3 and you’re happy with it, by all means stay there. But, I highly recommend P5! The new options are so very much worth the upgrade. Use this link -> Prophoto.com <- and save $10! While you’re thinking about that, is it time for a new, fresh look for your business?