I upgraded the component, download plugin, and download button plugin to v1.3.2.
I have an article with the text:
I don't know what this is about.
{phocadownload view=fileplay|id=1|playerwidth=328|playerheight=200|playerheightmp3=30}
{phocadownload view=file|id=1|target=s}
I get this error when displaying the article: Warning: Invalid argument supplied for foreach() in /home/bcnaarn6/public_html/components/com_phocadownload/helpers/route.php on line 179
It shows that same text 3 times right above the article. The direct play link works fine but the download link does not, instead of downloading it takes me to the file manager for the file. I do not get the errors and the download link works fine if I downgrade to plugin v1.3.1, but then I can't have the direct play link, which I was excited to see added.
UPDATE: I added the code from phocadownload.php in v1.3.1 for case 'file': (lines 173-202) to the same file in v1.3.2 under case 'file': (line 211). The errors are gone and the download link works correctly now.
Error after upgrading download plugin to v1.3.2
-
Anseas
- Phoca Newbie

- Posts: 2
- Joined: 01 Feb 2010, 07:58
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error after upgrading download plugin to v1.3.2
Hi, try to update to 1.3.3 (component and both plugins and let me know)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
Anseas
- Phoca Newbie

- Posts: 2
- Joined: 01 Feb 2010, 07:58
Re: Error after upgrading download plugin to v1.3.2
I upgraded the component and both plugins to v1.3.3. If I direct link to the article it works fine. It also shows up fine when I post it on the front page. When I go to a category blog layout that contains the article all I get is a white screen with the text: Fatal error: Call to a member function get() on a non-object in /home/bcnaarn6/public_html/plugins/content/phocadownload.php on line 55
If I turn off the download plugin the category blog view shows the article exactly as it is posted above.
If I turn off the download plugin the category blog view shows the article exactly as it is posted above.
-
Danemcg
- Phoca Newbie

- Posts: 2
- Joined: 01 Feb 2010, 20:42
Re: Error after upgrading download plugin to v1.3.2
Don't know if this is related or not, but on upgrading to 1.3.3, any page I go to when logged in is totally blank. Turning on debug does nothing, looking at the underlying HTML reveals nothing but two carriage returns on the page, no other code at all. Disable Download Plugin and everything works fine.
-Dane
-Dane
-
moldovanin
- Phoca Newbie

- Posts: 3
- Joined: 02 Feb 2010, 11:43
Re: Error after upgrading download plugin to v1.3.2
I have this error too. Turn off the download plugin-but this is not a solution.Anseas wrote:I upgraded the component and both plugins to v1.3.3. If I direct link to the article it works fine. It also shows up fine when I post it on the front page. When I go to a category blog layout that contains the article all I get is a white screen with the text: Fatal error: Call to a member function get() on a non-object in /home/bcnaarn6/public_html/plugins/content/phocadownload.php on line 55
If I turn off the download plugin the category blog view shows the article exactly as it is posted above.
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error after upgrading download plugin to v1.3.2
Hi, seems like there was problem while reading parameters, it should be fixed now, download the plugin now - plg_content_phocadownload_v1.3.3.zip and upgrade. It should work.
Please let me know.
Jan
Please let me know.
Jan
If you find Phoca extensions useful, please support the project
-
moldovanin
- Phoca Newbie

- Posts: 3
- Joined: 02 Feb 2010, 11:43
Re: Error after upgrading download plugin to v1.3.2
SOLVED by upgrade to new version. Thank you for good job.Jan wrote:Hi, seems like there was problem while reading parameters, it should be fixed now, download the plugin now - plg_content_phocadownload_v1.3.3.zip and upgrade. It should work.
Please let me know.
Jan
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error after upgrading download plugin to v1.3.2
Great to hear it. Jan
If you find Phoca extensions useful, please support the project
-
Talyn
- Phoca Newbie

- Posts: 6
- Joined: 11 Oct 2009, 00:56
Re: Error after upgrading download plugin to v1.3.2
Hi
I have a problem with plg_content_phocadownload_v1.3.3 downloading from this page.
When I want to open it, it looks like the zip file is damages.
It has 62 kb.
Somebody can correct me?
I have a problem with plg_content_phocadownload_v1.3.3 downloading from this page.
When I want to open it, it looks like the zip file is damages.
It has 62 kb.
Somebody can correct me?
- Jan
- Phoca Hero

- Posts: 49138
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Error after upgrading download plugin to v1.3.2
Hi, I am testing it now and get no problem there, the file has 51.49KB
If you find Phoca extensions useful, please support the project