In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
884 [In-Portal CMS] Caching System bug report always 2010-10-10 07:28 2010-11-30 12:48
alex  
alex  
normal  
closed 5.1.1-B1  
fixed  
 
none 5.1.1-B2  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/906bee2200491141
0
0000884: Fatal error "Method name must be a string" on home page after Memcached server restart
I've got fatal error "Method name must be a string" on home page after Memcached server restart.

Error was in kApplication::BuildModuleEnv_NEW method, when attempt was made to get rewrite listener object, but he wasn't there.

I also have site domains enabled, so In-Portal tried to query all possible countries from current language (for site domain object), but actual language wasn't yet detected and such attempt resulted in "SELECT .... l_Name ...." sql without proper language id in it.


Both problems were happening by visiting home page just after caching server was restarted, so I grouped them into one task.
related to 0000472closed  (5.1.0)alex Domain-based site auto-configuration 
child of 0000107closed  (5.1.0)alex Implement "MemCached" functionality 
child of 0000313closed  (5.0.1)alex Mod-rewrite listeners defined via OnAfterConfigRead event don't work 
patch method_name_not_string_error.patch (1,524) 2010-10-10 07:28
http://tracker.in-portal.org/file_download.php?file_id=803&type=bug
patch method_name_not_string_error_v2.patch (2,506) 2010-10-10 23:58
http://tracker.in-portal.org/file_download.php?file_id=804&type=bug
Issue History
2010-11-30 12:48 Dmitry Note Added: 0003020
2010-11-30 12:48 Dmitry Status resolved => closed
2010-10-19 04:01 alex Note Added: 0002894
2010-10-19 04:01 alex Status reviewed and tested => resolved
2010-10-19 04:01 alex Fixed in Version => 5.1.1-B2
2010-10-19 04:01 alex Resolution open => fixed
2010-10-19 04:01 alex Assigned To !COMMUNITY => alex
2010-10-19 04:01 alex Changeset attached 5.1.x r13989
2010-10-13 23:16 Dmitry Note Added: 0002882
2010-10-13 23:16 Dmitry Status needs testing => reviewed and tested
2010-10-10 23:58 alex File Added: method_name_not_string_error_v2.patch
2010-10-10 10:58 alex Relationship added child of 0000313
2010-10-10 10:20 alex Relationship added related to 0000472
2010-10-10 10:19 alex Relationship added child of 0000107
2010-10-10 07:30 alex Assigned To => !COMMUNITY
2010-10-10 07:30 alex Developer => alex
2010-10-10 07:30 alex Status active => needs testing
2010-10-10 07:30 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/906bee2200491141
2010-10-10 07:28 alex New Issue
2010-10-10 07:28 alex File Added: method_name_not_string_error.patch

Notes
(0002882)
Dmitry   
2010-10-13 23:16   
Tested good, please commit.

Good, catch and fix - thanks!
(0002894)
alex   
2010-10-19 04:01   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000884: Fatal error "Method name must be a string" on home page after Memcached server restart
(0003020)
Dmitry   
2010-11-30 12:48   
Closing released 5.1.1 task.