Comments

superfedya’s picture

The message: Oops! Flickr can't find a valid callback URL.

superfedya’s picture

Priority: Major » Critical

This error is pretty critical. This module doesn't work if my Drupal is in the directory.
Any fix?
Thanks!

sirkitree’s picture

Priority: Critical » Major

Did you try just changing the callback URL?

sirkitree’s picture

you probably want to make a change in the function flickr_imagefield_phpFlickr_submit. It's not using base_url() as part of the path. Should be something like:

function flickr_imagefield_phpFlickr_submit() {
  global $base_url;
  $proto = $_SERVER['HTTPS'] ? 'https://' : 'http://';
  $module_path = drupal_get_path('module', 'flickr_imagefield');    
  $path  = $proto . $_SERVER['SERVER_NAME'] . $base_url .'/'. $module_path;
  drupal_goto($path .'/phpFlickr/auth.php');
}