Friday, February 27, 2009

Re: Upgraded cake to 1.2.1.8004 and getting "Undefined offset" error in configure.php in every action

Anybody solved this?

On 3 helmi, 18:54, ieatfood <ieatf...@gmail.com> wrote:
> Dr. Lecter,
>
> If you're referring to /app/tmp/cache then those are empty.
>
> Any other ideas?
>
> -Kuba
>
> On Feb 3, 7:02 am, "dr. Hannibal Lecter" <lecter...@gmail.com> wrote:
>
> > Just a dumb guess, but did you clear your app cache?
>
> > On Feb 3, 1:17 pm, ieatfood <ieatf...@gmail.com> wrote:
>
> > > I just upgraded my system to use CakePHP 1.2.1.8004 from RC2, and I'm
> > > getting the following error even on actions with just a die(); command
> > > in them:
>
> > > Notice (8): Undefined offset:  0 [/home/rmsc/rmsc/cake/cake/libs/
> > >configure.php,line1185]
> > > __destruct - [internal],line??
> > > app::__destruct() - /home/rmsc/rmsc/cake/cake/libs/configure.php,line
> > >1185
> > > [main] - [internal],line??
>
> > > Context:
> > > $this   =       app
> > > app::$_log = NULL
> > > app::$search = array
> > > app::$return = false
> > > app::$__cache = true
> > > app::$__map = array
> > > app::$__paths = array
> > > app::$__loaded = array
> > > $core   =       array()
>
> > >Line1185inconfigure.phpis:
> > > unset($this->__paths[rtrim($core[0], DS)]);
>
> > > I just noticed that these two more are also coming up all the time:
> > > Warning: mkdir(../cake) [function.mkdir]: Permission denied in /home/
> > > rmsc/rmsc/cake/cake/libs/folder.php online465
> > > Fatal error: Undefined class name 'i18n' in /home/rmsc/rmsc/cake/cake/
> > > basics.php online605
>
> > > These are all core functions, and I don't make any explicit use of any
> > > of these these in my app.  Can someone help me out?  I really want to
> > > be able to use the new cake releases and some of the new classes (like
> > > Xml).
>
> > > Thank you in advance,
> > > Kuba

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: