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

Backend Modul is not working under TYPO3 8.7.0 #42

Open
mediaessenz opened this issue Apr 7, 2017 · 16 comments
Open

Backend Modul is not working under TYPO3 8.7.0 #42

mediaessenz opened this issue Apr 7, 2017 · 16 comments

Comments

@mediaessenz
Copy link

mediaessenz commented Apr 7, 2017

Only a select box appears, but no button to start the selected action.

Migration over CLI works for 30 records and throws this message at the end:

b8596cd39d10:/app/web/ - core: File "EXT:form/Configuration/TypoScript/constants.txt" was not found.
b8596cd39d10:/app/web/ - core: File "EXT:form/Configuration/TypoScript/setup.txt" was not found.
@blueamerican
Copy link
Contributor

I have the same behaviour in
TYPO3 8.7.1
news 6.0.0
news_ttnewsimport 2.0.0

import categories works.
Import news only works with 30 records.

@frans-beech-it
Copy link
Contributor

30 seconds sounds like a PHP timeout. Did you check you error logs?

@mediaessenz
Copy link
Author

Where do you read 30 seconds?

@frans-beech-it
Copy link
Contributor

oeps, its records instead of seconds :)

30 is the default batch size it processed at once if I'm not mistaken. So the 2th run doesn't start.

Is there any error in the browser console when you run it in the backend? and/or in the php error logs?

The missing ext:form includes is not related to this extension but probably some wrong include in your typoscript. For TYPO3 8 the typoscript include paths of ext:form have changed.

@mediaessenz
Copy link
Author

mediaessenz commented Aug 28, 2017

Also my fault, I really wrote something about 30 sec if starting the command over the cli.

@blueamerican As a quick and dirty solution, you can increase the number of records per loop in this line: https://github.com/fsaris/news_ttnewsimport/blob/master/Classes/Jobs/TTNewsNewsImportJob.php#L39

As long as you don't have thousands of records, this should be no problem.

@blueamerican
Copy link
Contributor

The reason why the import stopped after 30 records must have been the missing images in the uploads folder.
After adding the images, the import worked fine, and also the "START" button was then visible in the backend.

@frans-beech-it
Copy link
Contributor

Maybe you could create a PR to add this to the FAQ part of the documentation (and add a link from the README to the FAQ)

@blueamerican
Copy link
Contributor

done

@frans-beech-it
Copy link
Contributor

tnx, could you maybe create a PR for this repo so we can merge it?

@blueamerican
Copy link
Contributor

i don't know exactly what you mean with PR.
I checked out the repo locally and committed my changes, But i cannot push the changes.

@frans-beech-it
Copy link
Contributor

@maslme
Copy link

maslme commented Apr 23, 2018

I have the same problem under TYPO3 8.7.13 with the latest master of news and tt_news importer. Only the selectbox is shown, no submit button.
I get no error message - either in TYPO3 nor in the php error.logs.

But the javascript console log's an error when I select an item: "SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data" Import.js:30:29

Can somebody help?

@cboltz
Copy link

cboltz commented Oct 20, 2019

I know I'm late, but maybe my comment is still helpful for someone ;-)

I had a similar problem, and it turned out that one of my Redirect rules triggered a redirect to a HTML page when Import.js was requested. Debugging this was funny[tm], but the fix was obvious and easy - temporarily disable the offending Redirect rule ;-)

@dietantejensen
Copy link

dietantejensen commented Nov 4, 2020

Ok, so this puzzles me. I could not even install it on TYPO3 8.7 given that the extension is only marked compatible with PHP 5.3.
But I would gladly do so. Otherwise I don't know how to bring the project to T3 10.
It's not in TER and uploading manually just brings up "Extension news_ttnewsimport is not available" (even with manually changed compatibility in ext_emconf.php.

@maslme
Copy link

maslme commented Nov 4, 2020

I did the conversion for tt_news to tx_news in an older version 7.6 or so - and than do the upgrade things. Or ported the database tables to the newer version.

@dietantejensen
Copy link

Thanks for answering. Well, yes, I suppose setting up a 7.6 just to convert the tables might even be the easiest way. I didn't think of that before. Unfortunately, I took over the project on 8.7 (has a tt_news fork).
I'm going to make a new issue out of this, since the extension is marked compatible with T3 8.

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

6 participants