Page 2 of 3
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 05 Feb 2019, 15:15
by sven10101979
Hi Christine,
I have already realised version 3.1.7 and updated accordingly. Although this update didn't fix the problem (at least for me).
Sven
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 06 Feb 2019, 00:24
by Jan
Hi, can you paste here the exact message including the file and line where the problem occurs?
(if case you run some specific template, e.g. based on gantry, just disable its error.php so the standard Joomla! error will be displayed - such displays then all the needed information)
Jan
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 07 Feb 2019, 17:58
by sven10101979
Hi Jan.
Error Reporting is on maximum, but there is actually no error message anymore since update to 3.1.7.
The browser is still showing a NULL without any error.
I have attached two pics. Pic 1 is to show where I click on a link to call the frontend upload. on left hand bottom you can see the URL. I believe anything is wrong with the URL, but I have no idea what should be wrong, because I didn't change anything else that the update to 3.1.6 and 3.1.7
Pic 2 is to to show the outcome after clicking on the link.
Hope this helps a bit. Otherwise I am happy to provide test access to front or backend.
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 11 Feb 2019, 00:11
by Jan
Hi, which template do you use? Some templates just surpress displaying of the error.
Try to see your template folder and inside it, change the name of error.php (if there is) so standard error page will be displayed (such will display all the information about this error)
Jan
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 11 Feb 2019, 22:00
by sven10101979
Hi Jan.
I am using the template "Expert (jp-expert)" by Joomlaplates.com
I changed the filename of error.php as you advised. The outcome you can see in the following link. Probably this will not really help you to fix it. As already offered: I can provide a test admin success to the backend for you.
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 12 Feb 2019, 20:41
by Jan
Hi, first step successfully done, now you should go to Global Configuration and:
- set parameter Error Reporting to Development
- and enable debug mode:
So you will get the error message including the file and the line where the error occurs:
Jan
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 13 Feb 2019, 10:33
by sven10101979
Hi Jan.
Done. Outcome of the error message now as following:
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 13 Feb 2019, 11:30
by Jan
Ok, so the error message says, that the error comes from template:
which means, the template override does not include the methods from latest Phoca Download (which is logical as Phoca Download latest version was released some days ago). So this need to be fixed there (copy the code from Phoca Download output)
Jan
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 13 Feb 2019, 13:17
by sven10101979
Hi Jan,
not sure if you mean this code:
This is the code of line 263 in /templates/jp-expert/html/com_phocadownload/user/default_files.php
Code: Select all
<?php
<form onsubmit="return OnUploadSubmitFile();" action="<?php echo $this->t['actionamp'] ?>task=upload&<?php echo $this->session->getName().'='.$this->session->getId(); ?>&<?php echo JSession::getFormToken();?>=1" name="phocadownloaduploadform" id="phocadownload-upload-form" method="post" enctype="multipart/form-data">
?>
Re: Frontend upload - 0 call to a member function getname () on null
Posted: 13 Feb 2019, 23:19
by Jan
Hi,
change all the strings:
FROM:
TO:
maybe this will be similar for:
FROM:
TO:
Jan