[eluser]mrbinky3000[/eluser]
Hello. Sorry if this is the wrong place to ask for help with CI sparks, but their is no forum link on their website (that I can find).
So, I followed the CI tutorial to create my own spark. I decided to "Spark-i-fy" Google's ReCaptcha code. I ran it through the spark-sdk tests, I uploaded it, people have downloaded it, all seemed fine.
I can't for the life of me get CI 2.0.2 to load the Recaptcha.php file in my sparks/recaptcha/1.11.0/libraries folder. I added some debugging code and it seems like the MY_Loader.php file can find the "libraries" folder for my spark, but won't call Recaptcha.php. I put a die("I made it here") line in the Recaptcha.php __controller() method. It's never called.
When I try to call the method recaptcha_get_html() in Recaptcha.php, I get
Fatal error: Call to a member function recaptcha_get_html() on a non-object
However, example_sparks->helloWorld() works just fine (from the sparks tutorial)
I've seen some bugs about CI's loader, config files, and stuff. Anybody have any ideas?