[ocP 8.1] users profile: error message and allowed memory size of 67108864 bytes exhausted when
|
Posted
#87027
(In Topic #17758)
|
|
|---|---|
|
Fan in action |
I am using a very slightly modified default theme (only some css styles) and german language. When visiting any users profile: Javascript error: e is undefined Source file: http://xxx/themes/my_theme/templates_cached/DE/javascript_ajax_people_lists.js Line: 17 When visiting my own admin profile: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 491520 bytes) in /var/www/xxx/sources/tempcode.php(1651) : eval()'d code on line 48 I have already tried to expand the memory according the FAQ but without result. Thanks for any support. |
|
Posted
|
|
|
Fan in action |
it is filed on the tracker as issue #596 |
| Important! |
Posted
|
|
ocStaff (admin) |
Automated fix messageThis issue has been filed on the tracker as issue #597, with a fix. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
| Important! | |
|
Posted
|
|
|
Fan in action |
I get exactly the same error message after applying the fix: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 491520 bytes) in /var/www/windstar-club.de/sources/tempcode.php(1651) : eval()'d code on line 48 |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Fan in action |
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 417991 bytes) in /var/www/windstar-club.de/sources/tempcode.php on line 304 or Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 292089 bytes) in /var/www/windstar-club.de/sources/tempcode.php(1665) : eval()'d code(11) : runtime-created function on line 1 |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Fan in action |
phpinfo() says Local Value: 128M and Master Value: 1024M In the .htaccess php_value memory_limit is set to "128M" |
|
Posted
|
|
|
Fan in action |
I am using php5 with suhosin, but i have never cared for it… It disallows setting the memory_limit to a value greater than the one the script started with by default. Setting of suhosin.memory_limit = 128M fixes my problem. Thanks for your quick response and help that points me finaly in the right direction. |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
ocStaff (admin) |
Code
Baseline: 9.19MB
(That's not very scientific - e.g. avatar won't use so much, but it is the first edit tab so is the one that first loads the forms API) Clearly notifications is a problem. It definitely slows down load, as well as uses 1/2 of the memory all the tabs use combined. I will see if that can be optimised. In total we're still under 32MB. So it's still nowhere near the 64MB beater being seen in this topic. Do you have any large sets of default avatars to pick from, or particularly complex panels, or large amounts of profile field data? (for example) If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
| Important! |
Posted
|
|
ocStaff (admin) |
Automated fix messageThis issue has been filed on the tracker as issue #616, with a fix. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
| Important! | |
|
Posted
|
|
|
ocStaff (admin) |
I would appreciate it if people report if they find any problems after installing this fix, as I am reluctant to release it in a patch release until then. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
I've tried to replicate the issue (as reported by Johor) by 'beasting-up' my profile on my live 8.1.1 site, but I cannot get it to misbehave. That being the case, I've avoided the fix. Sorry!
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Fan in action |
I don't have other sets than the default avatars bundled with ocPortal. I use some standard panels such as side_shoutbox and main_forum_topics and 2 different own panels. One is to show the banner of a sponsor (4 times) and one is to show Google AdSense. The profile field data is nearly empty. Right now i suspect the Google AdSense panel, since it does not show on my admin profile, but on all others. I will remove it temporarily together with the suhosin.memory_limit to see the effect. I will also check your fix #616. |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Fan in action |
I applied the fix and my profil tab is loaded. The tab posts shows the loading animation but did not finish at all. When selecting edit tab the first time following error apears: Code
preinitFileInput is not defined
The content of the edit screen is ok. This happens only once. No error is shown after changing to another tab and back to edit. All other tabs are ok. |
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Fan in action |
Code
standardAlternateFields is not defined
it is the first one and then 3 times the "preinitFileInput is not defined" |
|
Posted
|
|
|
Fan in action |
|
1 guests and 0 members have just viewed this: None
Control functions:







