I have just upgraded to EE2 and I need to connect via PHP to an external MySQL database sitting on the same server as our main EE 2 database. This was something that was easy to undertake in EE 1.
If I turn on PHP in the template and try and connect to the database I get the following error message:
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 27098 bytes) in /htdocs/XXXX/system/expressionengine/core/EE_Output.php on line 308I have upped the memory allowed in the system index.php and various other places with no effect.
Has anybody connected to another database using EE 2 and could provide me with some examples? I cannot find help about this anywhere!
Thank you in advance.