Hi Jan
Yes, we are coming closer to the final solution. Both was to be changed as advised by you. session and listsfile was required to be changed.
However, there is still a button with class "btn tip hasTooltip" which seems to cause any problem as it is not displayed. I assume it something like a search button.
See screen shot. That looks a bit strange.
Cheers
Sven
Frontend upload - 0 call to a member function getname () on null
-
- Phoca Member
- Posts: 23
- Joined: 17 Mar 2018, 21:50
- 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, hmmm, this could be some CSS issue, are you able to see the button with help of e.g. DevTools in Google Chrome browser (click F12 in chrome and inspect the button and its CSS)
Jan
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,
See pictures below.
There seems to be another problem with file title (Datei Titel) as there is some html code inside.
Sven
See pictures below.
There seems to be another problem with file title (Datei Titel) as there is some html code inside.
Sven
- 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, click on the text input field and press CTRL+A (so all text will be selected) and copy it, so the whole warning text can be seen.
Jan
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,
Here you go...
Line 280 is as following:
Cheers
Sven
Here you go...
Code: Select all
<br /><b>Notice</b>: Undefined property: PhocaDownloadViewUser::$formdata in <b>/var/www/web366/html/intranet/templates/jp-expert/html/com_phocadownload/user/default_files.php</b> on line <b>280</b><br /><br /><b>Notice</b>: Trying to get property of non-object in <b>/var/www/web366/html/intranet/templates/jp-expert/html/com_phocadownload/user/default_files.php</b> on line <b>280</b><br />
Code: Select all
<td><input type="text" id="phocadownload-upload-title" name="phocadownloaduploadtitle" value="<?php echo $this->formdata->title ?>" maxlength="255" class="comment-input" /></td>
Sven
- 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,
FROM:
TO:
Jan
FROM:
Code: Select all
$this->formdata->title
Code: Select all
$this->t['formdata']->title
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,
Yes, this has solved another issue again.
There is still something with buttons (See picture).
Do you find any other code issue in respect of the button?
Yes, this has solved another issue again.
There is still something with buttons (See picture).
Do you find any other code issue in respect of the button?
Code: Select all
<div class="filter-search btn-group pull-left">
<label for="filter_search" class="element-invisible"><?php echo JText::_( 'COM_PHOCADOWNLOAD_FILTER' ); ?></label>
<input type="text" name="search" id="pdsearch" placeholder="<?php echo JText::_( 'COM_PHOCADOWNLOAD_SEARCH' ); ?>" value="<?php echo $this->t['listsfiles']['search'];?>" title="<?php echo JText::_( 'COM_PHOCADOWNLOAD_SEARCH' ); ?>" />
</div>
<div class="btn-group pull-left hidden-phone">
<button class="btn tip hasTooltip" type="submit" onclick="this.form.submit();" title="<?php echo JText::_( 'COM_PHOCADOWNLOAD_SEARCH' ); ?>"><i class="icon-search"></i></button>
<button class="btn tip hasTooltip" type="button" onclick="document.getElementById('pdsearch').value='';document.phocadownloadfilesform.submit();" title="<?php echo JText::_( 'COM_PHOCADOWNLOAD_SEARCH' ); ?>"><i class="icon-remove"></i></button>
</div>
- 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, seems like the buttons include the icons but the template does not load the CSS for renderin the icons (e.g. Bootstrap icons is missing there)
Jan
Jan
If you find Phoca extensions useful, please support the project