<p>Clear your Cache manually going into the Storage folder. It happens when you add new entries and the code is not written properly or any other issue may reflect this error. So the best thing to clear the storage part manually.</p>

<p>To do this; Delete the entire folder <code>\craft\storage\runtime</code></p>

CC BY-SA 4.0
2019-04-30T05:40:29.830Z
to be clear delete `\craft\storage\runtime\cache` or more than that? I have tried that, and the cache folder recreates, but the errors persist.
Paul K
CC BY-SA 4.0
2019-04-30T19:59:58.223Z
Yeah delete the runtime manually.
Priti Rathod
CC BY-SA 4.0
2019-04-25T23:30:26.727Z
2019-05-01T23:55:42.550Z
2019-05-01T23:55:42.550Z
Priti Rathod
<p>After copying files from a web server to my local devbox I am unable to open any 'Entries'. I keep getting two of the following error: "An unknown error occured."</p>

<p><a href="https://i.sstatic.net/6OE8q.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/6OE8q.png" alt="There are always two errors "></a></p>

<p><strike>The assets section does open and I am able to see the various loaded assets.</strike>. This also does not display, same error pop-up.</p>

<p>The strangest part is there are no logs to speak of... I tried clearing all the logs just in case, but they're still empty.</p>

<p>I'm using Laragon with PHP 7.2.11 Apache 2.4.35 and two different sites give me the same error.</p>

<p>EDIT: I have tried <code>ignore_user_abort = On</code> in my php.ini file as per a <a href="https://craftcms.stackexchange.com/a/28364/9627">similar issue</a> </p>

<p>EDIT: The only php error is recurring on every page load, but I thought it was a compatibility thing:</p>

<pre><code>[24-Apr-2019 08:08:02 UTC] PHP Warning:  Use of undefined constant auto - assumed 'auto' (this will throw an Error in a future version of PHP) in D:\laragon\www\cannon-kitchens\craft\config\general.php on line 13
</code></pre>

<p>EDIT: I am now seeing some logs, but this appears to be normal operation:</p>

<pre><code>2019-04-24 10:13:58
Level   profile
Category    system.db.CDbCommand.query
Message     end:system.db.CDbCommand.query(SELECT `t`.`id` AS `t0_c0`, `t`.`structureId` AS `t0_c1`, `t`.`fieldLayoutId` AS `t0_c2`, `t`.`name` AS `t0_c3`, `t`.`handle` AS `t0_c4`, `t`.`hasUrls` AS `t0_c5`, `t`.`template` AS `t0_c6`, `t`.`dateCreated` AS `t0_c7`, `t`.`dateUpdated` AS `t0_c8`, `t`.`uid` AS `t0_c9`, `structure`.`id` AS `t1_c0`, `structure`.`maxLevels` AS `t1_c1`, `structure`.`dateCreated` AS `t1_c2`, `structure`.`dateUpdated` AS `t1_c3`, `structure`.`uid` AS `t1_c4` FROM `craft_categorygroups` `t` LEFT OUTER JOIN `craft_structures` `structure` ON (`t`.`structureId`=`structure`.`id`) ORDER BY name)
2019-04-24 10:13:58
Level   profile
Category    system.db.CDbCommand.query
Message     begin:system.db.CDbCommand.query(SELECT `t`.`id` AS `t0_c0`, `t`.`structureId` AS `t0_c1`, `t`.`fieldLayoutId` AS `t0_c2`, `t`.`name` AS `t0_c3`, `t`.`handle` AS `t0_c4`, `t`.`hasUrls` AS `t0_c5`, `t`.`template` AS `t0_c6`, `t`.`dateCreated` AS `t0_c7`, `t`.`dateUpdated` AS `t0_c8`, `t`.`uid` AS `t0_c9`, `structure`.`id` AS `t1_c0`, `structure`.`maxLevels` AS `t1_c1`, `structure`.`dateCreated` AS `t1_c2`, `structure`.`dateUpdated` AS `t1_c3`, `structure`.`uid` AS `t1_c4` FROM `craft_categorygroups` `t` LEFT OUTER JOIN `craft_structures` `structure` ON (`t`.`structureId`=`structure`.`id`) ORDER BY name)
2019-04-24 10:13:58
Level   trace
Category    system.db.CDbCommand
Message     Querying SQL: SELECT `t`.`id` AS `t0_c0`, `t`.`structureId` AS `t0_c1`, `t`.`fieldLayoutId` AS `t0_c2`, `t`.`name` AS `t0_c3`, `t`.`handle` AS `t0_c4`, `t`.`hasUrls` AS `t0_c5`, `t`.`template` AS `t0_c6`, `t`.`dateCreated` AS `t0_c7`, `t`.`dateUpdated` AS `t0_c8`, `t`.`uid` AS `t0_c9`, `structure`.`id` AS `t1_c0`, `structure`.`maxLevels` AS `t1_c1`, `structure`.`dateCreated` AS `t1_c2`, `structure`.`dateUpdated` AS `t1_c3`, `structure`.`uid` AS `t1_c4` FROM `craft_categorygroups` `t` LEFT OUTER JOIN `craft_structures` `structure` ON (`t`.`structureId`=`structure`.`id`) ORDER BY name
2019-04-24 10:13:58
Level   profile
Category    system.db.CDbCommand.query
Message     end:system.db.CDbCommand.query(SHOW CREATE TABLE `craft_structures`)
</code></pre>

CC BY-SA 4.0
2019-04-22T13:04:22.607Z
Can you produce normal error logs for php? What is the laragon path to php errors? Any errors in there or apache? Sounds like a 500 error/pathway problem to me
joomkit
CC BY-SA 4.0
2019-04-22T22:44:32.550Z
Check your browser's console's network tab and see if any the requests are coming back with a non-200 response... if so, what are they?
Brad Bell
CC BY-SA 4.0
2019-04-24T08:09:10.380Z
Thanks - The only non-200 code was a 404 for a favicon.ico but I didn't think that would make a difference? PHP error attached, but is it related?
Paul K
CC BY-SA 4.0
2019-04-25T22:47:52.197Z
I don't know if it will solve your problem, but somewhere in `config\general.php`, you have a setting set to `auto`, when it should be `'auto'` (with the quotes).
Brad Bell
<entries><craft2>
An unknown error occurred - no log entry
# An unknown error occurred - no log entry

(Asked by: username_0 on 2019-04-17)

After copying files from a web server to my local devbox I am unable to open any 'Entries'. I keep getting two of the following error: "An unknown error occured."

The assets section does open and I am able to see the various loaded assets.. This also does not display, same error pop-up.
The strangest part is there are no logs to speak of... I tried clearing all the logs just in case, but they're still empty.
I'm using Laragon with PHP 7.2.11 Apache 2.4.35 and two different sites give me the same error.
EDIT: I have tried ignore_user_abort = On in my php.ini file as per a similar issue 
EDIT: The only php error is recurring on every page load, but I thought it was a compatibility thing:
[24-Apr-2019 08:08:02 UTC] PHP Warning:  Use of undefined constant auto - assumed 'auto' (this will throw an Error in a future version of PHP) in D:\laragon\www\cannon-kitchens\craft\config\general.php on line 13

EDIT: I am now seeing some logs, but this appears to be normal operation:
2019-04-24 10:13:58
Level   profile
Category    system.db.CDbCommand.query
Message     end:system.db.CDbCommand.query(SELECT `t`.`id` AS `t0_c0`, `t`.`structureId` AS `t0_c1`, `t`.`fieldLayoutId` AS `t0_c2`, `t`.`name` AS `t0_c3`, `t`.`handle` AS `t0_c4`, `t`.`hasUrls` AS `t0_c5`, `t`.`template` AS `t0_c6`, `t`.`dateCreated` AS `t0_c7`, `t`.`dateUpdated` AS `t0_c8`, `t`.`uid` AS `t0_c9`, `structure`.`id` AS `t1_c0`, `structure`.`maxLevels` AS `t1_c1`, `structure`.`dateCreated` AS `t1_c2`, `structure`.`dateUpdated` AS `t1_c3`, `structure`.`uid` AS `t1_c4` FROM `craft_categorygroups` `t` LEFT OUTER JOIN `craft_structures` `structure` ON (`t`.`structureId`=`structure`.`id`) ORDER BY name)
2019-04-24 10:13:58
Level   profile
Category    system.db.CDbCommand.query
Message     begin:system.db.CDbCommand.query(SELECT `t`.`id` AS `t0_c0`, `t`.`structureId` AS `t0_c1`, `t`.`fieldLayoutId` AS `t0_c2`, `t`.`name` AS `t0_c3`, `t`.`handle` AS `t0_c4`, `t`.`hasUrls` AS `t0_c5`, `t`.`template` AS `t0_c6`, `t`.`dateCreated` AS `t0_c7`, `t`.`dateUpdated` AS `t0_c8`, `t`.`uid` AS `t0_c9`, `structure`.`id` AS `t1_c0`, `structure`.`maxLevels` AS `t1_c1`, `structure`.`dateCreated` AS `t1_c2`, `structure`.`dateUpdated` AS `t1_c3`, `structure`.`uid` AS `t1_c4` FROM `craft_categorygroups` `t` LEFT OUTER JOIN `craft_structures` `structure` ON (`t`.`structureId`=`structure`.`id`) ORDER BY name)
2019-04-24 10:13:58
Level   trace
Category    system.db.CDbCommand
Message     Querying SQL: SELECT `t`.`id` AS `t0_c0`, `t`.`structureId` AS `t0_c1`, `t`.`fieldLayoutId` AS `t0_c2`, `t`.`name` AS `t0_c3`, `t`.`handle` AS `t0_c4`, `t`.`hasUrls` AS `t0_c5`, `t`.`template` AS `t0_c6`, `t`.`dateCreated` AS `t0_c7`, `t`.`dateUpdated` AS `t0_c8`, `t`.`uid` AS `t0_c9`, `structure`.`id` AS `t1_c0`, `structure`.`maxLevels` AS `t1_c1`, `structure`.`dateCreated` AS `t1_c2`, `structure`.`dateUpdated` AS `t1_c3`, `structure`.`uid` AS `t1_c4` FROM `craft_categorygroups` `t` LEFT OUTER JOIN `craft_structures` `structure` ON (`t`.`structureId`=`structure`.`id`) ORDER BY name
2019-04-24 10:13:58
Level   profile
Category    system.db.CDbCommand.query
Message     end:system.db.CDbCommand.query(SHOW CREATE TABLE `craft_structures`)

**Tags:** entries, craft2
> **Comments:**
> **username_1**: Can you produce normal error logs for php? What is the laragon path to php errors? Any errors in there or apache? Sounds like a 500 error/pathway problem to me  
> **username_2**: Check your browser's console's network tab and see if any the requests are coming back with a non-200 response... if so, what are they?  
> **username_0**: Thanks - The only non-200 code was a 404 for a favicon.ico but I didn't think that would make a difference? PHP error attached, but is it related?  
> **username_2**: I don't know if it will solve your problem, but somewhere in `config\general.php`, you have a setting set to `auto`, when it should be `'auto'` (with the quotes).  

---

## 1 answers

### Answer by username_3 on 2019-04-25. Score: 0 | Accepted answer

Clear your Cache manually going into the Storage folder. It happens when you add new entries and the code is not written properly or any other issue may reflect this error. So the best thing to clear the storage part manually.

To do this; Delete the entire folder `\craft\storage\runtime`

> **Comments:**
> **username_0**: to be clear delete `\craft\storage\runtime\cache` or more than that? I have tried that, and the cache folder recreates, but the errors persist.  
> **username_3**: Yeah delete the runtime manually.  

---

