I have a perfectly working admin backend on my dev environment but it fails
miserably on the prod environment. Specifically a bunch of problems arise :
i) It is unable to read the symfony/web/sf/ directory hence not loading the
required images though it states that a project has been successfully
created. This however is not the case with the frontend leading me to
believe that the problem is more sinister than what meets the eye.
ii) Though it loads the admin pages, the css is not loaded, even though
admin.css is present in the web/css directory.
I did an inspect element and the problem seems to be this, instead of
/web/css or /sfDoctrinePlugin or /web/js
it prefixes the name of the app [controlcenter in my case] to everything,
essentially rendering the HTML as
href = "/controlcenter/web/css" or href = "/controlcenter/js" or href =
"/controlcenter/js" . And this does not happen at all on my dev environment
and things render the way they do.