# Can't open lead record, hanging up

**URL:** <https://forum.mautic.org/t/cant-open-lead-record-hanging-up/3415>\
**Category:** Product Support\
**Created:** [February 9, 2016, 2:19pm UTC](https://forum.mautic.org/t/cant-open-lead-record-hanging-up/3415 "2016-02-09T14:19:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![balkee](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@balkee](https://forum.mautic.org/u/balkee)\
**Post date:** [February 9, 2016, 2:19pm UTC](https://forum.mautic.org/t/cant-open-lead-record-hanging-up/3415/1 "2016-02-09T14:19:46Z")

</div>

I’m getting the following in the log, while opening a lead record, it hangs up:  
  
  
  
\_\_CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/usr/share/pear:/usr/share/php’) - in file /var/www/html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 207  
  
  
  
I tried clearing cache (del prod folder), restarted apache, restarted mysql, cleared the browser history.  
  
Running Mautic v1.2.4. php 5.4.45  
  
On a self hosted lamp platform.  
  
  
  
Thanks,

---

<div class="post-metadata">

**Author:** ![balkee](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@balkee](https://forum.mautic.org/u/balkee)\
**Post date:** [February 9, 2016, 2:19pm UTC](https://forum.mautic.org/t/cant-open-lead-record-hanging-up/3415/2 "2016-02-09T14:19:46Z")

</div>

I’m getting the following in the log, while opening a lead record, it hangs up:

\_\_CG\_\_MauticPluginBundleEntityPlugin.php’ (include\_path=’.:/usr/share/pear:/usr/share/php’) - in file /var/www/html/mautic/vendor/doctrine/common/lib/Doctrine/Common/Proxy/AbstractProxyFactory.php - at line 207

I tried clearing cache (del prod folder), restarted apache, restarted mysql, cleared the browser history.  
Running Mautic v1.2.4. php 5.4.45  
On a self hosted lamp platform.

Thanks,

---

<div class="post-metadata">

**Author:** ![balkee](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@balkee](https://forum.mautic.org/u/balkee)\
**Post date:** [February 9, 2016, 11:06pm UTC](https://forum.mautic.org/t/cant-open-lead-record-hanging-up/3415/3 "2016-02-09T23:06:41Z")

</div>

Looking at the cache folder, I believe this is a problem in with orm proxies getting built… The Proxies folder is empty. Apparently it’s not generating all files when I start mautic in the browser. I remember that it did hangup in the initial start, I had to refresh to get to login.

Is there a command to force build the cache folder? Any alternative solutions, would you recommend copying files from a backup folder?

I’ve been down all day I appreciate any help. It hangs up on retrieval and update.

Thanks,

---

<div class="post-metadata">

**Author:** ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)\
**Post date:** [February 10, 2016, 12:23pm UTC](https://forum.mautic.org/t/cant-open-lead-record-hanging-up/3415/4 "2016-02-10T12:23:02Z")

</div>

The cache should generate if the folder is empty. Maybe you have some permission issue there?

---

<div class="post-metadata">

**Author:** ![balkee](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@balkee](https://forum.mautic.org/u/balkee)\
**Post date:** [February 10, 2016, 2:29pm UTC](https://forum.mautic.org/t/cant-open-lead-record-hanging-up/3415/5 "2016-02-10T14:29:43Z")

</div>

No changes in accounts or permissions, it always generated after deleting the cache, nothing in the logs indicating permission issues. It’s creating all other folders/files, except the orm proxy files.

I copied the files from a backup folder into the cache orm proxies folder and it’s working now, but I doubt that’s a good way to resolve, I was hoping there’s a way to force create the files.

Thanks,
