Phoca Download - Displaying in article doesn't work

Phoca Download - download manager
mrmrmrmr
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Feb 2015, 11:44

Phoca Download - Displaying in article doesn't work

Post 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.
mrmrmrmr
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Feb 2015, 11:44

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

Post 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) ?
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9611
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

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

Post 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
HGH
Phoca Member
Phoca Member
Posts: 14
Joined: 01 Mar 2014, 07:50

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
HGH
Phoca Member
Phoca Member
Posts: 14
Joined: 01 Mar 2014, 07:50

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply