akeneo-labs / ExcelConnectorBundle

Akeneo Excel Connector (deprecated)
Other
16 stars 11 forks source link

Error while creating import profile for both given options #51

Closed wakqasahmed closed 7 years ago

wakqasahmed commented 8 years ago

Akeneo Version: 1.5.7 Excel Connector Bundle Version: v1.6.*

The connector was installed successfully and options are appearing in 'Create import profile' option. However, soon after submitting there is an internal server error.

Here are snapshots in sequence:

1) http://www.screencast.com/t/PkUvaPsyB6jW 2) http://www.screencast.com/t/DhnjggxNoZ 3) http://www.screencast.com/t/Y6svaaM0GTxo

Kindly help.

fitn commented 7 years ago

Hi @wakqasahmed

Could you check the app/logs/prod.log please? It should give more details about the issue.

regards,

wakqasahmed commented 7 years ago

Here is the log:

[2016-07-22 19:32:37] request.INFO: Matched route "pim_importexport_import_profile_create". {"route_parameters":{"_controller":"pim_import_export.controller.import_profile:createAction","_route":"pim_importexport_import_profile_create"},"request_uri":"http://localhost/pim-ce/web/collect/import/create"} [] [2016-07-22 19:32:38] php.CRITICAL: Fatal Compile Error: Cannot use 'True' as class name as it is reserved {"type":64,"file":"/Applications/MAMP/htdocs/pim-ce/vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/True.php","line":24,"level":16383,"stack":[]} [] [2016-07-22 19:32:38] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalErrorException: "Compile Error: Cannot use 'True' as class name as it is reserved" at /Applications/MAMP/htdocs/pim-ce/vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/True.php line 24 {"exception":"[object](Symfony\Component\Debug\Exception\FatalErrorException: Compile Error: Cannot use 'True' as class name as it is reserved at /Applications/MAMP/htdocs/pim-ce/vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/True.php:24)"} []

fitn commented 7 years ago

I think you are using PHP7 and we are not compatible with. Last Akeneo PIM stable version is compatible with PHP 5.4 to 5.6 but not with 7.*

wakqasahmed commented 7 years ago

Ah! indeed. Thanks for pointing.