I just thought I would let anyone know that is working with this that you must name the high level folder for the F1 API library "f1api-php" so that the "V2" folder is underneath it. If you don't do that correctly before you install autoload and libraries, you will get a fatal error whenever you try to use the Drupal login interface, even if you name the folder correctly later on. Clear the site cache if you didn't get the naming correct on the first try. As an example, your directory for the f1 library should be like this: /sites/all/libraries/f1api-php/V2/OAuth

Comments

kaynen’s picture

Status: Needs review » Fixed
mfer’s picture

Title: Fatal Error when library isn't named correctly » Degrade gracefully when library not named properly
Status: Fixed » Active

@kaynenh the reason you have to clear the cache is because of the way the autoload module caches file locations.

I'm opening this back up because it should degrade more gracefully.