[eluser]hugle[/eluser]
[quote author="Phil Sturgeon" date="1232936183"]This is something you will have to talk to your hosting/server admin about as a 502 error will not be anything to do with CodeIgniter.[/quote]
Today I had a problem, with 502 error: '502 Bad Gateway' when I was using PyroCMS ( v.9.9.7, latest stable). (it was some russian hosting server (never had such problems before on my servers))
I started going step by step. Later I understood, that smth is wrong with Encrypt library (maybe some things not supported or smth ilke that) and I came to solution like this:
Downloaded the Encrypt.php from CI 2.0 branch
and also had turned on database sessions like this:
$config['sess_use_database'] = TRUE;
I I switch back to 1.7.2 Encrypt library or disable the sessions in database I get the error again.
Wanted to post here so anyone else having similar problems on BUGGY servers would save some of their time