I am trying to install the Joomla Desktop locally. I follow the steps and in the last step the loading gif loads forever. I open my console and I see an error:
Cannot read token of null in line 189 of installation.js
The line contains this:
Joomla.replaceTokens(r.token);
A few lines under this there is an assignment:
var r = $.parseJSON(xhr.responseText);
I run the debugger and the $.parseJSON(xhr.responseText) return undefined.
To finish the installations normally.
The loading .gif loads forever and I can not finish the installation, but my database has been created.
I am on Windows 8 and I use XAMPP. I try to install Joomla version 3.8. As a server I use Apache, my databse is a mySQL 5.7 with a UTF-8 default encoding and I have PHP 7 installed. The browser I am using to install Joomla is Google Chrome.
What if we replace:
var r = $.parseJSON(xhr.responseText);
with this:
var r = JSON.parse(xhr.responseText);
Labels |
Added:
?
|
Category | ⇒ | com_installer |
Status | New | ⇒ | Information Required |
I think that it's a JavaScript issue and it does not have to do with my server installation, but I'll try to install WAMP istead and see if the issue has been resolved.
I switched to WAMP and the issue is now resolved!
Status | Information Required | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-07-01 12:45:31 |
Closed_By | ⇒ | dodosiz |
Edit index.php file under installation folder, add this line:
set_time_limit(0);
after the line:
define('JOOMLA_MINIMUM_PHP', '5.3.10');
The problem is that installing joomla tables takes more time in some xampp versions. With this instruction set_time_limit(0); you give the installer the time it need.
Have you asked at https://forum.joomla.org/viewforum.php?f=707&sid=5b65be33dfa7f20419ffdb982c87e6bb as this Forum is for this Kind of Questions: