Running latest version of Flaram, fresh install just today. Have a few extensions up and running. I have it running on a local webserver using Wampserver for Windows (Apache, MySQL, PHP), which I have port forwarded default port 80 to my pfsense router to make the webserver publicly accessible, from there I am forwarding this IP address using google domains to give it a .com domain. It is currently viewable at http://www.combatlan.com/forums (along with some static HTML pages at http://www.combatlan.com/) just fine.
The default admin account is able to login, post, comment, reply, upload, manage extensions and do pretty much everything else no problem. However, I'm running into an issue with creating new accounts, and particularly validating them. I believe the issue is with SMTP, as I have yet to have been able to sucessfully send a validation email, but I have seen new users information show up in the MySQL database when viewing it in phpmyadmin.
However, not every time a user registers has it sucessfully showed up. I have been trying a number of different things to fix this issue, but an coming up with no solutions. To my knowledge, I don't have any mail server/software running right now on this machine, and I already tried/failed to use gmail as SMTP. Even installed the SMTP GUI extension to make life easier, but still not working. Any help? When registering, users will get one of these two debug codes:
POST http://combatlan.com/forums/register
null
OR
POST http://combatlan.com/forums/register
{
"errors": [
{
"code": 500,
"title": "Internal server error",
"detail": "exception 'Swift_TransportException' with message 'Expected response code 250 but got code \"535\", with message \"535-5.7.8 Username and Password not accepted. Learn more at\r\n535 5.7.8 https://support.google.com/mail/answer/14257 d12sm10728368qke.11 - gsmtp\r\n\"' in C:\wamp64\www\forums\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php:383\nStack trace:\n#0 C:\wamp64\www\forums\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php(281): Swift_Transport_AbstractSmtpTransport->assertResponseCode('535-5.7.8 Usern...', Array)\n#1 C:\wamp64\www\forums\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\EsmtpTransport.php(243): Swift_Transport_AbstractSmtpTransport->executeCommand('RSET\r\n', Array, Array)\n#2 C:\wamp64\www\forums\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\Esmtp\Auth\XOAuth2Authenticator.php(55): Swift_Transport_EsmtpTransport->executeCommand('RSET\r\n', Array)\n#3 C:\wamp64\www\forums\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\Esmtp\AuthHandler.php(176): Swift_Transport_Esmtp_Auth_XOAuth2Authenticator->authenticate(Object(Swift_SmtpTransport), '0chrisjones0@gm...', '3b49A5242')\n#4 C:\wamp64\www\forums\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\EsmtpTransport.php(307): Swift_Transport_Esmtp_AuthHandler->afterEhlo(Object(Swift_SmtpTransport))\n#5 C:\wamp64\www\forums\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php(118): Swift_Transport_EsmtpTransport->doHeloCommand()\n#6 C:\wamp64\www\forums\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Mailer.php(79): Swift_Transport_AbstractSmtpTransport->start()\n#7 C:\wamp64\www\forums\vendor\illuminate\mail\Mailer.php(395): Swift_Mailer->send(Object(Swift_Message), Array)\n#8 C:\wamp64\www\forums\vendor\illuminate\mail\Mailer.php(181): Illuminate\Mail\Mailer->sendSwiftMessage(Object(Swift_Message))\n#9 C:\wamp64\www\forums\vendor\illuminate\mail\Mailer.php(133): Illuminate\Mail\Mailer->send(Array, Array, Object(Closure))\n#10 C:\wamp64\www\forums\vendor\flarum\core\src\Core\Listener\EmailConfirmationMailer.php(88): Illuminate\Mail\Mailer->raw('Hey ChuckTesta!...', Object(Closure))\n#11 [internal function]: Flarum\Core\Listener\EmailConfirmationMailer->whenUserWasRegistered(Object(Flarum\Event\UserWasRegistered))\n#12 C:\wamp64\www\forums\vendor\illuminate\events\Dispatcher.php(221): call_user_func_array(Array, Array)\n#13 C:\wamp64\www\forums\vendor\flarum\core\src\Core\Support\DispatchEventsTrait.php(34): Illuminate\Events\Dispatcher->fire(Object(Flarum\Event\UserWasRegistered))\n#14 C:\wamp64\www\forums\vendor\flarum\core\src\Core\Command\RegisterUserHandler.php(156): Flarum\Core\Command\RegisterUserHandler->dispatchEventsFor(Object(Flarum\Core\User), Object(Flarum\Core\Guest))\n#15 [internal function]: Flarum\Core\Command\RegisterUserHandler->handle(Object(Flarum\Core\Command\RegisterUser))\n#16 C:\wamp64\www\forums\vendor\illuminate\bus\Dispatcher.php(203): call_user_func(Array, Object(Flarum\Core\Command\RegisterUser))\n#17 [internal function]: Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(Flarum\Core\Command\RegisterUser))\n#18 C:\wamp64\www\forums\vendor\illuminate\pipeline\Pipeline.php(139): call_user_func(Object(Closure), Object(Flarum\Core\Command\RegisterUser))\n#19 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Flarum\Core\Command\RegisterUser))\n#20 C:\wamp64\www\forums\vendor\illuminate\pipeline\Pipeline.php(103): call_user_func(Object(Closure), Object(Flarum\Core\Command\RegisterUser))\n#21 C:\wamp64\www\forums\vendor\illuminate\bus\Dispatcher.php(204): Illuminate\Pipeline\Pipeline->then(Object(Closure))\n#22 C:\wamp64\www\forums\vendor\illuminate\bus\Dispatcher.php(177): Illuminate\Bus\Dispatcher->dispatchNow(Object(Flarum\Core\Command\RegisterUser), NULL)\n#23 C:\wamp64\www\forums\vendor\flarum\core\src\Api\Controller\CreateUserController.php(45): Illuminate\Bus\Dispatcher->dispatch(Object(Flarum\Core\Command\RegisterUser))\n#24 C:\wamp64\www\forums\vendor\flarum\core\src\Api\Controller\AbstractSerializeController.php(96): Flarum\Api\Controller\CreateUserController->data(Object(Zend\Diactoros\ServerRequest), Object(Tobscure\JsonApi\Document))\n#25 C:\wamp64\www\forums\vendor\flarum\core\src\Api\Controller\AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Zend\Diactoros\ServerRequest))\n#26 C:\wamp64\www\forums\vendor\flarum\core\src\Api\Client.php(68): Flarum\Api\Controller\AbstractCreateController->handle(Object(Zend\Diactoros\ServerRequest))\n#27 C:\wamp64\www\forums\vendor\flarum\core\src\Forum\Controller\RegisterController.php(59): Flarum\Api\Client->send('Flarum\\Api\\Cont...', Object(Flarum\Core\Guest), Array, Array)\n#28 C:\wamp64\www\forums\vendor\flarum\core\src\Http\GenerateRouteHandlerTrait.php(37): Flarum\Forum\Controller\RegisterController->handle(Object(Zend\Stratigility\Http\Request))\n#29 C:\wamp64\www\forums\vendor\flarum\core\src\Http\Middleware\DispatchRoute.php(71): Flarum\Forum\ForumServiceProvider->Flarum\Http\{closure}(Object(Zend\Stratigility\Http\Request), Array)\n#30 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Dispatch.php(82): Flarum\Http\Middleware\DispatchRoute->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#31 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Next.php(113): Zend\Stratigility\Dispatch->invoke(Object(Zend\Stratigility\Route), NULL, Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#32 C:\wamp64\www\forums\vendor\flarum\core\src\Http\Middleware\SetLocale.php(50): Zend\Stratigility\Next->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response))\n#33 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Dispatch.php(82): Flarum\Http\Middleware\SetLocale->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#34 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Next.php(113): Zend\Stratigility\Dispatch->invoke(Object(Zend\Stratigility\Route), NULL, Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#35 C:\wamp64\www\forums\vendor\flarum\core\src\Http\Middleware\AuthenticateWithSession.php(33): Zend\Stratigility\Next->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response))\n#36 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Dispatch.php(82): Flarum\Http\Middleware\AuthenticateWithSession->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#37 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Next.php(113): Zend\Stratigility\Dispatch->invoke(Object(Zend\Stratigility\Route), NULL, Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#38 C:\wamp64\www\forums\vendor\flarum\core\src\Http\Middleware\RememberFromCookie.php(38): Zend\Stratigility\Next->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response))\n#39 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Dispatch.php(82): Flarum\Http\Middleware\RememberFromCookie->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#40 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Next.php(113): Zend\Stratigility\Dispatch->invoke(Object(Zend\Stratigility\Route), NULL, Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#41 C:\wamp64\www\forums\vendor\flarum\core\src\Http\Middleware\StartSession.php(33): Zend\Stratigility\Next->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response))\n#42 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Dispatch.php(82): Flarum\Http\Middleware\StartSession->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#43 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Next.php(113): Zend\Stratigility\Dispatch->invoke(Object(Zend\Stratigility\Route), NULL, Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#44 C:\wamp64\www\forums\vendor\flarum\core\src\Http\Middleware\ParseJsonBody.php(30): Zend\Stratigility\Next->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response))\n#45 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Dispatch.php(82): Flarum\Http\Middleware\ParseJsonBody->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#46 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\Next.php(113): Zend\Stratigility\Dispatch->invoke(Object(Zend\Stratigility\Route), NULL, Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response), Object(Zend\Stratigility\Next))\n#47 C:\wamp64\www\forums\vendor\zendframework\zend-stratigility\src\MiddlewarePipe.php(75): Zend\Stratigility\Next->invoke(Object(Zend\Stratigility\Http\Request), Object(Zend\Stratigility\Http\Response))\n#48 C:\wamp64\www\forums\vendor\zendframework\zend-diactoros\src\Server.php(166): Zend\Stratigility\MiddlewarePipe->__invoke(Object(Zend\Diactoros\ServerRequest), Object(Zend\Diactoros\Response), NULL)\n#49 C:\wamp64\www\forums\vendor\flarum\core\src\Http\AbstractServer.php(38): Zend\Diactoros\Server->listen()\n#50 C:\wamp64\www\forums\index.php(16): Flarum\Http\AbstractServer->listen()\n#51 {main}"
}
]
}