Blank option tab in User Upload layout

Phoca Download - download manager
haisesasaki
Phoca Member
Phoca Member
Posts: 11
Joined: 13 Jan 2015, 09:44

Blank option tab in User Upload layout

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Blank option tab in User Upload layout

Post 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
If you find Phoca extensions useful, please support the project
haisesasaki
Phoca Member
Phoca Member
Posts: 11
Joined: 13 Jan 2015, 09:44

Re: Blank option tab in User Upload layout

Post 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 :'(
haisesasaki
Phoca Member
Phoca Member
Posts: 11
Joined: 13 Jan 2015, 09:44

Re: Blank option tab in User Upload layout

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Blank option tab in User Upload layout

Post by Jan »

Hi, this can be done per CSS or in HTML by modification :idea:

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

Jan
If you find Phoca extensions useful, please support the project
haisesasaki
Phoca Member
Phoca Member
Posts: 11
Joined: 13 Jan 2015, 09:44

Re: Blank option tab in User Upload layout

Post 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!!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Blank option tab in User Upload layout

Post 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
If you find Phoca extensions useful, please support the project
tapiochre
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 15 Jul 2011, 15:02

Re: Blank option tab in User Upload layout

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48566
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Blank option tab in User Upload layout

Post 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
If you find Phoca extensions useful, please support the project
tapiochre
Phoca Enthusiast
Phoca Enthusiast
Posts: 58
Joined: 15 Jul 2011, 15:02

Re: Blank option tab in User Upload layout

Post 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
Post Reply