?
avatar riggsfolly
riggsfolly
15 Nov 2016

Steps to reproduce the issue

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

Expected result

At least an error message

Actual result

Code does not seem to have access to the JError object in this code but has the potential to use it twice!

System information (as much as possible)

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

Additional comments

avatar riggsfolly riggsfolly - open - 15 Nov 2016
avatar mbabker mbabker - change - 15 Nov 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-11-15 14:05:54
Closed_By mbabker
avatar mbabker mbabker - close - 15 Nov 2016
avatar mbabker
mbabker - comment - 15 Nov 2016

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.

avatar mbabker mbabker - close - 15 Nov 2016
avatar riggsfolly
riggsfolly - comment - 15 Nov 2016

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.


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

avatar zero-24
zero-24 - comment - 15 Nov 2016

This should be fixed in 3.7.0 see: #11895

avatar mbabker
mbabker - comment - 15 Nov 2016

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.

Add a Comment

Login with GitHub to post a comment