Install Joomla (3.6.4 in my case)
I had messed up my email server, so this may be a very specific and odd situation, although it does seem to be a bit of a face->palm moment.
I selected to be emailed the Configuration details and Admin login details.
When the install reached the emailing phase i.e. all installed and database setup it dropped back to the screen prior to the "I am doing the install" and gave no information as to why this had happened.
Looking at my PHP Error log I found these messages
[15-Nov-2016 12:02:52 UTC] PHP Fatal error: Class 'JError' not found in \websrc\xxx\dev\www\libraries\joomla\mail\mail.php on line 136
[15-Nov-2016 12:02:52 UTC] PHP Stack trace:
[15-Nov-2016 12:02:52 UTC] PHP 1. {main}() \websrc\xxx\dev\www\installation\index.php:0
[15-Nov-2016 12:02:52 UTC] PHP 2. JApplicationCms->execute() \websrc\xxx\\dev\www\installation\index.php:32
[15-Nov-2016 12:02:52 UTC] PHP 3. InstallationApplicationWeb->doExecute() \websrc\xxx\dev\www\libraries\cms\application\cms.php:261
[15-Nov-2016 12:02:52 UTC] PHP 4. InstallationApplicationWeb->dispatch() \websrc\xxx\dev\www\installation\application\web.php:200
[15-Nov-2016 12:02:52 UTC] PHP 5. InstallationControllerInstallEmail->execute() \websrc\xxx\dev\www\installation\application\web.php:161
[15-Nov-2016 12:02:52 UTC] PHP 6. JMail->Send() \websrc\xxx\www\installation\controller\install\email.php:135
At least an error message
Code does not seem to have access to the JError object in this code but has the potential to use it twice!
Database Version 5.7.10
Database Collation utf8mb4_general_ci
Database Connection Collation utf8mb4_general_ci
PHP Version 7.0.13
Web Server Apache/2.4.23 (Win32) PHP/7.0.13
WebServer to PHP Interface apache2handler
Joomla! Version Joomla! 3.6.4 Stable [ Noether ] 21-October-2016 16:33 GMT
Joomla! Platform Version Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent Mozilla/5.0 (Windows NT 6.1; rv:49.0) Gecko/20100101 Firefox/49.0
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-11-15 14:05:54 |
Closed_By | ⇒ | mbabker |
That was all a bit quickly closed.
Like I said, this was a vanilla install of Joomla 3.6.4
I unzipped into the www folder. I ran the Install. I changed NOTHING from what was delivered out of the box.
The file libraries/legacy/error/error.php
does exist and is not empty.
That was all a bit quickly closed.
More often than not missing class errors like this indicate a platform specific issue, not a core bug. Apparently I need another coffee, didn't pick up this was dealing with the install app at first or that it was something we'd already addressed. My bad.
Make sure you have the file at
libraries/legacy/error/error.php
and that it matches what was distributed with the 3.6.4 package (i.e. contents haven't been wiped or altered in any way).If you need further assistance troubleshooting this issue, please visit https://forum.joomla.org for community support.