# An Unexpected Error occurred -please help as can not access anything other than C5 error page

**URL:** https://forums.concretecms.org/t/an-unexpected-error-occurred-please-help-as-can-not-access-anything-other-than-c5-error-page/5668
**Category:** Using Concrete / Help
**Created:** [May 30, 2023, 8:21pm UTC](https://forums.concretecms.org/t/an-unexpected-error-occurred-please-help-as-can-not-access-anything-other-than-c5-error-page/5668 "2023-05-30T20:21:33Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![rme](https://forums.concretecms.org/user_avatar/forums.concretecms.org/rme/32/2729_2.png) [@rme](https://forums.concretecms.org/u/rme)
#### Post date: [May 30, 2023, 8:21pm UTC](https://forums.concretecms.org/t/an-unexpected-error-occurred-please-help-as-can-not-access-anything-other-than-c5-error-page/5668/1 "2023-05-30T20:21:33Z")

</div>

This error comes up and sites do not load. all was working previously and nothing changed. Also can’t login as goes to this error even from site address /index.php/login/

mysqlt error: [1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘Groups where gID = ‘1’’ at line 1] in EXECUTE(“select \* from Groups where gID = ‘1’”)

---

<div class="post-metadata">

### Author: ![hutman](https://forums.concretecms.org/user_avatar/forums.concretecms.org/hutman/32/6198_2.png) [@hutman](https://forums.concretecms.org/u/hutman)
#### Post date: [May 30, 2023, 8:33pm UTC](https://forums.concretecms.org/t/an-unexpected-error-occurred-please-help-as-can-not-access-anything-other-than-c5-error-page/5668/2 "2023-05-30T20:33:19Z")

</div>

It looks like you are using an older ConcreteCMS version (before 5.6.4) with MySQL 8. You will either need to downgrade to MySQL 5.7 or upgrade the CMS to 5.6.4

---

<div class="post-metadata">

### Author: ![rme](https://forums.concretecms.org/user_avatar/forums.concretecms.org/rme/32/2729_2.png) [@rme](https://forums.concretecms.org/u/rme)
#### Post date: [May 30, 2023, 9:26pm UTC](https://forums.concretecms.org/t/an-unexpected-error-occurred-please-help-as-can-not-access-anything-other-than-c5-error-page/5668/3 "2023-05-30T21:26:16Z")

</div>

Many thanks, I’ll see if my host has upgraded their MySQL version.  
How can I access my dashboard to upgrade Concrete5 as I can’t login?

---

<div class="post-metadata">

### Author: ![hutman](https://forums.concretecms.org/user_avatar/forums.concretecms.org/hutman/32/6198_2.png) [@hutman](https://forums.concretecms.org/u/hutman)
#### Post date: [May 30, 2023, 9:41pm UTC](https://forums.concretecms.org/t/an-unexpected-error-occurred-please-help-as-can-not-access-anything-other-than-c5-error-page/5668/4 "2023-05-30T21:41:39Z")

</div>

You will not be able to do it from the dashboard, you will have to do it with FTP/SSH, do you know what version of the CMS you are currently running?

---

<div class="post-metadata">

### Author: ![rme](https://forums.concretecms.org/user_avatar/forums.concretecms.org/rme/32/2729_2.png) [@rme](https://forums.concretecms.org/u/rme)
#### Post date: [May 31, 2023, 4:15pm UTC](https://forums.concretecms.org/t/an-unexpected-error-occurred-please-help-as-can-not-access-anything-other-than-c5-error-page/5668/5 "2023-05-31T16:15:12Z")

</div>

They were both on 5.6.2 and the host has upgraded them to 5.6.4 and all good now so thanks very much for your help.
