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

Endless loop in personal page #4948

Closed
LukasReschke opened this issue May 18, 2017 · 4 comments
Closed

Endless loop in personal page #4948

LukasReschke opened this issue May 18, 2017 · 4 comments

Comments

@LukasReschke
Copy link
Member

Can't open the personal page as there seems to be an endless loop, I decreased the timeout to 30 seconds to get at least an error log entry:

[Thu May 18 23:44:42.928818 2017] [:error] [pid 29639] [client XXXX:49646] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/lib/private/Template/ResourceLocator.php on line 149

@LukasReschke
Copy link
Member Author

@LukasReschke
Copy link
Member Author

LukasReschke commented May 18, 2017

$tmpRoot is an empty string on the system.

@LukasReschke
Copy link
Member Author

This is caused by @schiessle's auto-replace of the string "authtoken" with "AuthToken", if I change

OC_Util::addScript('settings', 'AuthToken');
back then it works. Anyhow, we should in no case run in an endless loop just because a file is otherwise cased on the system…

LukasReschke added a commit that referenced this issue May 18, 2017
Ref #4948

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
LukasReschke added a commit that referenced this issue May 18, 2017
Ref #4948

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
@LukasReschke
Copy link
Member Author

I have "patches" at #4949 and #4950. But I'd appreciate if somebody could also look into the issue why we end up in an endless loop if a resource cannot be found. This endless loop consumed a whole CPU alone…

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

1 participant