[Flow] Get an 404 error after switching to "production"-context
Christian Loock
brainshack at gmail.com
Fri Mar 6 14:33:04 CET 2015
Maybe for a quick hacky check. Add something like
<?php
if (class_exists("ClassName")) return;
to the top of the autoloader, so that the class wont be declared twice.
Maybe PHPExcel just doesnt run well with composer at all?
2015-03-06 14:23 GMT+01:00 Mira Frei <mira at modifiziert.com>:
> A result of a grep:
>
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Settings.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Shared/JAMA/Matrix.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Autoloader.php:
> require($pClassFilePath);
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2003XML.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Reader/DefaultReadFilter.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Reader/HTML.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Reader/Gnumeric.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Reader/CSV.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Reader/OOCalc.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Reader/SYLK.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Cell/AdvancedValueBinder.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Cell/DefaultValueBinder.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/IOFactory.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/TextData.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Statistical.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Functions.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/LookupRef.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Financial.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Logical.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/DateTime.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/MathTrig.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Database.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel/Calculation/Engineering.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
> Packages/Libraries/phpoffice/phpexcel/Classes/PHPExcel.php:
> require(PHPEXCEL_ROOT . 'PHPExcel/Autoloader.php');
>
> Can it be that phpexcel is including itself? Because there is an require
> instead of require_once.
>
> Can anybody please install phpexcel per composer and try it with his own
> flow installation? only for testing..?
>
> "phpoffice/phpexcel": "dev-master"
>
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
More information about the Flow
mailing list