title: Prestashop 1.6.1.11 (500) Internal server error (Associations) bytes exhausted
body: <p>I've had a question posted on the Prestashop forums for some time regarding an issue that I'm not sure how to resolve. I'll post the link below to the original question, any assistance I can get regarding this issue would be greatly appreciated.</p>
  
  <p><a href="https://www.prestashop.com/forums/topic/601133-16111-500-internal-server-error-associations/" rel="noreferrer">Initial Prestashop Forum Question.</a></p>
  
  <hr>
  
  <p>Prestashop 1.6.1.11: Everytime I access certain products and try to edit thier associations I receive an error notice;</p>
  
  <blockquote>
    <p><strong>(500 Internal Server Error)</strong></p>
    
    <p><em>A server error occurred while loading the tabs: some tabs could not be
    loaded. Please try again by refreshing the page. If you are still
    encountering this problem, please check your server logs or contact
    your hosting provider for assistance.</em></p>
  </blockquote>
  
  <p>I completed a few steps to try to identify the error as shown below in my code snippet, a result of which I was able to return a few details regarding the error.</p>
  
  <pre><code>&lt;php
  
  // I enabled dev mode via config/defines.inc.php
  if (!defined('_PS_MODE_DEV_')) {
  define('_PS_MODE_DEV_', true);
  }
  
  ?&gt;
  </code></pre>
  
  <blockquote>
    <p><strong>Re-tracing the steps I tried to reccur the error.</strong> </p>
    
    <p>This was my result...</p>
    
    <p><em>Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8192 bytes) in /classes/cache/CacheFs.php on line 69</em></p>
  </blockquote>
  
  <p>I took a few steps forward in hopes of correcting this issue but all to no avail. I'll list the steps I've attempted below;</p>
  
  <ul>
  <li>Adjusted my php.ini to allow the full memory limit, I'll post a full copy of which below. <code>(memory_limit = 128M)</code></li>
  <li>Contacted my hosting provider to have the 'xCache' caching module installed on my sever in hopes of worming my around the default caching solution and finding a possible fix. However this is not possible at this time.</li>
  <li><p>Checked for recently installed module issues. (None found)</p>
  
  <p></p></li>
  </ul>
  
  <hr>
  
  <p>I have done some further digging on the web but most solutions seem exstensive, such as rebuilding the code to be less memory intensive. Sadly, I'm not confident enough in my ability to reliably resolve this issue with my current knowledge and I'm seeking some advice on how to go about resolving this error.</p>
  
  <p>Regards,
  -B</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>After further digging and after disabling caching, my error location has changedto; <code>Adapter/Adapter_EntityMapper.php on line 98</code>.</p>