Closed jwittorf closed 5 years ago
Hi. Please remove the manual added SQL. We use a hook to add the column. In the current documentation it is also described https://docs.typo3.org/typo3cms/extensions/cs_seo/Developer/ExtendExistingModel/Index.html
Kind regards, Marc
Hi, thanks for your quick response and sorry, I should pay more attention while reading.
I made sure to remove the content from the ext_tables.sql but the upper problem above the line still occurs. Could you please take a look at the Table 't3_demo.pages' doesn't exist
log or could you point me out to something that could cause the problem?
/E: Just to make sure I removed all custom extensions as a test and afterwards everything else, only keeping this in my composer.json, still doesn't work:
...
"require": {
"php": ">=7.2",
"typo3/minimal": "^9.5",
"clickstorm/cs_seo": "^4.0",
"helhum/typo3-console": "^5.6"
},
...
Hi,
I'm using a fresh TYPO3 9.5.4 with cs_seo 4.1.0, composer and typo3console.
After installing all dependencies via composer I'm running
typo3cms install:generatepackagestates
in order to have all extensions installed once finished the TYPO3 Install wizard in the browser.Hower, I can't get passed step 4, creating the admin user and creating the database. I'm getting this in my log:
I can work around the problem by removing cs_seo from
PackageStates.php
before running the Install wizard. If I add the extension afterwards via e.g. Extensionmanager, the extension gets installed.On extending an existing model: Following the documentation, I've added the following code to my extension's
ext_tables.sql
:I removed cs_seo from the
PackageStates.php
as stated above, but still should be able to add something to an existing table.Still, I'm getting this in my log:
I guess I should use a statement to maybe ALTER the table and only add the column, correct? I guess this can be figured out "pretty easily" but I'm unsure about the first, main problem.
_/E: According to the official docs the content of
ext_tables.sql
should be correct with onlyCREATE TABLE
._I'm looking forward hearing from you, thanks for all your work so far and the efforts you are making!