Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ext_emconf.php 2.6.1 is not written well!! #681

Closed
t3webman opened this issue Apr 29, 2020 · 7 comments
Closed

ext_emconf.php 2.6.1 is not written well!! #681

t3webman opened this issue Apr 29, 2020 · 7 comments

Comments

@t3webman
Copy link

quite a few quotation marks are missing ...

@mbrodala
Copy link
Contributor

What exactly do you mean? This file is fully valid:

https://github.com/dmitryd/typo3-realurl/blob/2.6.1/ext_emconf.php

@t3webman
Copy link
Author

the file I pulled from the repository had all the trailing quotation marks missing ...
I install manually ... no idea where that happened. only that when I tried to handle the extension in the BE I got errors ...

@linawolf
Copy link

I can confirm. The Version of the file as pulled from TER has quotation marks missing and crashes an installation. For example the quotation mark at the end of description is missing.

@mbrodala
Copy link
Contributor

Indeed, that version is broken:

<?php

/**
 * Extension Manager/Repository config file for ext "realurl".
 *
 * Auto generated 27-04-2020 11:18
 *
 * Manual updates:
 * Only the data in the array - everything else is removed by next
 * writing. "version" and "dependencies" must not be touched!
 */

$EM_CONF[$_EXTKEY] = array(
	'title' => 'Speaking URLs for TYPO3,
	'description' => 'Makes TYPO3 URLs search engine friendly. Donations are welcome to dmitry.dulepov@gmail.com. They help to support the extension!,
	'category' => 'services,
	'shy' => 1,
	'version' => '2.6.1,
	'priority' => ',
	'loadOrder' => ',
	'module' => ',
	'state' => 'stable,
	'uploadfolder' => 1,
	'createDirs' => ',
	'modify_tables' => 'pages,pages_language_overlay,
	'clearcacheonload' => 1,
	'lockType' => ',
	'author' => 'Dmitry Dulepov,
	'author_email' => 'dmitry.dulepov@gmail.com,
	'author_company' => ',
	'CGLcompliance' => ',
	'CGLcompliance_note' => ',
	'constraints' => array(
		'depends' => array(
			'typo3' => '6.2.0-8.9.999,
			'php' => '5.4.0-7.3.999,
			'scheduler' => '6.2.0-8.9.999,
		),
		'conflicts' => array(
			'cooluri' => ',
			'simulatestatic' => ',
		),
	),
);

@mbrodala
Copy link
Contributor

@dmitryd Is there anything you can do here or does this need a fix in TER?

@dmitryd
Copy link
Owner

dmitryd commented May 22, 2020

@mbrodala

Is there anything you can do here or does this need a fix in TER?

As you can see in the tagged version, the file is correct.

If I remember correctly, ext_emconf.php does not exist in TER at all. It is generated by TER when the user downloads the extension. So I cannot do anything regarding TER. You can also indirectly see a confirmation of it because comment at the top of TER file is different from the comment in git. Also information array is different (no comment or user field in TER version). So it is definitely not my file.

I would recommend to use composer and "dmitryd/typo3-realurl" package, not TER.

@rl-saen
Copy link

rl-saen commented Jun 18, 2020

I am running into the same problem at the moment when downloading dmitryd/typo3-realurl from packagist.

Found a TER dependency deep down. Setting it to packagist fixed the problem.

@dmitryd dmitryd closed this as completed Nov 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants