?
avatar javigomez
javigomez
12 Aug 2014

screen shot 2014-08-12 at 05 07 42#### Steps to reproduce the issue

Install a Joomla 3.3.1 and update it to the latest 3.3.3 (with debug mode active)

You will get the following:

  • Warning Update: :Extension: Could not open http://update.joomla.org/core/sts/extension_sts.xml
  • Notice: Undefined property: JUpdate::$downloadurl in /var/www/redmember2/administrator/components/com_joomlaupdate/views/default/tmpl/default.php on line 59
  • Notice: Trying to get property of non-object in /var/www/redmember2/administrator/components/com_joomlaupdate/views/default/tmpl/default.php on line 59
  • Notice: Undefined property: JUpdate::$downloadurl in /var/www/redmember2/administrator/components/com_joomlaupdate/views/default/tmpl/default.php on line 60

Expected result

Actual result

System information (as much as possible)

Additional comments

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
3.00

avatar javigomez javigomez - open - 12 Aug 2014
avatar javigomez javigomez - change - 12 Aug 2014
The description was changed
Description <h4>Steps to reproduce the issue</h4> <p>Install a Joomla 3.3.1 and update it to the latest 3.3.3 (with debug mode active)</p> <p>You will get the following:</p> <ul class="task-list"> <li>Warning Update: :Extension: Could not open <a href="http://update.joomla.org/core/sts/extension_sts.xml">http://update.joomla.org/core/sts/extension_sts.xml</a> </li> <li>Notice: Undefined property: JUpdate::$downloadurl in /var/www/redmember2/administrator/components/com_joomlaupdate/views/default/tmpl/default.php on line 59</li> <li>Notice: Trying to get property of non-object in /var/www/redmember2/administrator/components/com_joomlaupdate/views/default/tmpl/default.php on line 59</li> <li>Notice: Undefined property: JUpdate::$downloadurl in /var/www/redmember2/administrator/components/com_joomlaupdate/views/default/tmpl/default.php on line 60</li> </ul><h4>Expected result</h4> <h4>Actual result</h4> <h4>System information (as much as possible)</h4> <h4>Additional comments</h4> <p><a href="https://camo.githubusercontent.com/64ed1dc575bd4986fbefb4c473bb957f13c5a869/687474703a2f2f6973737565732e6a6f6f6d6c612e6f72672f75706c6f6164732f312f39353733303633366361646436656430363432363434383332306339313063612e706e67" target="_blank"><img src="https://camo.githubusercontent.com/64ed1dc575bd4986fbefb4c473bb957f13c5a869/687474703a2f2f6973737565732e6a6f6f6d6c612e6f72672f75706c6f6164732f312f39353733303633366361646436656430363432363434383332306339313063612e706e67" alt="screen shot 2014-08-12 at 05 07 42" data-canonical-src="http://issues.joomla.org/uploads/1/95730636cadd6ed06426448320c910ca.png" style="max-width:100%;"></a>#### Steps to reproduce the issue</p> <p>Install a Joomla 3.3.1 and update it to the latest 3.3.3 (with debug mode active)</p> <p>You will get the following:</p> <ul class="task-list"> <li>Warning Update: :Extension: Could not open <a href="http://update.joomla.org/core/sts/extension_sts.xml">http://update.joomla.org/core/sts/extension_sts.xml</a> </li> <li>Notice: Undefined property: JUpdate::$downloadurl in /var/www/redmember2/administrator/components/com_joomlaupdate/views/default/tmpl/default.php on line 59</li> <li>Notice: Trying to get property of non-object in /var/www/redmember2/administrator/components/com_joomlaupdate/views/default/tmpl/default.php on line 59</li> <li>Notice: Undefined property: JUpdate::$downloadurl in /var/www/redmember2/administrator/components/com_joomlaupdate/views/default/tmpl/default.php on line 60</li> </ul><h4>Expected result</h4> <h4>Actual result</h4> <h4>System information (as much as possible)</h4> <h4>Additional comments</h4>
avatar javigomez
javigomez - comment - 12 Aug 2014

