Lisa and Sue, try this updated version - http://digitalwaxworks.com/expressionengine-2/flickr/DigitalWaxWorks_flickr-2.0.1.zip. It should address the issue of that missing class.
I removed authentication from Flickr and clicked again to activate. Got:
Parse error: syntax error, unexpected T_REQUIRE_ONCE, expecting T_FUNCTION in /www/username/system/expressionengine/third_party/dww_flickr/libraries/HTTP/Request.php on line 124
Something you need to do, or do I need to recreate the app in Flickr or something?
Nope, thats on my end. My ‘fix’ caused more problems it looks like. Easiest way to tackle it is to have you just edit that file instead of zip a new one and make you re-install.
Can you open up that file in question and change line 124 to:
require_once('Net/URL.php');Thanks for the help in debugging this, much appreciated!
Ok, I’ve cleaned up the libraries a bit so hopefully this will work - http://digitalwaxworks.com/expressionengine-2/flickr/DigitalWaxWorks_flickr-2.0.1.zip
Alright, I added a tag pair, just a simple test:
{exp:dww_flickr:photostream}
{flickr_img}
{/exp:dww_flickr:photostream}and I get:
A PHP Error was encountered
Severity: Notice
Message: Undefined index: dww_flickr
Filename: dww_flickr/pi.dww_flickr.php
Line Number: 220
A PHP Error was encountered
Severity: Notice
Message: Trying to get property of non-object
Filename: dww_flickr/pi.dww_flickr.php
Line Number: 220Wow, sorry for all the issues Lisa :( Everything seemed to be working fine on my dev site.
Looks like its not pulling the settings from the Fieldtype correctly. Can you go to the Fieldtype settings page for Flickr and send me a screenshot of the variables? Feel free to PM me the image.
Thanks again for all this help!
-Brett
Can you add this line to pi.dww_flickr.php at Line 221
print_r($flickr_ft);So it would appear just after these two lines:
$flickr_ft = new EE_Fieldtype();
$flickr_ft = $flickr_ft->EE->config->EE->api_channel_fields->field_types['dww_flickr']->settings;That’ll spit out the settings from the fieldtype and help us figure out what the problem is. You can PM me the output if you don’t want to share you paths/settings publicly.
Thanks!
-Brett
like so?
function _flickr() {
$flickr_ft = new EE_Fieldtype();
$flickr_ft = $flickr_ft->EE->config->EE->api_channel_fields->field_types['dww_flickr']->settings;
print_r($flickr_ft);
$option_api = $flickr_ft['option_api'];
$option_secret = $flickr_ft['option_secret'];
$option_auth = $flickr_ft['option_auth'];Because this didn’t make anything more show up on the page than what i sent in the screenshot.
I’m trying to install the EE 2.0 version and after I click “click to activate”, I get this:
Notice: Use of undefined constant BASEPATH - assumed 'BASEPATH' in /path/to/system/expressionengine/third_party/dww_flickr/libraries/Phpflickr.php on line 90
Notice: Use of undefined constant APPPATH - assumed 'APPPATH' in /path/to/system/expressionengine/third_party/dww_flickr/libraries/Phpflickr.php on line 90
Notice: Use of undefined constant EXT - assumed 'EXT' in /path/to/system/expressionengine/third_party/dww_flickr/libraries/Phpflickr.php on line 90
Notice: Use of undefined constant EXT - assumed 'EXT' in /path/to/system/expressionengine/third_party/dww_flickr/libraries/Phpflickr.php on line 90
Notice: Use of undefined constant APPPATH - assumed 'APPPATH' in /path/to/system/expressionengine/third_party/dww_flickr/libraries/Phpflickr.php on line 90
Notice: Use of undefined constant EXT - assumed 'EXT' in /path/to/system/expressionengine/third_party/dww_flickr/libraries/Phpflickr.php on line 90
Notice: Use of undefined constant EXT - assumed 'EXT' in /path/to/system/expressionengine/third_party/dww_flickr/libraries/Phpflickr.php on line 90
Unable to locate the specified class: ExceptionsEXTI’m running EE locally on MAMP, if it makes a difference.
Also, a suggestion: It looks like using the photosets tag pair will display my sets’ cover photos, but the only option is to link them to the set’s Flickr page. It would be great to have the option of clicking through to the set within EE (just like the photostream tag pair).
I’m running EE locally on MAMP, if it makes a difference.
I’m guessing this is because you’re running it on MAMP. It looks like the needed PHP variables aren’t set on your server. Have you had any issues with other add-ons not working on your MAMP install?
Also, a suggestion: It looks like using the photosets tag pair will display my sets’ cover photos, but the only option is to link them to the set’s Flickr page. It would be great to have the option of clicking through to the set within EE (just like the photostream tag pair).
This is scheduled for down the road.
like so? Because this didn’t make anything more show up on the page than what i sent in the screenshot.
Yep, you did everything correctly. Weird error, its like your dww_flickr settings aren’t being saved, yet they’re appearing in the Flickr fieldtype settings.
I may need to find a better way to access the settings.
Try this - go add a Flickr fieldtype to one of your field groups. I’m guessing that once you do that the plugin tags will work. If so, that’ll confirm that I need to pull the settings a different way.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.