Page 1 of 1

Phoca Download - Displaying in article doesn't work

Posted: 28 Feb 2015, 11:49
by mrmrmrmr
Hi,

I am trying to use Phoca Download with ICEtheme named IT Future.
When I add the Phoca Download directly to a menu item, it shows well.
However , if I use it with a link like below, it doesn't show the plugin. Instead, it shows the line below as is:

{phocadownload view=file|id=1|target=s}

Am I missing some settings ? What can I do to troubleshoot this ?

Thanks.

Re: Phoca Download - Displaying in article doesn't work

Posted: 28 Feb 2015, 12:41
by mrmrmrmr
nevermind I think I've found the problem.
there is a content plugin and a download plugin. One of them was not installed on my site.
Now I installed and it works fine.

what is these 2 files for (each) ?

Re: Phoca Download - Displaying in article doesn't work

Posted: 28 Feb 2015, 15:34
by Benno
Hi,
what is these 2 files for (each) ?
1.) Phoca Download Button Plugin creates valid code.
2.) Phoca Download Content Plugin executes this code.

Kind regards,
Benno

Re: Phoca Download - Displaying in article doesn't work

Posted: 01 Mar 2015, 18:45
by HGH
Hi,

having the same problems after updating from J2.5.28 to J 3.4.0. Migration of phocadata from DB(2.5) -> DB(3.4.0) was ok.
But all existing phocadownload statements in articles dont work. Phoca-button in jce-editor works.

The Phoca Download Button Plugin and Phoca Download Content Plugin are installed and aktiv.

What can I do?

Here are some screenshots.

This is the source:
https://www.dropbox.com/sc/4rr0vzhjcog2 ... pbLmKwHZ2a

This is shown:
https://www.dropbox.com/sc/l76euu3mcgl3 ... llCZGGP_Da

Regards

Re: Phoca Download - Displaying in article doesn't work

Posted: 03 Mar 2015, 13:30
by Jan
Hi, in case the plugin code is displayed instead of running the code, the problem can be:

- plugin is not installed or not published
- plugin is not set in content - not in article but on other place.

But in your case, the plugin code is not displayed so there seems to be another problem:

- check if you editor didn't strip the code - is the plugin code included - after saving the article?
- is this standard article?
- is there any extension e.g. which can skip working the content plugins on your site?
- check the php error (enable php error reporting or see errorLog which can display some error message which then can tell more :idea: - https://www.phoca.cz/documents/16-joomla ... rs-on-site )

Jan

Re: Phoca Download - Displaying in article doesn't work

Posted: 09 Mar 2015, 18:07
by HGH
Hi Jan,

the problem was much easier. There was no Data in the corresponding DB-Tables.

I think it will be a good idea, that the tools check for empty tables (no-data) and give out a message for that.
It is of course very irritating, when all is installed perfect and nothing will work.

After copying the phoca-tables with phpMySql into the new database, all is now perfect.

regards HGH

Re: Phoca Download - Displaying in article doesn't work

Posted: 14 Mar 2015, 18:26
by Jan
Ok