Loading...
 
Skip to main content

Memory exhausted when saving user preferences

Status
Closed
Subject
Memory exhausted when saving user preferences
Version
5.x
Category
  • Error
  • Regression
Feature
All / Undefined
MyTiki
Resolution status
Invalid
Submitted by
Nelson Ko
Lastmod by
Ushindi Gedeon
Rating
(0)
Description

When I try and save user preferences (viewing is OK), I get the first part of the user preferences screen back, and then it stops at the "User login:" display with:

Preferences
Last login:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 6291456 bytes) in /.../lib/tikidate-php5.php on line 182


Solution

If I comment out this line 117 in tiki-user_preferences.php:

//$tikilib->set_user_preference($userwatch, 'display_timezone', $_REQUEST'display_timezone');

the problem dissappears. Weird. I have PHP 5.2.10 on Ubuntu on this machine. On my Mac with PHP 5.3.1 I haven't been able to reproduce...

Can anyone reproduce? Or people working on timezone lately have any ideas?

Workaround
Importance
8
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
3216
Created
Friday 11 June, 2010 15:27:46 UTC
by Nelson Ko
LastModif
Tuesday 02 June, 2026 09:10:26 UTC


Show PHP error messages