Database connection object missing in TemplatesCache class

0 views
Skip to first unread message

Alexander Obuhovich

unread,
Jan 22, 2010, 11:11:34 AM1/22/10
to In-Portal Bugs
Database connection object missing in TemplatesCache class resulting fatal error, when compiled template version is accessed via database in safe mode.

To fix this we should call parent::kHelper() instead of parent::kBase() in class constructor.

--
Best Regards,

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

Dmitry Andrejev

unread,
Jan 22, 2010, 12:44:07 PM1/22/10
to in-port...@googlegroups.com
Here is a patch for this bug.

Task will be created shortly and included in In-Portal 5.0.3.


Cheers!

--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.

Database_Connection_Object_Missing_in_TemplatesCache-Dmitry-20100122-v1.patch

Dmitry A.

unread,
Jan 22, 2010, 12:56:27 PM1/22/10
to In-Portal Bugs Team
New Task has been filed:

551: Database Connection object missing in TemplatesCache class

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


Cheers!


On Jan 22, 11:44 am, Dmitry Andrejev <dandre...@gmail.com> wrote:
> Here is a patch for this bug.
>
> Task will be created shortly and included in In-Portal 5.0.3.
>
> Cheers!
>

> On Fri, Jan 22, 2010 at 10:11 AM, Alexander Obuhovich <aik.b...@gmail.com>wrote:
>
>
>
> > Database connection object missing in TemplatesCache class resulting fatal
> > error, when compiled template version is accessed via database in safe mode.
>
> > To fix this we should call parent::kHelper() instead of parent::kBase() in
> > class constructor.
>
> > --
> > Best Regards,
>
> >http://www.in-portal.com
> >http://www.alex-time.com
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "In-Portal Bugs Team" group.
> > To post to this group, send email to in-port...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go oglegroups.com>


> > .
> > For more options, visit this group at
> >http://groups.google.com/group/in-portal-bugs?hl=en.
>
>
>

>  Database_Connection_Object_Missing_in_TemplatesCache-Dmitry-20100122-v1.patch
> < 1KViewDownload

Reply all
Reply to author
Forward
0 new messages