jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Topic started by: stuartjw on 06.07.2015 18:42:42

Title: Choose File button missing [Solved]
Post by: stuartjw on 06.07.2015 18:42:42
The Choose File button is missing from the upload page, a user can create a download header but not upload a file

I copied this installation over from one of my other websites where it works fine.
I have reinstalled jdownloads on the new site to see if that might correct the problem...it didn't

Any ideas?

thanks
Stuart
Title: Re: Choose File button missing
Post by: stuartjw on 06.07.2015 18:51:42
OK, I've just checked again and "choose file" button is missing from the other website now !

Both sites are hosted on the same server, so I'm wondering if this is something to do with modsec rules or other permissions ?

I will also see if the hosting technical support team have any ideas
Title: Re: Choose File button missing
Post by: stuartjw on 06.07.2015 19:45:39
I've found these errors in the administrator error log:

[06-Jul-2015 18:29:10 Europe/London] PHP Strict Standards:  Declaration of jdownloadsControllerdownload::batch() should be compatible with JControllerForm::batch($model) in /home/stuartjw/public_html/administrator/components/com_jdownloads/controllers/download.php on line 23
[06-Jul-2015 18:29:12 Europe/London] PHP Notice:  Undefined variable: cat_id in /home/stuartjw/public_html/administrator/components/com_jdownloads/views/download/tmpl/edit.php on line 657
[06-Jul-2015 18:29:50 Europe/London] PHP Strict Standards:  Declaration of jdownloadsControllerdownload::batch() should be compatible with JControllerForm::batch($model) in /home/stuartjw/public_html/administrator/components/com_jdownloads/controllers/download.php on line 23
[06-Jul-2015 18:29:51 Europe/London] PHP Strict Standards:  Non-static method JDownloadsHelper::fileIsPicture() should not be called statically, assuming $this from incompatible context in /home/stuartjw/public_html/administrator/components/com_jdownloads/tables/download.php on line 616
[06-Jul-2015 18:30:31 Europe/London] PHP Strict Standards:  Declaration of jdownloadsControllerdownload::batch() should be compatible with JControllerForm::batch($model) in /home/stuartjw/public_html/administrator/components/com_jdownloads/controllers/download.php on line 23
[06-Jul-2015 18:30:31 Europe/London] PHP Notice:  Undefined variable: preview_filename_renamed in /home/stuartjw/public_html/administrator/components/com_jdownloads/tables/download.php on line 669
[06-Jul-2015 18:32:49 Europe/London] PHP Notice:  Undefined index: allowed.upload.file.types in /home/stuartjw/public_html/administrator/components/com_jdownloads/controllers/config.php on line 251
[06-Jul-2015 18:32:49 Europe/London] PHP Notice:  Undefined index: allowed.upload.file.size in /home/stuartjw/public_html/administrator/components/com_jdownloads/controllers/config.php on line 256
Title: Re: Choose File button missing
Post by: stuartjw on 07.07.2015 08:49:35
Morning Colin.

I think I've worked out the problem! 

"Select main file" must be checked

Stuart
Title: Re: Choose File button missing
Post by: ColinM on 07.07.2015 16:00:00
Stuart
Thanks for letting me know.  I should have thought of that simple item but...
Colin
PS I have added an extra few notes to the article
http://www.jdownloads.net/documentations/item/create-download-menu-item

C