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

2010-08-02 Thread jhymz

Are you using a file upload component? 

Try Going to your folder.php and echo the pathname above line 465...
-- 
View this message in context: 
http://cakephp.1045679.n5.nabble.com/Upgraded-cake-to-1-2-1-8004-and-getting-Undefined-offset-error-in-configure-php-in-every-action-tp1313173p2261903.html
Sent from the CakePHP mailing list archive at Nabble.com.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


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

2009-02-27 Thread PunaniskaEarl

Anybody solved this?

On 3 helmi, 18:54, ieatfood  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"  wrote:
>
> > Just a dumb guess, but did you clear your app cache?
>
> > On Feb 3, 1:17 pm, ieatfood  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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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

2009-02-03 Thread ieatfood

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"  wrote:
> Just a dumb guess, but did you clear your app cache?
>
> On Feb 3, 1:17 pm, ieatfood  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, line 1185]
> > __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()
>
> > Line 1185 in configure.php is:
> > 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 on line 465
> > Fatal error: Undefined class name 'i18n' in /home/rmsc/rmsc/cake/cake/
> > basics.php on line 605
>
> > 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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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

2009-02-03 Thread dr. Hannibal Lecter

Just a dumb guess, but did you clear your app cache?

On Feb 3, 1:17 pm, ieatfood  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, line 1185]
> __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()
>
> Line 1185 in configure.php is:
> 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 on line 465
> Fatal error: Undefined class name 'i18n' in /home/rmsc/rmsc/cake/cake/
> basics.php on line 605
>
> 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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



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

2009-02-03 Thread ieatfood

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, line 1185]
__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()

Line 1185 in configure.php is:
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 on line 465
Fatal error: Undefined class name 'i18n' in /home/rmsc/rmsc/cake/cake/
basics.php on line 605

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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---