Page 1 of 2
License Shows just empty page at download
Posted: 20 Mar 2013, 22:39
by Amazon
Hello All,
I use Phoca download with Joomla 2.5 and it works so far. Except a download where a user has to confirm a license file does not work at all. There is just displayed an empty page.
The license I have created is enabled (in the license list) and selected in the file edit dialog. Is there any field which MUST be filled ?
I have emptied the Joomla cache and the browser cache, same result. Just an empty page with the "Powered by Phoca Download" text.
The forum and the documentation did not help so far.
Maybe somebody has a hint what to check.
regards Wolfram
PS: Normal download works fine and immediate.
Re: License Shows just empty page at download
Posted: 22 Mar 2013, 02:29
by Jan
Hi, try to enable php error reporting and debug mode, maybe you will get some more info about the issue
Jan
Re: License Shows just empty page at download
Posted: 22 Mar 2013, 23:43
by Amazon
Hi Jan, I enabled debug and got many errors:
(removed - only strict standards which are not errors, but warnings for developers)
and so on...I had to strip the txt due to the 3k charakter limit
It seems to be a principle problem...
Regards
Re: License Shows just empty page at download
Posted: 29 Mar 2013, 04:04
by Avroliner
I have the exact same issue. Downloads that use the "confirm a license" lead to an empty page or category. Direct downloads work correctly.
Regards
Andreas
Re: License Shows just empty page at download
Posted: 31 Mar 2013, 13:23
by Jan
Hi, testing now without any problem - really no error there (some fatal error, etc?) or debug mode sql message?
Do you have enabled SEF? What happened in case you will disable SEF?
Re: License Shows just empty page at download
Posted: 01 Apr 2013, 16:11
by Amazon
Hi Jan,
actually when I disable SEF or SEO (in Global Configuration) the download displays the license info as expected.
No is the question, what is the reason for that behavior ?
I guess you had an intention with your question after SEO disbaling
Regards
Re: License Shows just empty page at download
Posted: 01 Apr 2013, 17:28
by Amazon
I forgot:
this is the difference when enable SEO o disable SEO.
with SEO:
www .domain.de/component/phocadownload/file/6-test-downloadfile.html
without SEO
www .domain.de/index.php?option=com_phocadownload&view=file&id=6:test-downloadfile
Somehow Phoca does not redirect correctly
regards
Re: License Shows just empty page at download
Posted: 05 Apr 2013, 00:58
by Jan
Hi, Phoca Download does now create any link and any redirect, etc. It uses standard Joomla! JRoute method for building URLs. So URLs are not created by the component itself. The first links seems like there is no menu link to Phoca Download in your Joomla! (see:
https://www.phoca.cz/documents/16-joomla ... -in-joomla )
And maybe the second problem, try to remove the .html postfix from your URLs
Jan
Re: License Shows just empty page at download
Posted: 06 Apr 2013, 18:32
by Amazon
Hi Jan,
after many tries and errors I have solved it - at least very weird - I have found away to allow the License page to showup even when SEO is enabled.
The solution is:
Create ANY Menu link which points directly to ONE Phoca download file, the download and license display works then for all(!) files.
Unfortunately this menu item must be enabled, otherwise the jroute seems not to work correctly.
The question is, is this a phoca download plugin problem or rather a Joomla problem.
I suspect the error source must be inside Joomla. I guess Joomla does not know how to locate the component via JROUTE when there is not a single link to it.
I will probably try to hide the "artificial menu entry " and leave it as is is.
Regards
Re: License Shows just empty page at download
Posted: 07 Apr 2013, 00:28
by Jan