Fatal error "Method name must be a string" on home page after Memcached server restart (In-Portal 5.1.0)

1 view
Skip to first unread message

Alexander Obuhovich

unread,
Oct 10, 2010, 8:29:49 AM10/10/10
to In-Portal Bugs
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.

Task: http://tracker.in-portal.org/view.php?id=884

Ready for testing.

--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
method_name_not_string_error.patch

Alexander Obuhovich

unread,
Oct 11, 2010, 12:59:49 AM10/11/10
to In-Portal Bugs
Ups, forgot to add "debugger.php" to a previous patch, since it was also changed to solve that issue.
method_name_not_string_error_v2.patch

Dmitry A.

unread,
Oct 14, 2010, 1:06:33 PM10/14/10
to In-Portal Bugs Team
Tested good!

Thanks for the patch.

DA.

On Oct 10, 11:59 pm, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> Ups, forgot to add "debugger.php" to a previous patch, since it was also
> changed to solve that issue.
>
> On Sun, Oct 10, 2010 at 3:29 PM, Alexander Obuhovich <aik.b...@gmail.com>wrote:
>
>
>
>
>
> > 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.
>
> > Task:http://tracker.in-portal.org/view.php?id=884
>
> > Ready for testing.
>
> > --
> > Best Regards,
>
> >http://www.in-portal.com
> >http://www.alex-time.com
>
> --
> Best Regards,
>
> http://www.in-portal.comhttp://www.alex-time.com
>
>  method_name_not_string_error_v2.patch
> 3KViewDownload
Reply all
Reply to author
Forward
0 new messages