{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/12898","repository_url":"https://api.github.com/repos/joomla/joomla-cms","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12898/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12898/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12898/events","html_url":"https://github.com/joomla/joomla-cms/issues/12898","id":189398187,"number":12898,"title":"Class 'JError' not found in libraries\\joomla\\mail\\mail.php on line 136","user":{"login":"riggsfolly","id":10671783,"avatar_url":"https://avatars.githubusercontent.com/u/10671783?v=3","gravatar_id":"","url":"https://api.github.com/users/riggsfolly","html_url":"https://github.com/riggsfolly","followers_url":"https://api.github.com/users/riggsfolly/followers","following_url":"https://api.github.com/users/riggsfolly/following{/other_user}","gists_url":"https://api.github.com/users/riggsfolly/gists{/gist_id}","starred_url":"https://api.github.com/users/riggsfolly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riggsfolly/subscriptions","organizations_url":"https://api.github.com/users/riggsfolly/orgs","repos_url":"https://api.github.com/users/riggsfolly/repos","events_url":"https://api.github.com/users/riggsfolly/events{/privacy}","received_events_url":"https://api.github.com/users/riggsfolly/received_events","type":"User","site_admin":false},"labels":[{"id":138443932,"url":"https://api.github.com/repos/joomla/joomla-cms/labels/No%20Code%20Attached%20Yet","name":"No Code Attached Yet","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T13:56:25Z","updated_at":"2016-11-15T14:05:50Z","closed_at":"2016-11-15T14:05:50Z","body":"### Steps to reproduce the issue\r\nInstall Joomla (3.6.4 in my case)\r\n\r\nI 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.\r\n\r\nI selected to be emailed the Configuration details and Admin login details.\r\nWhen 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.\r\nLooking at my PHP Error log I found these messages\r\n\r\n    [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\r\n    [15-Nov-2016 12:02:52 UTC] PHP Stack trace:\r\n    [15-Nov-2016 12:02:52 UTC] PHP   1. {main}() \\websrc\\xxx\\dev\\www\\installation\\index.php:0\r\n    [15-Nov-2016 12:02:52 UTC] PHP   2. JApplicationCms->execute() \\websrc\\xxx\\\\dev\\www\\installation\\index.php:32\r\n    [15-Nov-2016 12:02:52 UTC] PHP   3. InstallationApplicationWeb->doExecute() \\websrc\\xxx\\dev\\www\\libraries\\cms\\application\\cms.php:261\r\n    [15-Nov-2016 12:02:52 UTC] PHP   4. InstallationApplicationWeb->dispatch() \\websrc\\xxx\\dev\\www\\installation\\application\\web.php:200\r\n    [15-Nov-2016 12:02:52 UTC] PHP   5. InstallationControllerInstallEmail->execute() \\websrc\\xxx\\dev\\www\\installation\\application\\web.php:161\r\n    [15-Nov-2016 12:02:52 UTC] PHP   6. JMail->Send() \\websrc\\xxx\\www\\installation\\controller\\install\\email.php:135\r\n\r\n\r\n### Expected result\r\n\r\nAt least an error message\r\n\r\n### Actual result\r\nCode does not seem to have access to the JError object in this code but has the potential to use it twice!\r\n\r\n\r\n### System information (as much as possible)\r\nDatabase Version \t5.7.10\r\nDatabase Collation \tutf8mb4_general_ci\r\nDatabase Connection Collation \tutf8mb4_general_ci\r\nPHP Version \t7.0.13\r\nWeb Server \tApache/2.4.23 (Win32) PHP/7.0.13\r\nWebServer to PHP Interface \tapache2handler\r\nJoomla! Version \tJoomla! 3.6.4 Stable [ Noether ] 21-October-2016 16:33 GMT\r\nJoomla! Platform Version \tJoomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT\r\nUser Agent \tMozilla/5.0 (Windows NT 6.1; rv:49.0) Gecko/20100101 Firefox/49.0 \r\n\r\n\r\n### Additional comments\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/260649616","html_url":"https://github.com/joomla/joomla-cms/issues/12898#issuecomment-260649616","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/12898","id":260649616,"user":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T14:05:50Z","updated_at":"2016-11-15T14:05:50Z","body":"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).\r\n\r\nIf you need further assistance troubleshooting this issue, please visit https://forum.joomla.org for community support."}}
{"actor":{"display_login":"mbabker"}}