Skip to content

Instantly share code, notes, and snippets.

View svparijs's full-sized avatar

Sebastiaan van Parijs svparijs

View GitHub Profile
Uncaught exception #1301610453: Could not resolve a route and its corresponding URI for the given parameters. This may be due to referring to a not existing package / controller / action while building a link or URI. Refer to log and check the backtrace for more details.
71 TYPO3\Fluid\ViewHelpers\Link\ActionViewHelper_Original::render((show)show, array, (Solution)Solution, (Company.Solutions)Company.Solutions, NULL, (), (), array, boolean, array)
70 call_user_func_array(array, array)
69 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()
68 TYPO3\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()
@svparijs
svparijs / gist:3814152
Created October 1, 2012 20:16
Error while loading custom site
Uncaught exception #1301610453 in line 182 of /var/www/Tryweb.base/Data/Temporary/Development/Cache/Code/FLOW3_Object_Classes/TYPO3_FLOW3_Mvc_Routing_Router.php: Could not resolve a route and its corresponding URI for the given parameters. This may be due to referring to a not existing package / controller / action while building a link or URI. Refer to log and check the backtrace for more details.
64 TYPO3\FLOW3\Mvc\Routing\Router_Original::resolve(array|5|)
63 TYPO3\FLOW3\Mvc\Routing\Router::resolve(array|5|)
62 call_user_func_array(array|2|, array|1|)
61 TYPO3\FLOW3\Mvc\Routing\Router::FLOW3_Aop_Proxy_invokeJoinPoint(TYPO3\FLOW3\Aop\JoinPoint)
60 TYPO3\FLOW3\Aop\Advice\AdviceChain::proceed(TYPO3\FLOW3\Aop\JoinPoint)
59 TYPO3\FLOW3\Mvc\Routing\Aspect\RouterCachingAspect_Original::cacheResolveCall(TYPO3\FLOW3\Aop\JoinPoint)
58 TYPO3\FLOW3\Aop\Advice\AroundAdvice::invoke(TYPO3\FLOW3\Aop\JoinPoint)
57 TYPO3\FLOW3\Aop\Advice\AdviceChain::proceed(TYPO3\FLOW3\Aop\JoinPoint)
@svparijs
svparijs / katzenet-production.php
Created October 16, 2012 12:51 — forked from brgmn/katzenet-production.php
TYPO3 Surf sample configuration (github, TYPO3 Flow, ubuntu server) -> place this at /Build/Surf/ and deploy with ./flow surf:deploy katzenet-production
<?php
use \TYPO3\Surf\Domain\Model\Workflow;
use \TYPO3\Surf\Domain\Model\Node;
use \TYPO3\Surf\Domain\Model\SimpleWorkflow;
$application = new \TYPO3\Surf\Application\FLOW3();
$application->setOption('repositoryUrl', '[email protected]:katzeag/Katzenet.git');
$application->setDeploymentPath('/var/www/katzenet-app');
$application->setOption('keepReleases', 20);
$application->setOption('composerCommandPath', '/usr/bin/composer');
<f:layout name="Default" />
<f:section name="Title">Account - Login</f:section>
<f:section name="Content">
<div class="row form-alignment">
<div class="offset3 span6 loginbox">
<f:form name="login" class="form-horizontal well" action="authenticate">
<fieldset>
<div id="legend">
@svparijs
svparijs / Alias.php
Created November 21, 2012 14:32
Inline Objects added
<?php
namespace BKWI\Kernkaart\Domain\Model;
/**
* This script belongs to the TYPO3 Flow package "BKWI.Kernkaart". *
* *
* */
use TYPO3\Flow\Annotations as Flow;
use Doctrine\ORM\Mapping as ORM;
@svparijs
svparijs / RegisterAspect.php
Created November 21, 2012 19:40
RegisterAspect Issue
<?php
namespace Security\Manager\Aspect;
/* *
* This script belongs to the TYPO3 Flow package "Security.Manager". *
* *
* */
use TYPO3\Flow\Annotations as Flow;
@svparijs
svparijs / gist:4130571
Created November 22, 2012 11:01
Relation set between Organisation and Alias in OneToMany
if ($this->arguments->hasArgument('organisation')) {
$propertyMappingConfigurationForOrganisation = $this->arguments->getArgument('organisation')->getPropertyMappingConfiguration();
$propertyMappingConfigurationForOrganisation
->forProperty('aliases.*')
->setTypeConverterOption(
'TYPO3\Flow\Property\TypeConverter\PersistentObjectConverter',
\TYPO3\Flow\Property\TypeConverter\PersistentObjectConverter::CONFIGURATION_CREATION_ALLOWED,
TRUE
);
<VirtualHost *:80>
DocumentRoot /var/www/kernkaart.nl/releases/current/Web
ServerName [Same a it already is]
SetEnv FLOW_CONTEXT Production
<Directory "/var/www/kernkaart.nl/releases/current/Web">
allow from all
Options -Indexes
</Directory>
</VirtualHost>
App.ApplicationController = Ember.Controller.extend();
App.ApplicationView = Ember.View.extend({
templateName: "application"
});
App.DashboardController = Ember.Controller.extend();
App.DashboardView = Ember.View.extend({
templateName: "dashboard"
});
App.AdministrationController = Ember.Controller.extend();
App.AdministrationView = Ember.View.extend({
# Guide based on http://wiki.apache.org/couchdb/Installing_on_Debian
# Install dependencies
aptitude install -y build-essential libtool autoconf automake autoconf-archive pkg-config libssl0.9.8 libssl-dev zlib1g zlib1g-dev libcurl4-openssl-dev lsb-base ncurses-dev libncurses-dev libmozjs-dev libmozjs2d libicu-dev xsltproc
# Installing Erlang/OTP
cd /tmp/
wget http://www.erlang.org/download/otp_src_R15B01.tar.gz
tar xzf otp_src_R15B01.tar.gz
cd otp_src_R15B01
echo "skipping gs" > lib/gs/SKIP