# Can't access Panel "The user could not be found"

**URL:** <https://forum.getkirby.com/t/cant-access-panel-the-user-could-not-be-found/2927>\
**Category:** Questions\
**Tags:** v2\
**Created:** [December 28, 2015, 10:24pm UTC](https://forum.getkirby.com/t/cant-access-panel-the-user-could-not-be-found/2927 "2015-12-28T22:24:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![WebMechanic](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/webmechanic/32/1462_2.png) [@WebMechanic](https://forum.getkirby.com/u/WebMechanic)\
**Post date:** [December 28, 2015, 10:24pm UTC](https://forum.getkirby.com/t/cant-access-panel-the-user-could-not-be-found/2927/1 "2015-12-28T22:24:05Z")

</div>

Hello folks,  
I just downloaded the starter kit (again) 2.2.3 and the “frontend” runs fine and flawless. If I browse to /panel in order to “run the Installer”, things fail on me.  
The site throws an "Exception: **The user could not be found** in […] panel\app\src\panel.php on line 524  
Which kinda makes sense 'cos this is a brand new “install” w/o any accounts after all.  
I don’t get the “create your first user” screen as mentioned in the documentation.  
Any ideas?  
Thanks.

here’s the gist of Xdebug’s call stack:

```auto
  {main}( ) ..\index.php:0
  Kirby\Panel->launch( ) ..\index.php:51
  Router->run( ) ..\panel.php:365
  Router->filterer( ) ..\router.php:235
  call_user_func:{[...]\kirby\toolkit\lib\router.php:172} ( ) ..\router.php:172
  Kirby\Panel->Kirby\{closure}( ) ..\router.php:172
  Kirby\Panel->user( ) ..\panel.php:133

```

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [December 28, 2015, 10:34pm UTC](https://forum.getkirby.com/t/cant-access-panel-the-user-could-not-be-found/2927/2 "2015-12-28T22:34:50Z")

</div>

Where did you install Kirby? In the root of your server or in a subdirectory? Do links on the frontend work correctly?

Have you tried to set the RewriteBase in your .htaccess?

---

<div class="post-metadata">

**Author:** ![lukasbestle](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/lukasbestle/32/11437_2.png) [@lukasbestle](https://forum.getkirby.com/u/lukasbestle)\
**Post date:** [December 29, 2015, 10:45am UTC](https://forum.getkirby.com/t/cant-access-panel-the-user-could-not-be-found/2927/3 "2015-12-29T10:45:20Z")

</div>

Is there anything in your `site/accounts` directory?

---

<div class="post-metadata">

**Author:** ![WebMechanic](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/webmechanic/32/1462_2.png) [@WebMechanic](https://forum.getkirby.com/u/WebMechanic)\
**Post date:** [December 29, 2015, 1:10pm UTC](https://forum.getkirby.com/t/cant-access-panel-the-user-could-not-be-found/2927/4 "2015-12-29T13:10:30Z")

</div>

Hey, and thanks for your replies.  
@texnixe it runs in it’s own domain/DocumentRoot.  
My own content, snippets and templates, all work fine so do links + images while using the starter theme.

I meanwhile installed a fresh copy on a different server (hoster) where I had to uncomment and change **RewriteBase /** for the frontend links to work and to access /panel.

@lukasbestle there were no account files present.  
I initially tried to fix the Exception and created a new account file (admin.php) manually using the toolkit classes, but it appears _that file isn’t even loaded_ on my windoze box. Kirby just keeps bailing out with the above Exception.  
I could log in though on the hosted server, but then I got a language error. Partly successful.

Since I could get to the login box I eventually wiped my handcrafted “admin.php” and was able to create a new account via the “installer”.

**On the hosted server things look much better** after the above rewrite fix to .htaccess 🙂

I then used the newly created proper “admin.php” on my local machine, but I still get “The user could not be found”.  
Frontend links and redirects work well. It’s essentially the same set of files, yet I can’t access the panel.  
On Windows I have “PHP 5.4.44” and Apache 2.2 (a setup I cannot change for other reasons) Online it’s “PHP 5.5.30 cgi-fcgi”

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:03pm UTC](https://forum.getkirby.com/t/cant-access-panel-the-user-could-not-be-found/2927/5 "2025-02-06T17:03:53Z")

</div>

Archived on February 6, 2025, 5:03pm UTC


