[eluser]smilie[/eluser]
"Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 523800 bytes)"
This is PHP error (not CodeIgniter related).
It basically means, that to execute your code, PHP needed more then allowed 64 MB memory.
Mostly, this comes from 'bad' code, like too many loops (while, if > else or foreach); but also possible cause could be that you try to store very large DB result into PHP and then handle that data.
Best practice is to trace which part of your code creates problem and to solve problem. Other (quick & dirty) solution is to increase maximum memory PHP may consume - but this could eventually lead to complete server crash.
Cheers,
Smilie