Blank option tab in User Upload layout
-
- Phoca Member
- Posts: 11
- Joined: 13 Jan 2015, 09:44
Blank option tab in User Upload layout
So I made a menu which will enable the user to upload files but the option tab is blank. I tried in two different versions of Joomla and it is still blank. Help anyone? Thanks! No error is displayed when I turn error reporting. thanks
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Blank option tab in User Upload layout
Hi, see your errorLog or enable php error reporting - to see if there is no PHP error reporting:
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
https://www.phoca.cz/documents/16-joomla ... rs-on-site
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 13 Jan 2015, 09:44
Re: Blank option tab in User Upload layout
There really is no error and it is still blank. I turned error_reporting on still no php error message. I just tried it toda and my php error.log is from January 13, 2015 and the error is not from phocadownload. Hmmm :'(
-
- Phoca Member
- Posts: 11
- Joined: 13 Jan 2015, 09:44
Re: Blank option tab in User Upload layout
Jan, I figured it out! Thanks! I have another question. Is it possible to get rid of Author, Author's email, Author's website, license and version fields when uploading?
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Blank option tab in User Upload layout
Hi, this can be done per CSS or in HTML by modification 
components/com_phocadownload/views/user/tmpl/ ...
Jan

components/com_phocadownload/views/user/tmpl/ ...
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 11
- Joined: 13 Jan 2015, 09:44
Re: Blank option tab in User Upload layout
Jan, if I just delete all those fields will there be a problem? Also Jan is it possible to see the user who uploaded the file in front end?? Thank you!!
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Blank option tab in User Upload layout
Hi, there should not be any problem as the form fields are not required, but you should e.g. only comment them, so when some problem occurs, you can make the changes back 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 58
- Joined: 15 Jul 2011, 15:02
Re: Blank option tab in User Upload layout
haisesasaki : How did you figure this out please?haisesasaki wrote:Jan, I figured it out!
I have the same problem - to be clear - In the Menu settings for User Upload, the "Options" tab is blank.
Is this normal?
I have used your suggested debug modes and see no PHP errors on anything.
Please help!
Chris
- Jan
- Phoca Hero
- Posts: 48566
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Blank option tab in User Upload layout
Hi, if the php error is displayed inside javascript it is not displayed in the browser, so try to look at the source code, if there is no php error. And try to check if the php error is enabled on the site 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Enthusiast
- Posts: 58
- Joined: 15 Jul 2011, 15:02
Re: Blank option tab in User Upload layout
Sorry Jan, If I look at the Source Code for the page, the only reference to "Error" I see is this:Jan wrote:...try to look at the source code.... and try to check if the php error is enabled on the site
Code: Select all
<script type="text/javascript">
(function() {
var strings = {"JLIB_FORM_FIELD_INVALID":"Invalid field: ","ERROR":"Error","JGLOBAL_VALIDATION_FORM_FAILED":"Invalid form"};
if (typeof Joomla == 'undefined') {
Joomla = {};
Joomla.JText = strings;
}
else {
Joomla.JText.load(strings);
}
})();
</script>
If I do, what might I be looking for?
Would it help you if I PM you an admin login?
Chris