After installing filemanager and extracting acidfree into my modules directory, I go to admin/modules I get this error:

Error: 502 Bad Gateway.

Mal-formed reply from origin server.

If I delete acidfree from my modules directory the error goes away. There is nothing in my apache error logs or access logs - nothing that even says that the page was requested! This makes it a bit hard to work out what is going on.

I know it has something to do with proxies (I am behind one), but why does the presence or absence of acidfree alter the error? It might not be specific to acidfree, because I also had this same error with the image module when trying to upload a large image.

Any ideas or pointers as to how I can track this down would be appreciated.

Comments

peter_n’s picture

Tried this at home with no proxy and just got a blank page. So this message is generated by my proxy when a totally blank page occurs.

A search on 'blank page' came up with this thread http://drupal.org/node/41230 that suggests increasing the memory limit in php.ini - its set at 8MB at the moment which it seems is fairly low, so that's probably the cause.

This would also explain the previous problems where image manipulation failed on large images, but not smaller ones.

Edit: Fixed by adding this entry in my sites/default/settings.php file:

ini_set('memory_limit',   '16M');