?
avatar brianteeman
brianteeman
3 Sep 2017

Steps to reproduce the issue

With current J4 the extension update check never completes. Looking at the console is the following error

 Uncaught SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at onSuccess (extensionupdatecheck.js?61f0bd7f3a1e51d20f4535590f3e4657:28)
    at XMLHttpRequest.o.onreadystatechange (core.min.js?61f0bd7f3a1e51d20f4535590f3e4657:1) 

@dgt41

avatar brianteeman brianteeman - open - 3 Sep 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 Sep 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Sep 2017
Category JavaScript
avatar C-Lodder
C-Lodder - comment - 3 Sep 2017

@brianteeman - could you replace the minified code with the uncompressed code and try again, to get the exact line number?

avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Sep 2017
Status New Discussion
avatar dgt41
dgt41 - comment - 3 Sep 2017

@C-Lodder its not the javascript, the error comes from php, the returned data is not JSON formatted. Something throws an error and the return data is html formatted

avatar dgt41
dgt41 - comment - 3 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Sep 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-09-03 11:54:04
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 3 Sep 2017
Closed_By franz-wohlkoenig joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 3 Sep 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Sep 2017

closed as having Pull Request #17846


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

avatar joomla-cms-bot
joomla-cms-bot - comment - 3 Sep 2017
avatar dgt41
dgt41 - comment - 3 Sep 2017

@franz-wohlkoenig can you re open this one?
The PR was wrong
The error is coming from:
screen shot 2017-09-03 at 15 05 12

avatar roland-d roland-d - change - 3 Sep 2017
Status Closed New
Closed_Date 2017-09-03 11:54:04
Closed_By joomla-cms-bot
avatar roland-d roland-d - reopen - 3 Sep 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Sep 2017
Status New Discussion
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Sep 2017

reopened as stated above.


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

avatar mbabker
mbabker - comment - 3 Sep 2017

It is already fixed in staging so either the fix has not yet been merged to 4.0 or it was removed in a merge conflict.

avatar dgt41
dgt41 - comment - 3 Sep 2017

Actually re installing a fresh copy resolves the issue

avatar brianteeman brianteeman - change - 9 Sep 2017
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-09-09 07:16:38
Closed_By brianteeman
avatar brianteeman brianteeman - close - 9 Sep 2017

Add a Comment

Login with GitHub to post a comment