News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Errors with New Install on Joomla 3.4.1 on LocalHost - [Solved in 3.2.34!!!]

Started by newbie01, 15.06.2015 06:15:41

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

newbie01

Based on feedback from other users, I am looking forward to installing jDownloads as a repository for user upload/download on my site once it goes live.  It would be greatly appreciated if you could help me resolve the errors encountered.  Many thanks in advance for the help!

- The Joomla Release Version: Joomla! 3.4.1 Stable [ Ember ]

- The used jDownloads version: 3.2.33

- System Information: PHP, MySQL and version numbers for each (important!)
PHP Built On   Windows NT build 9200 (Windows 8 Home Premium Edition) AMD64
Database Version   5.6.17
Database Collation   utf8_bin
PHP Version   5.5.12
Web Server   Apache/2.4.9 (Win64) PHP/5.5.12
WebServer to PHP Interface   apache2handler

- Localhost: WAMP

What is the problem in detail:
- What you were trying to do, what the errors were
Received following errors while attempting to access jDownloads after installation.
Notice: Undefined offset: -1 in C:\Program Files (x86)\wamp\www\bbb4ihr\components\com_jdownloads\helpers\jdownloadshelper.php on line 841
Notice: Trying to get property of non-object in C:\Program Files (x86)\wamp\www\bbb4ihr\components\com_jdownloads\helpers\jdownloadshelper.php on line 841

- What you have tried to solve the issue (changing settings).
Nothing. Not sure how to resolve.

- What searches you have done.
This forum for posts related to jdownloadshelper.php and 841 but no luck.

- If using specially Extensions (SEF addons as sample)
Only Kunena installed thus far.

What settings are currently set and have been changed in the jDownloads configuration?
Activated Sample with 4 columns for Layout

[gelöscht durch Administrator]
  •  

ColinM

Hi
I have had no trouble with jDownloads in WAMP and also XAMPP.  The WAMP site was a backup restore.  In WAMP I was not able to install by 'Upload Package File' but I could apparently install by 'Install from Directory'.  But then jD had problems.  I asked Arno and he said the install only works properly from 'Upload Package File' for some reason I do not understand.  So I switched to XAMPP and all was well after I modified the file upload sizes (post_max_size and max_file_size {think name is wrong its late!})  Then installed jD and all OK.

Colin
PS you can get a free test site from Site Ground for a limited period
Colin M
  •  

newbie01

Hi, Colin,

Thank you for taking the time.  It turns out that I was able to install with "Upload Package File" in WAMP.  Maybe what I'll try is to modify the file size limits and check if that solves the issue.

Will give you another update.

Cheers!
  •  

newbie01

Hi, Colin,

I checked the php file and noticed that clue for the error lies in the coding for line 841 -
$max_cat_id = $src_for_url_list[count($src_for_url_list)-1]->id;

The reason why I see the error is that I tried to access jDownloads before creating valid Categories.  Still, to the uninitiated, it would be helpful to code a message prompting the user to create a Category before accessing jDownloads again.

Thanks again!
  •  

ColinM

Hi
Thanks for input./  That problem is a real new one!  Had not thought of the possibility.
Will talk to Arno about it.

Colin
Colin M
  •  

Arno

Hi newbie01,
please note that this "errors" are only "notices" and not heavy errors. And the results from the script are still correct.
So when you use the default settings for the ' Error Reporting' in your Joomla global configuration, you should not have any problems.

But we will fix the notices in next version.

[gelöscht durch Administrator]
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •