Skip to content

Instantly share code, notes, and snippets.

View koernchen02's full-sized avatar

Christian koernchen02

View GitHub Profile
Uncaught Exception in Flow
#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.
TYPO3\Fluid\Core\ViewHelper\Exception thrown in file
/var/www/mosa-african-tours.de/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Fluid_ViewHelpers_FormViewHelper.php in line 225.
Reference code: 2016012609495526856a
Nested Exception
@koernchen02
koernchen02 / Model.php
Created January 12, 2016 12:15
ObjectStorage annotation for Exception/CMS/1234386924 Cannot create empty instance of the class "TYPO3\CMS\Extbase\Persistence\ObjectStorage" because it does not implement the TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface.
...
/**
* fellows
*
* @var \TYPO3\CMS\Extbase\Persistence\ObjectStorage
* @lazy
*/
protected $fellows;
...
/**
@koernchen02
koernchen02 / DeleteCommandController.php
Last active August 26, 2015 11:47
Creating a CommandController to be used with TYPO3 Scheduler Extension, based on https://wiki.typo3.org/CommandController_In_Scheduler_Task
/** located in ...ext/flappl/Classes/Command
<?php
namespace Portachtzig\Flappl\Command;
class DeleteCommandController extends \TYPO3\CMS\Extbase\Mvc\Controller\CommandController {
/**
* @var \TYPO3\CMS\Extbase\Domain\Repository\FrontendUserRepository
@koernchen02
koernchen02 / FormFields.html
Last active August 29, 2015 14:22
Multi File Upload in Flow
{namespace vp=Vendor\Package\ViewHelpers}
<div class="row">
<div class="col-sm-12">
<div class="input-group">
<span class="input-group-addon">name</span>
<f:form.textfield property="name" id="name" class="form-control " placeholder="give it a name ..."/>
</div>
<br/>
<div class="input-group">
@koernchen02
koernchen02 / DateForm.html
Last active July 11, 2016 21:45
Problems with DateTime Timezones in Extbase and Fluid
{namespace as=Portachtzig\Asapp\ViewHelpers}
<div class="form-wrap white black-text">
<div class="row" xmlns:f="http://www.w3.org/1999/XSL/Transform">
<div class="col-sm-12">
<label for="draft">
<f:translate key="tx_asapp_domain_model_project.draft" />
</label><br />
<f:form.checkbox property="draft" value="1" /><br />
</div>
</div>