Page 1 of 1

php 8.1 the two navigation windows disappear

Posted: 28 Apr 2023, 12:14
by oxido
Hi,

PHP 8.1
Joomla 4.3.0
Phoca commander 4.0.0


When I click any link in any of the two navigation windows:
1) Nothing is happening (the navigation is not working)
2) The navigation windows disappear

https://i.imgur.com/9ddLEoH.gif

Re: php 8.1 the two navigation windows disappear

Posted: 28 Apr 2023, 15:18
by Jan
Hi, this can be due to some Javascript conflict, try to open Javascript console and check if there is no error in console or in network (ajax) tab.

https://www.phoca.cz/documents/16-jooml ... -conflicts

Testing now version 4.0.0 on Joomla 4.3, everything seems to be OK :idea:

Image

Jan

Re: php 8.1 the two navigation windows disappear

Posted: 23 May 2023, 19:41
by divocak
Hi, i have same problem.

Php 8.1 and joomla 4.3

Re: php 8.1 the two navigation windows disappear

Posted: 26 May 2023, 15:32
by Jan
Did you open the Javascript console a checked for the Javascript errors?

Jan

Re: php 8.1 the two navigation windows disappear

Posted: 27 Nov 2023, 16:26
by p.luks
Hello Jan,
I also have this problem under PHP 8.1, but no javascript errors.
https://imgur.com/FtZAIew

If I change the PHP to 8.0, then it works without problems

Re: php 8.1 the two navigation windows disappear

Posted: 27 Nov 2023, 18:14
by p.luks
I have checked with a other Test-System and here i have not the Problem.

but i have checked the xhr response from the Problem-site. This site send the error:

Code: Select all

XHRPOST
https://test.xxx.de/administrator/index.php?option=com_phocacommander&view=phocacommanderfilesa&format=json&tmpl=component&961cfe63abf06c494ae3eafe151781a2=1
[HTTP/2 200  280ms]

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

1 <br />
2 <b>Deprecated</b>:  base64_encode(): Passing null to parameter #1 ($string) of type string is deprecated in <b>/www/htdocs/v118360/test.it-conserv.de/administrator/components/com_phocacommander/views/phocacommanderfilesa/view.json.php</b> on line <b>262</b><br />
3 {"status":"1","message":"<div class=\"ph-box-s\"><div class=\"ph-status ph-status-active\" id=\"phStatusB\"><\/div><table class=\"ph-table\"><tr><th class=\"ph-check\"><input type=\"checkbox\" name=\"selectAll\" id=\"selectAllB\" \/><\/th><th class=\"ph-name\"><a href=\"javascript: void(0)\" onclick=\"var phLFAc = {};phLFAc['panel'] = 'B';phLFAc['activepanel'] = 'B';phLFAc['folderb'] = 'aW1hZ2Vz';phLFAc['foldera'] = '*';phLFAc['orderingb'] = 'name';phLFAc['orderinga'] = '';phLFAc['directionb'] = 'DESC';phLFAc['directiona'] = '';phLoadFiles(phLFAc);\">Name<\/a> <span class=\"ph-arrow\">
...
shortened
...
<input type=\"hidden\" value=\"aW1hZ2Vz\" name=\"ph-panelB\" id=\"phPanelB\" \/><\/form>"}
I will continue to check whether there is anything installed that is related to this.

Re: php 8.1 the two navigation windows disappear

Posted: 30 Nov 2023, 02:25
by Jan
Hi, try to install Phoca Commander 5.0.0 (on your Joomla 4 version, it should be compatible):
https://www.phoca.cz/download/95-phoca- ... -component

This should be solved there.

Jan

Re: php 8.1 the two navigation windows disappear

Posted: 14 Dec 2023, 00:08
by p.luks
Hello Jan,

I installed the 5.0.0 beta today and it works fine. :)

Re: php 8.1 the two navigation windows disappear

Posted: 14 Dec 2023, 18:45
by Jan
Hi, thank you for the info.

Jan