everything worked fine when i programmed a component and some modules. now i want to program a mambot, that replaces some keywords while generating the page. i want to replace {flickr setid="..."} with the pictures of the corresponding set.
but when i include the phpflickr class with require_once($mosConfig_absolute_path."/mambots/flickr4j/phpFlickr/phpFlickr.php"); i get an error. the code is correct, everything else works fine. this line is the problem. i then get this error:
Fatal error: Call to a member function on a non-object in /home/www/web660/html/flickr4j/includes/Cache/Lite/Function.php on line 106
on line 106 there is the following code: $this->save(serialize($array), $id, $this->_defaultGroup);
but i don't know why this is called anyway. i don't want to cache anything.
any ideas? is this a bug in the phpflickr library?
Nick, I'm not sure what it's doing there. I don't know joomla well enough to say. I'll take a look at that code and see if I can spot anything obvious.
thanks for your response. should i send you my code or do you want an ftp account to my webspace? if i find a solution for this problem, i would finally be able to release my flickr4j addons for joomla. btw: my project site: http://flickr4j.nborn.ch