Page 1 of 3

Blank option tab in User Upload layout

Posted: 14 Jan 2015, 03:46
by haisesasaki
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

Re: Blank option tab in User Upload layout

Posted: 15 Jan 2015, 00:35
by Jan
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

Re: Blank option tab in User Upload layout

Posted: 16 Jan 2015, 07:11
by haisesasaki
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 :'(

Re: Blank option tab in User Upload layout

Posted: 16 Jan 2015, 17:22
by haisesasaki
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?

Re: Blank option tab in User Upload layout

Posted: 18 Jan 2015, 22:28
by Jan
Hi, this can be done per CSS or in HTML by modification :idea:

components/com_phocadownload/views/user/tmpl/ ...

Jan

Re: Blank option tab in User Upload layout

Posted: 24 Jan 2015, 17:30
by haisesasaki
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!!

Re: Blank option tab in User Upload layout

Posted: 26 Jan 2015, 01:01
by Jan
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 :idea:

Jan

Re: Blank option tab in User Upload layout

Posted: 28 Jan 2015, 13:02
by tapiochre
haisesasaki wrote:Jan, I figured it out!
haisesasaki : How did you figure this out please?

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

Re: Blank option tab in User Upload layout

Posted: 29 Jan 2015, 19:01
by Jan
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 :idea:

Jan

Re: Blank option tab in User Upload layout

Posted: 29 Jan 2015, 20:54
by tapiochre
Jan wrote:...try to look at the source code.... and try to check if the php error is enabled on the site
Sorry Jan, If I look at the Source Code for the page, the only reference to "Error" I see is this:

Code: Select all

<script type="text/javascript">
    (function() {
      var strings = {"JLIB_FORM_FIELD_INVALID":"Invalid field:&#160","ERROR":"Error","JGLOBAL_VALIDATION_FORM_FAILED":"Invalid form"};
      if (typeof Joomla == 'undefined') {
        Joomla = {};
        Joomla.JText = strings;
      }
      else {
        Joomla.JText.load(strings);
      }
    })();
  </script>
As for "check if the php error is enabled on the site", how do I do that? Is it a simple case of enabling Debug and setting Error Report to Maximum?

If I do, what might I be looking for?

Would it help you if I PM you an admin login?

Chris