[TYPO3-calendar] controller/class.tx_cal_functions.php - error call to a non-object / controller/class.tx_cal_controller.php..../notFound page answer on confirm create or delete event
Mario Matzulla
mario at matzullas.de
Tue Jan 6 22:12:29 CET 2015
Hi Pierre,
the first one is a known issue: https://forge.typo3.org/issues/62849
... will be released with 1.7.1
Regards,
Mario
Am 06.01.15 um 21:39 schrieb Pierre Lamoureux:
> Hi,
>
> I am upgrading a site to typo3 6.2 LTS. In my test with ext Cal 1.7.0
> i have encounter two problems.
>
> 1. controller/class.tx_cal_functions.php - error call to a non-object
> at 616
>
> public static function fixURI($html) {
> require_once (t3lib_extMgm::extPath ('cal') .
> 'controller/class.tx_cal_uriHandler.php');
> 616-> $uriHandler= tx_cal_uriHandler();
> $uriHandler->setHTML ($html);
> $uriHandler->setPATH ('http://' .
> t3lib_div::getHostname (1) . '/');
>
> add "new"token: $uriHandler= new tx_cal_uriHandler(); at line 616
>
> 2. controller/class.tx_cal_controller.php -
>
> 68-> function main($content, $conf) {
> $this->conf = &$conf;
>
> $this->conf ['useInternalCaching'] = 1;
> $this->conf ['cachingEngine'] = 'cachingFramework';
> $this->conf ['writeCachingInfoToDevlog'] = 0;
>
> // switch for more intelligent caching
> 76-> if ($this->conf ['isUserInt']) {
> // this->pi_USER_INT_obj=1;
> } else {
> $this->pi_checkCHash = TRUE;
> if (count ($this->piVars)) {
> $GLOBALS ['TSFE']->reqCHash ();
> }
> $this->pi_USER_INT_obj = 0;
> }
>
> conf index 'isUserInt' is not set on confirm operation (confirm create
> event, confirm delete event). This result in a
> /notFound page answer. I dont understand well the process involve. As
> dirty fix, i force set it to 1 with
>
> $this->conf ['isUserInt'] = 1;
>
> before the test at line 76. I am up an running, but i think it must be
> more to it. You might want to look into it.
>
> Good day,
> Pierre Lamoureux
>
> Cal 1.7.0
> typo3 6.2.9 LTS
> PHP 5.5.13
> Mysql 5.6
>
> ---
> L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
> http://www.avast.com
>
More information about the TYPO3-project-calendar
mailing list