Not signed in (Sign In)
Welcome, Guest

Did you know that there is a whole world of functionality you're not seeing? If you have an account, sign in now.

If you don't have an account, apply for one now.

Bottom of Page
Help: Fatal error: Call to a member function...
  1.  
1 to 4 of 4
Apr 11th 2006
hi,

i'm creating some addons for the cms joomla!

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?

greetz,
nick
Apr 14th 2006
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.
Apr 15th 2006 edited
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
Jan 4th 2010
What version of Joomla?
  1.  
1 to 4 of 4
Top of PageBack to discussions