Frontend upload - 0 call to a member function getname () on null
-
- Phoca Member
- Posts: 23
- Joined: 17 Mar 2018, 21:50
Re: Frontend upload - 0 call to a member function getname () on null
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
I have already realised version 3.1.7 and updated accordingly. Although this update didn't fix the problem (at least for me).
Sven
Tags:
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Frontend upload - 0 call to a member function getname () on null
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
(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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 17 Mar 2018, 21:50
Re: Frontend upload - 0 call to a member function getname () on null
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.
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.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Frontend upload - 0 call to a member function getname () on null
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 17 Mar 2018, 21:50
Re: Frontend upload - 0 call to a member function getname () on null
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.
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.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Frontend upload - 0 call to a member function getname () on null
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
- 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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 17 Mar 2018, 21:50
Re: Frontend upload - 0 call to a member function getname () on null
Hi Jan.
Done. Outcome of the error message now as following:
Done. Outcome of the error message now as following:
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Frontend upload - 0 call to a member function getname () on null
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
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
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 23
- Joined: 17 Mar 2018, 21:50
Re: Frontend upload - 0 call to a member function getname () on null
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
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">
?>
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Frontend upload - 0 call to a member function getname () on null
Hi,
change all the strings:
FROM:
TO:
maybe this will be similar for:
FROM:
TO:
Jan
change all the strings:
FROM:
Code: Select all
$this->session
Code: Select all
$this->t['session']
FROM:
Code: Select all
$this->listfiles
Code: Select all
$this->t['listsfiles']
If you find Phoca extensions useful, please support the project