Page 1 of 2

Plug In Button Error

Posted: 12 Apr 2011, 15:06
by pkonstan
I need to get this working. I am running 1.6.1 with your Beta 2 version of Phoca Download. This is the error I am receiving when I try to link to a document via an article. Thanks in advance for your help

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/kdmtesti/public_html/apopka2/libraries/joomla/database/database/mysqli.php on line 345

Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in /home/kdmtesti/public_html/apopka2/libraries/joomla/database/database/mysqli.php on line 345

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/kdmtesti/public_html/apopka2/administrator/components/com_phocadownload/helpers/phocadownload.php on line 166

Warning: Invalid argument supplied for foreach() in /home/kdmtesti/public_html/apopka2/libraries/joomla/html/html/select.php on line 509

Fatal error: Call to undefined method PhocaDownloadHelper::filterSection() in /home/kdmtesti/public_html/apopka2/administrator/components/com_phocadownload/views/phocadownloadlinkfile/view.html.php on line 78

Re: Plug In Button Error

Posted: 12 Apr 2011, 19:09
by Benno
Hi,
the reason of this error messages is very simple, the available Phoca Download Plugin and Phoca Download Button Plugin are Joomla 1.5 Plugins. They are not compatible with joomla 1.6.

Kind regards,
Benno

Re: Plug In Button Error

Posted: 13 Apr 2011, 17:40
by pkonstan
I thought that may be the case. Will there be a new version available soon?

Re: Plug In Button Error

Posted: 13 Apr 2011, 18:45
by Benno
Hi,
Will there be a new version available soon?
Yes, I think Jan the only developer of all this extensions will do this, but I don't know when.
Kind regards,
Benno

Re: Plug In Button Error

Posted: 29 Jun 2011, 14:38
by frimann
Hi

I'm getting the same error message when I'm trying to use the Phoca Download Button to place a file download in an article.
However, I am using Joomla 1.6, Phoca Download plugin 2.0.1 (joomla 1.6) and Phoca Download Button Plugin 2.0.0 (joomla 1.6) Both plugins should be for Joomla 1.6, according to your website.

https://www.phoca.cz/download/category/3 ... oad-plugin
https://www.phoca.cz/download/category/4 ... ton-plugin

Can you tell me why? :idea:

Re: Plug In Button Error

Posted: 29 Jun 2011, 15:20
by Jan
Hi, enable debug mode the get info from the database.

Jan

Re: Plug In Button Error

Posted: 29 Jun 2011, 15:48
by frimann
eh?
Sorry, I'm a newbie :oops:
Can You explain please?

Re: Plug In Button Error

Posted: 29 Jun 2011, 16:01
by frimann
Now it works. I installed the latest version of the download component.
However, when I'm using the Phoca Download Button to place a singel file download. I'm getting an error when I try to download it:
500 - View not found [name, type, prefix]: section, html, phocadownloadView
Furthermore, I can't see my uploaded files in the components cotrol panel under "Files". No files are listet?

Re: Plug In Button Error

Posted: 29 Jun 2011, 23:49
by Jan
Hi, enable php error reporting an debug mode to get info about the error.
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan

Re: Plug In Button Error

Posted: 04 Aug 2011, 20:52
by chwagssd
I found a solution, it is saying "there is not view named 'section'", right? So I went into /components/com_phocadownload/router.php and found the reference to "section" and changed it to "category"... works like a charm.

It is on line 140 of /components/com_phocadownload/router.php

Before:

Code: Select all

$vars['view'] = 'section';
After:

Code: Select all

$vars['view'] = 'category';