Forum pragmaMx France 24 Mai 2012 à 12:42:28 *
Bienvenue, Invité. Veuillez vous connecter ou vous inscrire.


Connexion avec identifiant et mot de passe
 
Accueil Aide Rechercher
Pages: [1]   Bas de page
Imprimer
Auteur Fil de discussion: Problem avec le module TopMusic  (Lu 5900 fois)
break_dancer
Néophyte Mx
*
Hors ligne Hors ligne

Messages: 3


« le: 29 Juillet 2008 à 21:14:27 »

Bonjour,

excusez moi par escrire cet article en anglais, parceque mon francais ne pas bien.

I have downloaded the script TopMusic and installed as already given in the forum.

Unfortunately I had to discover some Nuke-typical Problems with the module as follows:

a) In the admin panel when clicking on the item for the TopMusic-module I receive the following error-message:

Code:
Fatal error: Call to a member function getId() on a non-object in /home/www/flat13/html/admin/modules/topmusic/lib/com/sergids/topmusic/model/ArtistAdmin.php on line 9

The equivalent code line tells me:

Code:
$id=$artistO->getId();

The same problem also appears on other datafiles within the user-interface, but I think when the problem can be solved here, it can be solved everywhere in the code.

Could anyone be so kind to tell me if help is possible ? You can answer in french if you want, I think I will be able to understand whatever you write !

Kind regards

Break_Dancer

« Dernière édition: 29 Juillet 2008 à 22:54:14 par break_dancer » Journalisée
break_dancer
Néophyte Mx
*
Hors ligne Hors ligne

Messages: 3


« Répondre #1 le: 29 Juillet 2008 à 23:13:25 »

Okay guys,

after two hours of searching the web I just came to the result, that I do have to define the variable before it is been used...

But how ?

How hast the following to be written correctly to work ?

Code:
if (!isset($id) || !is_object($id)) {
    $id = getID();
}

This does not work. How do I have to change it ?

Comment je dois changer cet ligne de code ?

Kind regards

Markus
« Dernière édition: 29 Juillet 2008 à 23:15:47 par break_dancer » Journalisée
break_dancer
Néophyte Mx
*
Hors ligne Hors ligne

Messages: 3


« Répondre #2 le: 01 Août 2008 à 12:17:52 »

Nobody an idea for that ?
Journalisée
Pages: [1]   Haut de page
Imprimer
Forum pragmaMx France  |  Modules spécifiques & Blocs  |  Modules externes php-nuke (Modérateurs: Diabolo, kroms, phi56360)  |  Fil de discussion: Problem avec le module TopMusic
 
Aller à:  

Powered by SMF 1.1.15 | SMF © 2006-2009, Simple Machines

Plus