This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
DocumentRoot /var/www/template.projectname/public_html | |
ServerName template.url | |
ErrorLog "/var/www/template.projectname/logs/error.log" | |
CustomLog "/var/www/template.projectname/logs/access.log" common | |
</VirtualHost> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Fix Windows line endings. | |
#dos2unix ~/./projects/BashServerScripts/vhost.sh | |
# Requires: Adding the 'vhost-template' file to /etc/apache2/sites-available | |
#TODO: Finish up the --help section once the script proves itself a wee bit. | |
##### Colors ##### | |
BOLD=`tput bold` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
InvalidArgumentException: Unable to load class "Twig_Environment" | |
1. in /home/chris/projects/OTP/vendor/symfony/symfony/src/Symfony/Component/ClassLoader/ClassCollectionLoader.php line 251 | |
2. at ClassCollectionLoader::getOrderedClasses(array('JMS\DiExtraBundle\HttpKernel\ControllerResolver', 'Monolog\Formatter\FormatterInterface', 'Monolog\Formatter\LineFormatter', 'Monolog\Handler\AbstractHandler', 'Monolog\Handler\AbstractProcessingHandler', 'Monolog\Handler\FingersCrossedHandler', 'Monolog\Handler\HandlerInterface', 'Monolog\Handler\StreamHandler', 'Monolog\Handler\TestHandler', 'Monolog\Logger', 'Symfony\Bridge\Monolog\Handler\DebugHandler', 'Symfony\Bridge\Monolog\Logger', 'Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser', 'Symfony\Bundle\FrameworkBundle\Controller\ControllerResolver', 'Symfony\Bundle\FrameworkBundle\EventListener\SessionListener', 'Symfony\Bundle\FrameworkBundle\HttpKernel', 'Symfony\Bundle\FrameworkBundle\Routing\RedirectableUrlMatcher', 'Symfony\Bundle\FrameworkBundle |