Share » Forums » Setup & design » Error with Module

Error with Module

Error with Module

Wednesday 17 August 2005 1:14:56 pm - 4 replies

Modified on Wednesday 17 August 2005 1:18:57 pm by Daniel Guerrier

Author Message

Daniel Guerrier

Thursday 18 August 2005 7:21:05 am

anyone have an idea what might be the problem?
I started from scratch and came to the same point.

Daniel Guerrier

Friday 19 August 2005 10:38:27 am

Does anyone have an idea of what is wrong?

Daniel Guerrier

Saturday 20 August 2005 12:33:09 pm

I guess I should assume I'm on my own with this one?

Bertrand Dunogier

Sunday 28 August 2005 11:13:56 am

Err Daniel, somethins is wrong with your definition (you may have guessed that already ^^):

$Module = array( "name" => "s2htopten" );

Your module name is s2htopten, okay.$

$FunctionList['s2htopten']

You define a function named like the module (?!)

{let testingplease=fetch( 's2htopten', 'getDownloadCount', hash( 'id', 119) )}

you try to call the getDownloadCount function of the s2htopten module... and it has never been defined.

What you need is probably

$FunctionList['getDownloadCount'] = ...

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu