This file contains 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
( ! ) Fatal error: Cannot access parent:: when current class scope has no parent in /[...]/WordRot/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/Provider/UserAuthenticationProvider.php on line 43 | |
Call Stack | |
# Time Memory Function Location | |
1 0.0001 228264 {main}( ) ../app_dev.php:0 | |
2 0.0072 1213440 Symfony\Component\HttpKernel\Kernel->handle( ) ../app_dev.php:25 | |
3 0.0187 1698352 Symfony\Bundle\FrameworkBundle\HttpKernel->handle( ) ../bootstrap.php.cache:617 | |
4 0.0187 1700104 Symfony\Component\HttpKernel\HttpKernel->handle( ) ../bootstrap.php.cache:1566 | |
5 0.0187 1700168 Symfony\Component\HttpKernel\HttpKernel->handleRaw( ) ../bootstrap.php.cache:1390 | |
6 0.0187 1701016 Symfony\Component\HttpKernel\Debug\ContainerAwareTraceableEventDispatcher->dispatch( ) ../bootstrap.php.cache:1410 | |
7 0.0189 1713000 Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch( ) ../ContainerAwareTraceableEventDispatcher.php:78 |
This file contains 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
<?php | |
// ... | |
// This works: | |
$select->from($table) | |
->group('id') | |
->limit($limit) | |
->offset($offset); |
This file contains 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
<?php | |
// ... | |
$loggerSettings = array( | |
'path' => APPLICATION_PATH . '/api/logs' | |
); | |
$app = new Slim(array( | |
'mode' => APPLICATION_ENV, | |
'debug' => false, |
This file contains 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
My composer.json: | |
{ | |
"require": { | |
"slim/slim": "dev-master", | |
"slim/extras": "dev-develop", | |
"symfony/class-loader": "2.3.*@dev", | |
"zendframework/zend-db": "2.1.*@dev", | |
"zendframework/zend-form": "2.3.*@dev", | |
"mynetx/codebird-php": "dev-master", |
This file contains 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
<?php | |
$app->get('/collection/:id/', function($id) use ($app) { | |
// This is true: | |
if('Slim\Route' === get_class($id)) { | |
die('Oh no it thinks my route closure is route middleware :('); | |
} | |
This file contains 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
2014-11-14 18:55:22 -0500 | |
make | |
/bin/sh /private/tmp/php54-http-iQkoUm/pecl_http-2.1.2/libtool --mode=compile clang -I. -I/private/tmp/php54-http-iQkoUm/pecl_http-2.1.2 -DPHP_ATOM_INC -I/private/tmp/php54-http-iQkoUm/pecl_http-2.1.2/include -I/private/tmp/php54-http-iQkoUm/pecl_http-2.1.2/main -I/private/tmp/php54-http-iQkoUm/pecl_http-2.1.2 -I/usr/local/Cellar/php54/5.4.33/include/php -I/usr/local/Cellar/php54/5.4.33/include/php/main -I/usr/local/Cellar/php54/5.4.33/include/php/TSRM -I/usr/local/Cellar/php54/5.4.33/include/php/Zend -I/usr/local/Cellar/php54/5.4.33/include/php/ext -I/usr/local/Cellar/php54/5.4.33/include/php/ext/date/lib -I/usr/local/include -I/usr/local/Cellar/php54/5.4.33/include/php/ext/hash -DHAVE_CONFIG_H -g -O2 -c /private/tmp/php54-http-iQkoUm/pecl_http-2.1.2/php_http_buffer.c -o php_http_buffer.lo | |
/bin/sh /private/tmp/php54-http-iQkoUm/pecl_http-2.1.2/libtool --mode=compile clang -I. -I/private/tmp/php54-http-iQkoUm/pecl_http-2.1.2 -DPHP_ATOM_INC -I/private/tmp/php54-http-iQko |
This file contains 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
==> Installing php54-http from homebrew/homebrew-php | |
==> Downloading http://pecl.php.net/get/pecl_http-2.1.2.tgz | |
Already downloaded: /Library/Caches/Homebrew/php54-http-2.1.2.tgz | |
==> Verifying php54-http-2.1.2.tgz checksum | |
tar xf /Library/Caches/Homebrew/php54-http-2.1.2.tgz | |
==> PHP_AUTOCONF="/usr/local/opt/autoconf/bin/autoconf" PHP_AUTOHEADER="/usr/local/opt/autoconf/bin/autoheader" /usr/local/Cellar/php54/5.4.33/bin/phpize | |
Configuring for: | |
PHP Api Version: 20100412 | |
Zend Module Api No: 20100525 | |
Zend Extension Api No: 220100525 |
This file contains 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
vagrant@local:~$ cat /etc/default/useradd | grep SHELL | |
# The SHELL variable specifies the default login shell on your | |
SHELL=/bin/bash | |
vagrant@local:~$ sudo useradd -D | |
GROUP=100 | |
HOME=/home | |
INACTIVE=-1 | |
EXPIRE= | |
SHELL=/bin/bash | |
SKEL=/etc/skel |
This file contains 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
vagrant@local:~$ cat /etc/default/useradd | |
# Default values for useradd(8) | |
# | |
# The SHELL variable specifies the default login shell on your | |
# system. | |
# Similar to DHSELL in adduser. However, we use "sh" here because | |
# useradd is a low level utility and should be as general | |
# as possible | |
SHELL=/bin/bash | |
# |
This file contains 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
! Unable to load application: SyntaxError: /vagrant/app/models/order.rb:22: syntax error, unexpected end-of-input, expecting keyword_end | |
/usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:492:in `load': /vagrant/app/models/order.rb:22: syntax error, unexpected end-of-input, expecting keyword_end (SyntaxError) | |
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:492:in `block in load_file' | |
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:682:in `new_constants_in' | |
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:491:in `load_file' | |
from /usr/local/rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/dependencies.rb:388:in `block in require_or_load' | |
from /usr/local/rbenv/versi |
OlderNewer