After a second try I was able to update with no issues:

screen shot 2014-08-12 at 05 09 46fter
You may blame the J!Tracker Application for transmitting this comment.

avatar brianteeman
brianteeman - comment - 12 Aug 2014

I just repeated your steps with debug mode on and error reporting set to maximum. I didnt see any errors in my browser but i do have the following errors in the logs

[12-Aug-2014 12:11:52 Europe/Berlin] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 5926319 bytes) in /Applications/MAMP/htdocs/Joomla_3.3.1-Stable-Full_Package/plugins/system/debug/debug.php on line 276
[12-Aug-2014 12:11:54 Europe/Berlin] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 5782074 bytes) in /Applications/MAMP/htdocs/Joomla_3.3.1-Stable-Full_Package/plugins/system/debug/debug.php on line 276
[12-Aug-2014 12:12:01 Europe/Berlin] PHP Notice: Undefined variable: packageURL in /Applications/MAMP/htdocs/Joomla_3.3.1-Stable-Full_Package/administrator/components/com_joomlaupdate/models/default.php on line 287
[12-Aug-2014 12:12:15 Europe/Berlin] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 525928 bytes) in /Applications/MAMP/htdocs/Joomla_3.3.1-Stable-Full_Package/plugins/system/debug/debug.php on line 1109

You may blame the J!Tracker Application for transmitting this comment.

avatar javigomez
javigomez - comment - 12 Aug 2014
avatar javigomez
javigomez - comment - 12 Aug 2014
avatar nikosdion
nikosdion - comment - 12 Aug 2014

These are two bugs. JUpdate's error handling is atrocious is one of them. The other one is Joomla! running a gazillion things in the update script inside com_admin without the possibility to split them in chunks to avoid memory outage and timeouts.

The first one I can fix by not using JUpdate. The second one I can only partially fix. Both fixes I have already applied in CMS Update. That latter fix I would contribute to Joomla! but it's FOF-based and I understand the PLT decided not to add any further dependencies to FOF. So all I can suggest is use my third party CMS Update component. If the PLT wants to include it in Joomla!, no problem, I can contribute it. Just let me know :)

avatar infograf768
infograf768 - comment - 12 Aug 2014

@nikosdion
Please ping me on skype

avatar brianteeman
brianteeman - comment - 12 Aug 2014

FYI Rerunning without debug mode I only got the one error

[12-Aug-2014 12:37:26 Europe/Berlin] PHP Notice: Undefined variable: packageURL in /Applications/MAMP/htdocs/Joomla_3.3.1-Stable-Full_Package/administrator/components/com_joomlaupdate/models/default.php on line 287
You may blame the J!Tracker Application for transmitting this comment.

avatar zero-24
zero-24 - comment - 12 Aug 2014

@brianteeman your last error is allready fixed with 23545e4 for 3.3.4

avatar brianteeman brianteeman - change - 21 Sep 2014
Category Updating
avatar nicksavov nicksavov - change - 15 Oct 2014
Labels Added: ?
avatar brianteeman
brianteeman - comment - 27 Nov 2014

Can we close this now?

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4098.

avatar brianteeman brianteeman - change - 27 Nov 2014
Status New Information Required
avatar brianteeman
brianteeman - comment - 30 Dec 2014

Closed after one month without reply from @javigomez


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4098.
avatar zero-24 zero-24 - close - 30 Dec 2014
avatar brianteeman brianteeman - change - 30 Dec 2014
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2014-12-30 10:02:43
Closed_By brianteeman
avatar brianteeman brianteeman - close - 30 Dec 2014
avatar brianteeman brianteeman - change - 30 Dec 2014
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2014-12-30 10:02:43
avatar javigomez
javigomez - comment - 30 Dec 2014

:+1:

avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment