Page 1 of 1

J3.6.0 & Phoca Download 3.1.2 - Blank page when adding/accessing files

Posted: 21 Jul 2016, 08:51
by peebee10
Just upgraded from J3.5.1 to J3.6.0 (running on PHP 7.0.6). Also updated Phoca Download to V3.1.2

Install went OK - no issues. Now when I try to add a new file or access an existing file in Admin backend, it results in a blank (white) page.

There are no error messages at all in the console. If I "view-source", all I see is the following:

<script type="text/javascript">
Joomla.submitbutton = function(task){
if (task != 'phocadownloadfile.cancel' && document.id('jform_catid').value == '') {
alert('Invalid form - Category was not selected');
} else if (task == 'phocadownloadfile.cancel' || document.formvalidator.isValid(document.id('adminForm'))) {

Any idea what might be going on and how to fix it? Thanks.

Re: J3.6.0 & Phoca Download 3.1.2 - Blank page when adding/accessing files

Posted: 22 Jul 2016, 01:01
by Jan
Hi, maybe it can somehow be connected to this problem:

https://github.com/joomla/joomla-cms/issues/11137
https://github.com/joomla/joomla-cms/pull/11097

There is existing patch for this problem. When you install the following component:
https://github.com/joomla-extensions/pa ... r/releases (version 2.0.1), you can install the patch with help of this component, the patch ID is 11097

Please test it with this patch and let me know.

Jan

Re: J3.6.0 & Phoca Download 3.1.2 - Blank page when adding/accessing files

Posted: 22 Jul 2016, 03:39
by peebee10
Thanks for the reply Jan. Downloaded and installed the Joomla Patch component but unfortunately at the moment: The GitHub API rate limit has been reached for this resource, could not connect to GitHub for updated data. The rate limit will reset at 2016-07-22 01:24:32 when trying to fetch data.

Have tried a few times but rate limit constantly exceeded. I'll try again later and let you know the outcome.

Re: J3.6.0 & Phoca Download 3.1.2 - Blank page when adding/accessing files

Posted: 23 Jul 2016, 00:21
by Jan
Hi, hmmm, this feature (rate limit) I don't know, when I test Joomla! patches, I never get such limit :idea:

Jan

Re: J3.6.0 & Phoca Download 3.1.2 - Blank page when adding/accessing files

Posted: 26 Jul 2016, 09:09
by peebee10
Couldn't get the Joomla Patch Tester to work despite trying repeatedly over the course of past few days. Constant error: "The GitHub API rate limit has been reached for this resource, could not connect to GitHub for updated data". My Username/Password is correct and even tried a GitHub API key to connect but still rate limit problem? No idea why....??? :x

In any event, I struck other problems with PHP 7.0.6. Kunena forum (latest stable V 4.0.11) is also not working with PHP 7.0.6 which is the V7 installed on the server I am using. I'm not able to select another sub-version of V7 - I can only roll back to PHP 5.6 or lower. There were multiple errors with Kunena - primarily regarding categories and access.

So, to see what would happen, I reverted back to PHP V5.6.21. Now everything is working again, including Phocadownload! Blank page has gone and files are able to be selected/uploaded again. Kunena is also working correctly again.

Here is a thread relating to the Kunena & PHP 7.0.6 issues: https://github.com/Kunena/Kunena-Forum/issues/3934

Perhaps the same PHP 7.0.6 issue is/was causing the problem with Phocadownload?

For the moment, I think I'll stick with PHP 5.6.....

Re: J3.6.0 & Phoca Download 3.1.2 - Blank page when adding/accessing files

Posted: 28 Jul 2016, 20:42
by Jan
Hi, Hmmm, testing on PHP 7 without any problem.

Blank page mostly means a php error, are you able to see the errorLog on your server for the exact error message. This could help a lot to detect the problem.

Thank you, Jan

EDIT:
But it seems the bug was in PHP and was solved in php 7.0.7:
https://github.com/joomla/joomla-cms/pull/10452