Hi All - I've been struggling with this for a while, and have recently submitted a support request, but I wanted to turn to the forums as well.
I've installed Joomla with the one-click installer, and CiviCRM over it. Everything works fine, except for importing contacts, even with a reasonable small CSV file of about 300KB. The file will upload properly, but after matching the database fields through the file import wizard, I get a 504 Gateway Time-Out while CiviCRM is attempting to actually insert the data into the database.
I've tried overriding the settings of PHP.ini (post_size, max_execution_time, memory_limit, etc.) to no avail.
Has anyone overcome this problem, or has anyone not had this problem with CiviCRM to begin with?