Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

trevorpan's avatar

500 error, when registering account on live site

Hi,

finally made it to the point of getting my site live! thank you laracasts.

A real, bonafide "user" even signed up yesterday. However, after signing up a 500 error is thrown. The user told me they can login fine.

I'm able to SSH into the database, provisioned by Forge, and see the user. I tried it myself and the 500 error seems to be consistent.

How can you find the source of this? My local copy does not yield this result.

Here's the RegisterController.php

class RegisterController extends Controller
{
    /*
    |--------------------------------------------------------------------------
    | Register Controller
    |--------------------------------------------------------------------------
    |
    | This controller handles the registration of new users as well as their
    | validation and creation. By default this controller uses a trait to
    | provide this functionality without requiring any additional code.
    |
    */

    use RegistersUsers;

    /**
     * Where to redirect users after registration.
     *
     * @var string
     */
    protected $redirectTo = '/home';
...

web.php

Route::get('/home', 'HomeController@index')->name('home');

I've double checked the email smtp credentials. at a loss.

0 likes
4 replies
Snapey's avatar

If a 500 error is thrown then the Laravel Log file(s) should contain the error and stack trace. This is your first place to look.

trevorpan's avatar

Hi, thank you.

Have been hunting around here on laracasts, but I must be missing something. The SSH, on SQLPro, only shows tables, not the storage folder.

Where do you go to view log files on a live server? I've hunted around the next three dashboards, but cannot seem to find a /public folder to have a look at everything - like you see in GitHub.

My setup is Envoyer, Forge and Linode.

Snapey's avatar

You should have SSH console access to your droplet on Linode.

trevorpan's avatar

@SNAPEY - ok, that's new to me. I'll give it a go here and let you know. Thank you.

Please or to participate in this conversation.