Welcome to Geeklog, Anonymous Saturday, April 20 2024 @ 03:04 am EDT

Geeklog Forums

dailyquote call to undefined function


Status: offline

scroff

Forum User
Regular Poster
Registered: 02/19/03
Posts: 111
embarrassed
I installed dailyquote 1.0.5IEfix_1.3.10. The install went smoothly with the appropriate success message, but then I received...

fatal error: Call to undefined function: custom_showblocks() in /path/to/plugins/dailyquote/functions.inc on line 840

when I click on any of the links for Daily Quote.

I'm sorry, this is probably real obvious... but I'm lost. I don't even know where to begin looking...

functions.inc has this on line 855

Text Formatted Code
//returns the dq menu block and other left blocks when on plugin pages
function dqmenu(){
    $a = array('dqmenu');
    $retval = custom_showBlocks($a);
    $retval .= COM_showBlocks( 'left', $topic );
    return $retval;
}
 


That's the only place I've found custom_showblocks in functions.inc...


GL 1.3.11, php 4.3.10
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
that function should be in lib-custom.php. I just checked the 1.3.11 tarball and it is there. let me know if it is or is not in your lib-custom.php and we'll go from there.
 Quote

Status: offline

scroff

Forum User
Regular Poster
Registered: 02/19/03
Posts: 111
embarrassed
See? I said it was probably obvious....

I must have kept my lib-custom when I upgraded to 1.3.11. It's not in the one I'm using, but it is in the one in the upgrade... I'm updating now... Doh! - that was a mistake

Thanks lots, machinari...
 Quote

All times are EDT. The time is now 03:04 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content