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

[bug] error messages in Template module that setup.typoscript and constants.typoscript are missing #15

Closed
medarob opened this issue Jun 3, 2020 · 4 comments

Comments

@medarob
Copy link

medarob commented Jun 3, 2020

If I go to the Template module there is the following error for setup and constants:

Setup:

grafik

Constants:

grafik

I use the automatic typoscript integration in the extension settings because otherwise I still get an error that Typoscript would be missing:

grafik

The slider in general works but I don't know if these error messages are correct and if it's related to the other issue here: #1

@Teisi
Copy link
Member

Teisi commented Oct 5, 2020

Which TYPO3 version do you use? Which hh_slider version?

@medarob
Copy link
Author

medarob commented Oct 5, 2020

I use TYPO3 9.5.21.

I have another idea that I have to check out. I recently learned that the load order of the extensions in the packagestate.php is also important. So I have to check the dependencies if they are correct. Maybe that will solve the issue but this is just a guess.

@medarob
Copy link
Author

medarob commented Oct 7, 2020

I think the problem is in the ext_tables.php file

        // Add Constants
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptConstants(
            '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:'.$extensionKey.'/Configuration/Typoscript/constants.typoscript">'
        );

        // Add Setup
        \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScriptSetup(
            '<INCLUDE_TYPOSCRIPT: source="FILE:EXT:'.$extensionKey.'/Configuration/Typoscript/setup.typoscript">'
        );

Both path names are incorrect. "Typoscript" should be "TypoScript" with a captial letter S:

=> /Configuration/TypoScript/constants.typoscript
=> /Configuration/TypoScript/setup.typoscript

I changed it temporarily and the error was gone.

@Teisi Teisi closed this as completed in 947a742 Nov 30, 2020
@Teisi
Copy link
Member

Teisi commented Nov 30, 2020

@medarob aahhhh thank you ...
this is the disadvantage of working on windows such errors are rather hard to find - at least for me... :)
I hope this will be solved after I have migrated the whole environment to the WSL... thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants