Code Monkey home page Code Monkey logo

Comments (11)

matthiasnitsch avatar matthiasnitsch commented on July 4, 2024

Also happens randomly if I do anything in the page module. (deleting other CE's for example)

from flux.

NamelessCoder avatar NamelessCoder commented on July 4, 2024

Hi Matthias,

I have experienced this one as well on my setup - but not on the 5.0-dev branch. I am close to releasing that anyway, but if you try that branch and it also fails please let me know!

The problem occurs every time the record post processing ConfigurationProvider method is executed so creating records, moving pages, deleting pages etc. would cause the error to happen.

If the error is gone in 5.0-dev please close this issue :)

Cheers,
Claus

from flux.

matthiasnitsch avatar matthiasnitsch commented on July 4, 2024

Hi Claus,

I'm on the 5.0-dev and it is still happening. Only thin I changed is this namespace issue I mentioned before.

Cheers

from flux.

matthiasnitsch avatar matthiasnitsch commented on July 4, 2024

It seems that this issue is maybe related to fed. Everytime I save a CE i get this warning in my logs, even if I save a normal text element.

[Tue Dec 11 15:08:49 2012] [error] [client 172.20.200.3] PHP Warning: Invalid argument supplied for foreach() in /var/www/projekte/xxx/Website/site/typo3_src-6.0.0/typo3/sysext/core/Classes/Utility/RootlineUtility.php on line 238, referer: http://xxx.ubuntu.clickstorm.de/typo3/alt_doc.php?returnUrl=%2Ftypo3%2Fsysext%2Fcms%2Flayout%2Fdb_layout.php%3Fid%3D48%23element-tt_content-26&edit[tt_content][26,]=edit

If I uninstall FED I don't get this error.

Ich checked this behaviour on a 4.7 installation and did not get this warning.

from flux.

matthiasnitsch avatar matthiasnitsch commented on July 4, 2024

OK fresh install with only fed, flux (5.0-dev) and a extension providing some fce's: As soon as I include the TS wich defines where to find the FcE templates I get kicked out of the baclend :(

from flux.

shredding avatar shredding commented on July 4, 2024

I'm having the same issue on 6.0.

from flux.

NamelessCoder avatar NamelessCoder commented on July 4, 2024

Hi everybody,

Thanks for reporting - sorry to hear about the problems you're having.

I have recently investigated this and located three points of failure which were quite un-obvious. The errors would only happen when debug mode was disabled - but then again, a hard exception is just slightly better than a logout. Naturally neither should be happening.

The main culprit was EXT:fluidpages and this commit fixes it: NamelessCoder/fluidpages@58dcdbd

That "bug" would cause errors such as the one @matthiasnitsch mentions (invalid foreach argument - because of an invalid page UID being sent to the pageSelect class). It only involves overridden classes which is why it only affects 6.0 (on the 4.x branches FED and FluidContent don't need overridden classes but unfortunately also are less compatible with TemplaVoila on those branches).

Then, there were two other factors (I won't even call them bugs because their behavior is, shall we say, strange):

https://github.com/NamelessCoder/fed/commit/463ba5c27ba490d53b9c2c28bee0c0eedda231d3

https://github.com/NamelessCoder/fluidcontent/commit/a17a9661855a2677f02b65aa81d68435b57ed8bb

I can't be sure about the specific cause but it appears TYPO3 internally uses EXEC_TIME at some point in the code execution which lies between loading the ext_* files and (re-)constructing the $GLOBALS['TYPO3_DB'] among other global instances. I write (re-)constructing because these classes are temporarily loaded in the _Core classes of FED and FluidContent but then destroyed. Anyway - the two above fixes (and the topmost one if you use EXT:fluidpages) should solve this completely.

Beware though: NamelessCoder/fluidpages@c56a88e has introduced an unforeseen circumstance where page template selection which generate errors in the page module would cause endless redirection. I will be working on fixing that one tonight so you can expect to be able to use the git master versions without these problems - later tonight.

Cheers,
Claus

from flux.

NamelessCoder avatar NamelessCoder commented on July 4, 2024

Hi everybody,

Can you confirm if this issue is fixed on all your TYPO3 installations?

Cheers,
Claus

from flux.

shredding avatar shredding commented on July 4, 2024

Fixed it for me. Thx.

from flux.

matthiasnitsch avatar matthiasnitsch commented on July 4, 2024

Not in Germany right now. I'll Test it in one week

Von meinem iPhone gesendet

Am 12.01.2013 um 20:21 schrieb Claus Due [email protected]:

Hi everybody,

Can you confirm if this issue is fixed on all your TYPO3 installations?

Cheers,
Claus


Reply to this email directly or view it on GitHub.

from flux.

matthiasnitsch avatar matthiasnitsch commented on July 4, 2024

Awesome! Looks good for my installation.

THX Claus

from flux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.