out of memory

2 months 2 weeks ago #15325 by avandalen1
out of memory was created by avandalen1
I have made a lazy load test page:
avdweb.nl/tech-tips/computer/lazy-load
Without lazy load you can view the page well.
WITH lazy load you get a OutOfMemoryError:
  1. if (strpos($buffer, 'href="' . $prefix . 'index.php?') !== false) {
  2.             preg_match_all('#href="' . $prefix . 'index.php\?([^"]+)"#m', $buffer, $matches);
  3.  
  4.             foreach ($matches[1] as $urlQueryString) {
  5.                 $buffer = str_replace(
  6.                     'href="' . $prefix . 'index.php?' . $urlQueryString . '"',
  7.                     'href="' . trim($prefix, '/') . Route::_('index.php?' . $urlQueryString) . '"',
  8.                     $buffer
  9.                 );
  10.             }
The topic has been locked.
2 months 2 weeks ago #15326 by Viktor
Replied by Viktor on topic out of memory
Please log in to see the response. Attention: You need a valid subscription to activate an account.

Kubik-Rubik Joomla! Extensions
The topic has been locked.
Time to create page: 0.134 seconds