Did you provide your API key etc. correctly? Do ensure that you have no leading or trailing spaces in the API key.
What is the shortcode you are using?
I’m not sure where I am supposed to provide my API Key. Do I insert that info into the photonic .php file?
It looks to me that my smugmug account is automatically linked (and automatically providing my ACI key) to the wordpress – photonic app.
The shortcode I’m using looks like this:
[gallery type='smug mug' view='album' album='xxxxx_xxxxxx' columns='4']
oops. shortcode looks like this…
[gallery type='smugmug' view='album' album='xxxxx_xxxxxx' columns='4']
there is no space between “smug” and “mug”
Okay. I just figured out WHERE to provide my API Key.
I re-entered that AND the secret.
This did not solve the problem.
I can confirm that I have properly provided my API key.
The shortcode I’m using is also the exact same short code I’ve used for a long time now.
I didn’t follow your last post – are you saying that you have been using Photonic for quite some time, and all of a sudden this stopped working? The reason I ask is because of your statement:
The shortcode I’m using is also the exact same short code I’ve used for a long time now.
I have been using Photonic for about 4 years now and all of a sudden this stopped working.
OK; I haven’t released any update to the plugin for the past few months, so this isn’t something that I recently broke. My guess is that something might have changed with your hosting provider’s settings, but it is impossible for me to guess what without doing some troubleshooting on your site. Did you recently switch from HTTP to HTTPS, or change something fundamental on your site, like disabling cURL? If you don’t know the answer to this question, can you check with your hosting provider as well?
I did change my DNS management at my domain host so.
I was trying to make it so that my email campaigns that I send through Mailchimp would all appear to come from my website host and not from mail chimp. Here is the instructions that they gave me…
http://kb.mailchimp.com/binaries/content/gallery/mailchimpkb/common/account/dns/account_clickauthenticatedomain_modal.jpg
This is the one and only thing I can think of that has changed.
I don’t believe that is causing the issue. The only way to figure out what is happening would be to forcefully print out the error. Basically what is happening is that WP is failing to communicate with Smugmug. If you put this in right before line 166 of the problematic file and reload the page, it will give you the error details:
print_r($response);
Can you make this change and reload, then let me know what message you get? You can remove the line after you have provided me with the error information.
I’m sorry, but I don’t know how to tell which is line 166.
I counted down to what I THOUGHT was line 166 and got this message:
Parse error: syntax error, unexpected T_ELSE in /home/content/k/o/a/koalatyadmin/html/qdpb/wp-content/plugins/photonic/photonic.php on line 172
Okay.
I’m getting a little better at this. I think I found the proper “Line 166”.
Here is the newest error I got:
WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure ) ) [error_data] => Array ( ) )
Fatal error: Cannot use object of type WP_Error as array in /home/content/k/o/a/koalatyadmin/html/qdpb/wp-content/plugins/photonic/extensions/Photonic_SmugMug_Processor.php on line 167
Thanks. This particular message is illuminating:
WP_Error Object ( [errors] => Array ( [http_request_failed] => Array ( [0] => error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure ) ) [error_data] => Array ( ) )
It seems like somehow WP failed to make a connection to Smugmug for your site.
I can only think of one more thing to attempt: change the connection to HTTP instead of HTTPS (i.e. SSL). For this, you can go to lines 141 and 144, and change this:
https://secure.smugmug.com/services/api/json/1.3.0/
to:
http://secure.smugmug.com/services/api/json/1.3.0/
If this doesn’t work, you might have to talk to your hosting provider.
That did it!
Thanks a ton!!!