only code

Phoca Download - download manager
mfeske
Phoca Member
Phoca Member
Posts: 33
Joined: 15 Oct 2011, 16:38

only code

Post by mfeske »

Hello,
i make the code withe the button in the Editor:
{phocadownload view=file|id=9|text=Einladung|target=s}

But in the frontend and backend is only shown the code :-( Phoca Download Button Plugin is active in the Plugin Manager.

Greetings Micha
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: only code

Post by SonRiab »

You need the Phoca Download Plugin too!
The Phoca Download Button is only a nice way to create the code but do not anything else!
And please make sure you have Phoca Download installed! ;)
mfeske
Phoca Member
Phoca Member
Posts: 33
Joined: 15 Oct 2011, 16:38

Re: only code

Post by mfeske »

Okay sorry I don´t know that I need a extra Plugin. Now I have it installed an activated, but than I have a error message on some sites:

Fatal error: Call to a member function loadByOption() on a non-object in .../plugins/content/phocadownload/phocadownload.php on line 37

What´s that?

Greetings Micha
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: only code

Post by SonRiab »

Hmm, schau ich mir mal nächstes Jahr an! (^_^)
mfeske
Phoca Member
Phoca Member
Posts: 33
Joined: 15 Oct 2011, 16:38

Re: only code

Post by mfeske »

Neues Jahr :-)

Ja wäre prima, da ich die Funktion wirklich gut gebrauchen könnte. Muss ich vielleicht an irgendwelchen Plugin Reihnfolgen etwas ändern? Mir ist so als ob ich das damals bei PhocaMaps machen mußte um die Karte anzuzeigen.

Gruß
Micha
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: only code

Post by SonRiab »

Könntest du mir mal einen Link schicken, wo dieser Fehler zu beobachten ist (auch per PM ;) )? Welche Version des Plugins nutzt du?
mfeske
Phoca Member
Phoca Member
Posts: 33
Joined: 15 Oct 2011, 16:38

Re: only code

Post by mfeske »

Hallo SonRiab,

konntest Du schon eine Fehlerursache erkennen?
Wie gesagt mir war so als ob ich einen ähnlichen Fehler bei einer anderen Phoca Komponente hatte und da mußte ich die Reihnfolge der Module ändern das es klappt, ich schau gleich mal ob ich den Beitrag finde.

Gruß
Micha
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: only code

Post by SonRiab »

Wie ich dir schon schrieb, glaube ich, dass das an der Ausgabe von EventList liegt. Man müsste es halt durchtesten und die Ausgabe von EventList (wie geschrieben) entsprechend anpassen. Du kannst natürlich testweise auch die Reihenfolge ändern. Sollten alle Tests negativ ausfallen, habe ich momentan auch keine Idee.
mfeske
Phoca Member
Phoca Member
Posts: 33
Joined: 15 Oct 2011, 16:38

Re: only code

Post by mfeske »

.. der Autor von EL konnte auch nichts feststellen, aber irgendwas muss doch sein, wenn es nur an dieser Stelle auftaucht und nur wenn PD aktiviert ist.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: only code

Post by Jan »

Anyway which version of Phoca Download Plugin code you are running?

I see no such code:
Fatal error: Call to a member function loadByOption() on a non-object in .../plugins/content/phocadownload/phocadownload.php on line 37

in latest version :idea:
If you find Phoca extensions useful, please support the project
Post Reply