Skip to content

Error 403 in android app in private server. #119

@aberrio9

Description

@aberrio9

Hi,

Does the server side support PHP 8.4?

I am getting the following errors.

Notice: date_default_timezone_set(): Timezone ID 'UTC # e.g., America/New_York, Europe/London' is invalid in /var/www/tchosting/gpstracker/src/bootstrap.php on line 62

Deprecated: App\Middleware\RateLimiter::init(): Implicitly marking parameter $cacheDir as nullable is deprecated, the explicit nullable type must be used instead in /var/www/tchosting/gpstracker/src/Middleware/RateLimiter.php on line 53

Deprecated: App\Controllers\RouteController::__construct(): Implicitly marking parameter $routeRepository as nullable is deprecated, the explicit nullable type must be used instead in /var/www/tchosting/gpstracker/src/Controllers/RouteController.php on line 44

Deprecated: App\Controllers\LocationController::__construct(): Implicitly marking parameter $locationService as nullable is deprecated, the explicit nullable type must be used instead in /var/www/tchosting/gpstracker/src/Controllers/LocationController.php on line 34

Removing the comment after # in the date_default_timezone_set() the error clear.

The compose.jason use php8.1 had tried with 8.4 and ddid not make a difference.

Now in the android application getting error 403 when using a private server but wirks fine in your test server. .

Upload failed: HTTP error. Code: 403, Message: , Body: <title>Just a moment...</title>........

I noticed a hard code credentials in the following scripts....

gpstracaker/config/database.php
/src/ Services/Database.php

I appreciate all you held.

Best Regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions