Site migrate to new server late Jan 2018 - new server is NGINX so .htaccess files don't work Also note sim links need to be created in:
/srv/www/wp.dxlab.sl.nsw.gov.au/shared/experiments/mainstreet/web/bundles
they are:
framework -> ../../vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/public/ sensiodistribution -> ../../vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/public/ sldataharvest -> ../../src/SL/DataHarvestBundle/Resources/public/
and /srv/www/wp.dxlab.sl.nsw.gov.au/shared/experiments/mainstreet/bin
they are:
doctrine -> ../vendor/doctrine/orm/bin/doctrine doctrine.php -> ../vendor/doctrine/orm/bin/doctrine.php security-checker -> ../vendor/sensiolabs/security-checker/security-checker
To avoid some issues with non-https access of SLNSW images from the ACMS site we copied the images onto the server and updated the XML file SLNSWMainStreets.xml which lives in /srv/www/wp.dxlab.sl.nsw.gov.au/shared/experiments/mainstreet/web/bundles/sldataharvest/xml to have relative paths to the local images instead of URLs to the ACMS site.
The images live in a folder called acms which lives in /srv/www/wp.dxlab.sl.nsw.gov.au/shared/experiments/mainstreet/web
The site only seems to work with this URL: dxlab.sl.nsw.gov.au/mainstreet/web/app.php rather than the dxlab.sl.nsw.gov.au/mainstreet/ or dxlab.sl.nsw.gov.au/mainstreet/web/ So we also two index.php files in those location which re-direct to dxlab.sl.nsw.gov.au/mainstreet/web/app.php
Lastly the lack of .htaccess files seems to stop some ajax calls to Trove from working meaning the tags that normally appear in the middle of the page do not show up. This seems to be because URLs of this form do not work:
Not sure how to fix this right now.
Replaced insecure JS src on server here: app/cache/prod/twig/5/8/586bec3f45187935752d6b384cf0b9c07b1c3703e7aac9728c799f37f34b5350.php This file is not in the repo as it is generated. However this is the template file: src/SL/DataHarvestBundle/Resources/views/Default/base.html.twig, which has been updated.
Welcome to the Symfony Standard Edition - a fully-functional Symfony2 application that you can use as the skeleton for your new applications.
For details on how to download and get started with Symfony, see the Installation chapter of the Symfony Documentation.
The Symfony Standard Edition is configured with the following defaults:
-
An AppBundle you can use to start coding;
-
Twig as the only configured template engine;
-
Doctrine ORM/DBAL;
-
Swiftmailer;
-
Annotations enabled for everything.
It comes pre-configured with the following bundles:
-
FrameworkBundle - The core Symfony framework bundle
-
SensioFrameworkExtraBundle - Adds several enhancements, including template and routing annotation capability
-
DoctrineBundle - Adds support for the Doctrine ORM
-
TwigBundle - Adds support for the Twig templating engine
-
SecurityBundle - Adds security by integrating Symfony's security component
-
SwiftmailerBundle - Adds support for Swiftmailer, a library for sending emails
-
MonologBundle - Adds support for Monolog, a logging library
-
AsseticBundle - Adds support for Assetic, an asset processing library
-
WebProfilerBundle (in dev/test env) - Adds profiling functionality and the web debug toolbar
-
SensioDistributionBundle (in dev/test env) - Adds functionality for configuring and working with Symfony distributions
-
SensioGeneratorBundle (in dev/test env) - Adds code generation capabilities
-
DebugBundle (in dev/test env) - Adds Debug and VarDumper component integration
All libraries and bundles included in the Symfony Standard Edition are released under the MIT or BSD license.
Enjoy!