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

Issues with preview on: Dev environment "Missing form token from Request" and timeout on prod on first load #10

Closed
damaya opened this issue Jan 10, 2018 · 9 comments

Comments

@damaya
Copy link

damaya commented Jan 10, 2018

  • eZ Version: 5.4.11
    Description: When click on preview button, on Development environment, i get error "Missing form token from Request..."

captura de pantalla 2018-01-09 a la s 8 27 10 p m

On production site, instead, i get a timeout error at first time, but then the preview loads correctly, but in the logs i get:

PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32 bytes) in /home/ubuntu/mysite/adminui/vendor/tedivm/stash/src/Stash/Pool.php on line 133, referer: https://adminui.mysite/ngadminui/Created-Folder-test [Tue Jan 09 19:43:12.410049 2018] [:error] [pid 2071] [client 127.0.0.1:40643] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 64 bytes) in /home/ubuntu/mysite/adminui/vendor/symfony/symfony/src/Symfony/Component/Debug/Exception/FlattenException.php on line 270

In another case , i installed the adminui in a clean ez 5.4.10 site, but could not replicate the same issue, i'll keep searching if there is any configuration error from my side, but any help would be appreciated.

Thanks in advance.

@emodric
Copy link
Member

emodric commented Jan 10, 2018

Hi @damaya,

We will try to upgrade one of our sites to 5.4.11 from 5.4.10 in coming days and see if we can reproduce the issue. Until then, there's not much I can help with, since this is the first time I'm seeing this.

Thanks for reporting it and let me know if you find out anything :)

@damaya
Copy link
Author

damaya commented Jan 10, 2018

Hi @emodric thanks for your answer, sure, in any case i'll give you my feedback about this.

Kind regards.

@damaya
Copy link
Author

damaya commented Jan 11, 2018

Hi @emodric additional, i forgot to comment that we are using symfony 2.8 with ez 5.4.11

@damaya
Copy link
Author

damaya commented Jan 12, 2018

Hi @emodric i see this works fine with 5.4.10 and 5.4.11 but when the ezformtoken is disabled, when enabled, i get the token error.

@emodric
Copy link
Member

emodric commented Jan 12, 2018

@damaya Okay! We'll look into it, thanks!

@emodric
Copy link
Member

emodric commented Jan 15, 2018

@damaya I've managed to reproduce the issue and fixed it in 691f58c

Can you test the 2.1-release branch to verify the fix and I will tag the 2.1.4 version then?

Thanks!

@damaya
Copy link
Author

damaya commented Jan 15, 2018

Hi there @emodric thanks a lot for your update, sure i'll test this today 👍 :)

@damaya
Copy link
Author

damaya commented Jan 15, 2018

Hi @emodric i tested and it works like a charm! 👍 thank you very much, you rules!

@emodric
Copy link
Member

emodric commented Jan 15, 2018

@damaya Thank you for testing :)

I've released version 2.1.4 with the fix: https://github.com/netgen/NetgenAdminUIBundle/releases/tag/2.1.4

@emodric emodric closed this as completed Jan 15, 2018
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

2 participants