Failed To Load Resources: Status of 500

I think I am on the final Step – I think –
I am trying integrate Auth0 with a PHP application using the Auth0 PHP SDK.
I am using GoDaddy
I installed All: PHP 7.4+ (8.0 recommended) | Auth0-PHP 8.0 | Composer
I updated the .env file
I have completed the GetStart and have an index.php file
But when I try to access it I get I get
Failed To Load Resource: the server responded with a status of 500 ()
Any help would be greatly appreciated.

Hi @rjlhhi,

Welcome to the Auth0 Community!

A 500 error typically indicates an issue on the server that is responding.

In the context of Auth0, you usually see this type of error because of a misconfiguration that results in a request to the wrong server.

Are you sure your request is getting to the correct server/endpoint? Can you provide an example of the request that is being made (exclude sensitive data).

Dan:

My apologies on the delay in getting back to you. I added some code to get more detail and was able to troubleshoot – now it works without error – but I get a blank screen – troubleshooting this now –

I will let you know –

Randy

1 Like

Sounds good. Thank you for the update!

Dan:
during troubleshooting I see now I am getting this error message:

Warning : preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 1 in /home/XXXXXXXXX/vendor/steampixel/simple-php-router/src/Steampixel/Route.php on line 90

This is line 90 –

  // Check path match
  if (preg_match('#'.$route['expression'].'#'.($case_matters ? '' : 'i').'u', $path, $matches)) {
    $path_match_found = true;

Any ideas on how I can overcome it —

Randy

Hi @rjlhhi,

It doesn’t appear to be related to Auth0, unless I am mistaken.

These resources may provide some insight:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.