?
avatar infograf768
infograf768
22 May 2018

Steps to reproduce the issue

Install a clean joomla 4.0-dev after setting the installation/localise.xml file to debug

<?xml version="1.0" encoding="utf-8"?>
<localise version="3.6" client="installation">
	<forceLang></forceLang>
	<helpurl></helpurl>
	<debug>1</debug>
	<sampledata></sampledata>
	<params/>
</localise>

Expected result

Installation is possible

Actual result

Installation fails on third page Database Configuration
We get in a loop with this error

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 311 of the JSON data[Learn More]
setup.js:86:15
onSuccess
http://localhost:8888/newfolder/joomla40/installation/template/js/setup.js:86:15
e.request/n.onreadystatechange
http://localhost:8888/newfolder/joomla40/media/system/js/core.min.js:1:7724

@dgrammatiko I guess

avatar infograf768 infograf768 - open - 22 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 22 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 May 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 May 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 May 2018
Category com_installer JavaScript
avatar dgrammatiko
dgrammatiko - comment - 22 May 2018

SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1

Well there's no json, and the js cannot cope with this. Somehow the output becomes html instead of json. Something is broken in the php side not in the js

avatar laoneo
laoneo - comment - 22 May 2018

Please test #20528.

avatar laoneo laoneo - change - 22 May 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-05-22 09:43:03
Closed_By laoneo
avatar laoneo laoneo - close - 22 May 2018

Add a Comment

Login with GitHub to post a comment