THE WEBSITE ENCOUNTERED AN UNEXPECTED ERROR. PLEASE TRY AGAIN LATER.
ERROR MESSAGE

DATABASESCHEMAOBJECTEXISTSEXCEPTION: TABLE FLICKRUSERS ALREADY EXISTS. IN DATABASESCHEMA->CREATETABLE() (LINE 630 OF /HOME/MARCO/SVILUPPO/TEST/INCLUDES/DATABASE/SCHEMA.INC).

Drupal 7 with FlickrAPI 7.x-1.x-dev (and also with stable)
Reloading the page, the module seems active but it's not working. a lot of error in each FlickrRippr related page.

I'm not a module developer, but is there a way to get this module working, even with the base features?

Comments

elgandoz’s picture

Clean local minimal Drupal 7 installation on Ubuntu/Apache.

elgandoz’s picture

Title: Error enbling module » Error enabling module

then saving settings in admin/flickr/flickrrippr I get:

Notice: Undefined variable: form_state in flickrrippr_admin_settings_form_submit() (line 165 of /home/marco/Sviluppo/test/sites/all/modules/flickrrippr/flickrrippr.admin.inc).

the line in the file is

$markup_trust = $form_state['values']['markup_trust'];
  variable_set('flickrrippr_markup_trust', $markup_trust);

this cause the related setting is not saved

elgandoz’s picture

then going to user/1/flickrrippr i get:

Warning: array_flip(): Can only flip STRING and INTEGER values! in DrupalDefaultEntityController->load() (line 178 of /home/marco/Sviluppo/test/includes/entity.inc).

Fetching content from flickr from an existing user doesn't work ;( --> Server Error

minimism’s picture

+1 on this. I see the same error.

Following this error, I am unable to get flickrrippr to do anything; I assume that this is due to the installation failure. Somewhat frustrating since I think flickrrippr is precisely what I'm looking for!

dark11star’s picture

Any movement on this? I have the same problem.

minimism’s picture

Ok, I have made a little progress. I did a search for the error message and found this:

Thanks to post #995094: DatabaseSchemaObjectExistsException I read that "probably means that your module is incorrectly calling drupal_install_schema() in its hook_install(). This is not necessary anymore as Drupal is calling this for you automatically."

So, I commented out the body code in the install/uninstall hooks and I no longer get the error. The module still doesn't work (not helped by the total lack of documentation, so I don't know if I'm doing something else wrong), but this is some progress. The cron job is failing and not actually importing photos (I get the message "Photo not found. This should never happen" - nice.

This is using Drupal 7.2, FlickrAPI 7.x-1.x-dev. No other modules are installed.

/**
 * Implementation of hook_install().
 */
function flickrrippr_install() {
//  drupal_install_schema('flickrrippr');
}

/**
 * Implementation of hook_uninstall().
 */

function flickrrippr_uninstall() {
//  drupal_uninstall_schema('flickrrippr');
}

Is there a chance that a developer could sort this out now? It seems like the 7.x version of flickr rippr is unusable at the moment...

scooteroo’s picture

Same error...no idea where to start, any help would be most appreciated. thanks!

naringas’s picture

Can confirm this in flickrrippr 7.x-2.1-rc3

Like #7 says, commenting out drupal_install_schema('flickrrippr'); from hook_install() allowed me to install the module.

royerd’s picture

Yes, the module is unusable at the moment . . . replicating all the same problems described here and elsewhere in the thread.

DanielF’s picture

Is anyone working on this? This module looks like it would perfect for what we need, but we can't get it install properly.

royerd’s picture

We were able to do everything with this other module.

http://drupal.org/project/flickrsync

This Flickr Rippr module appears to be abandoned.

Shiny’s picture

the port to D7 was done before D7 core was released. There are likely API changes since.
Patches and co-maintainters welcome to get this working in D7.

If flickrsync does the same thing, then i'll close this module down.
someone please confirm?

lolandese’s picture

If flickrsync does the same thing, then i'll close this module down.

From the Flickr Sync project page:

Drupal 7 version is currently not under active development

Furthermore I remember trying it but deciding for Flickr Rippr (in D6) because Geo data was not supported at that time. It came closest to what I wanted for a client (auto adding Flickr photos to a blog article based on a similar tag, using date and location of a chosen photo for the article based on the EXIF data). It needed a few custom tweaks though. See Flickr Rippr in use with geo data here.

For similar functionality in D7 I switched to a combination of Feeds: Flickr and Geofield (use "Geofield (combined)" to map the field). This seems a more solid alternative than Flickr Sync and a better reason to consider Flickr Rippr obsolete. Another advantage of this approach is that you don't need a Flickr API key (it's based on the presence of a RSS feed). Setting it all up is a bit cumbersome (it's not for a novice) and could use some more documentation (on my "to do" list).

Consider putting the Maintenance status to Unsupported and Development status to No further development or Obsolete and including a note at the top of the project page, pointing to the alternatives.

Thanks for what was a great module, but indeed, with the alternative of Feeds: Flickr and Geofield it might be superseded now, but only for D7. On D6 and using geo data, Flickr Rippr still seems the best solution (because the Geofield module only has a D7 version).