# No access after config.php change, php error, http error 500, SimpleContainer.php:110 error

**URL:** <https://help.nextcloud.com/t/no-access-after-config-php-change-php-error-http-error-500-simplecontainer-php-110-error/38098>\
**Category:** ℹ️ Support\
**Tags:** configphp, nc14, php71\
**Created:** [October 1, 2018, 7:47pm UTC](https://help.nextcloud.com/t/no-access-after-config-php-change-php-error-http-error-500-simplecontainer-php-110-error/38098 "2018-10-01T19:47:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cosmo](https://help.nextcloud.com/letter_avatar/cosmo/32/6_22734026db12803ebb3e059622ac3534.png) [@Cosmo](https://help.nextcloud.com/u/Cosmo)\
**Post date:** [October 1, 2018, 7:47pm UTC](https://help.nextcloud.com/t/no-access-after-config-php-change-php-error-http-error-500-simplecontainer-php-110-error/38098/1 "2018-10-01T19:47:25Z")

</div>

Nextcloud version _(eg, 12.0.2)_: 14  
Operating system and version _(eg, Ubuntu 17.04)_: ??? hosted  
Apache or nginx version _(eg, Apache 2.4.25)_: ??? hosted  
PHP version _(eg, 7.1)_: 7.1

Hello,

I would like to have my own cloud drive but I have no idea how to use Linux.  
So I rent a cheep webspace server with apps.  
Unfortunately only owncloud was available.  
But the provider installed nextcloud for a small extra fee.  
Everything worked fine until I tried to add a trusted domain to the config.php using WinSCP as described her ([Adding a new trusted domain](https://help.nextcloud.com/t/adding-a-new-trusted-domain/26)).

After this change I tried the new and the old link for my nextcloud login.  
Nothing happened … no Login … HTTP error 500.

The output of your Nextcloud log in **Admin \> Logging** :

```auto
Can't Access

```

The output of your config.php file in `/path/to/nextcloud` (make sure you remove any identifiable information!):

```auto
this file isn't a log file, it's a config file. Right?

```

The output of your php\_errors.log file:

```auto
[01-Oct-2018 19:03:54 UTC] PHP Fatal error: Uncaught OCP\AppFramework\QueryException: Could not resolve defaultTokenProvider! Class defaultTokenProvider does not exist in /srv/www/XXXX/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php:110

```

The output of your Apache/nginx/system log in `/var/log/ ____ `:

```auto
I don't know.

```

The Nextcloud Win Client says php error.

Before changing the config.php I made a backup.  
I tried to restore it but this didn’t work either.

I changed php version to 5.3.  
Now the login page asked me to use at least php 7.  
So nextcloud seems to be there somewhere.  
I have no shell access. So I don’t know what to do.

What did go wrong?  
I would appreciate any help.  
Thanks.

Cosmo

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 4, 2024, 8:25am UTC](https://help.nextcloud.com/t/no-access-after-config-php-change-php-error-http-error-500-simplecontainer-php-110-error/38098/2 "2024-12-04T08:25:34Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [January 24, 2025, 8:20am UTC](https://help.nextcloud.com/t/no-access-after-config-php-change-php-error-http-error-500-simplecontainer-php-110-error/38098/3 "2025-01-24T08:20:43Z")

</div>


