When I create a menu entry for a category in Phoca Download I get the following error
This happens because Phoca is loading the full user table, with my table over 40,000 users this becomes a memory problem.Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 524288 bytes) in /xx/administrator/components/com_phocadownload/elements/phocadownloademail.php on line 29
For now I fixed it by changing the query in administrator/components/com_phocadownload/elements/phocadownloademail.php to read
Code: Select all
$query = 'SELECT id, name' . ' FROM #__users';A more elegant solution might be an AJAX interface
