Log message #1109091

# At Username Text
# Oct 22nd 2009, 05:17 dakota maximum it can be is 255 characters
# Oct 22nd 2009, 05:17 dakota why do you want to limit the file name lenght?
# Oct 22nd 2009, 05:16 dakota hence the 'array to string' error
# Oct 22nd 2009, 05:16 dakota you are passing it a file array
# Oct 22nd 2009, 05:16 ixopo ?
# Oct 22nd 2009, 05:16 ixopo i have to extract file name
# Oct 22nd 2009, 05:16 dakota maxLength is for strings
# Oct 22nd 2009, 05:15 ixopo lol
# Oct 22nd 2009, 05:15 dakota ixopo: Its fairly obvious what the problem is
# Oct 22nd 2009, 05:15 ixopo hmmm
# Oct 22nd 2009, 05:15 ixopo hmm
# Oct 22nd 2009, 05:15 swordz Actually, it's expectig text, and you're passing a file?
# Oct 22nd 2009, 05:14 ixopo dakota u have any idea ?
# Oct 22nd 2009, 05:14 ixopo -(
# Oct 22nd 2009, 05:14 swordz OK, that was my best guess.
# Oct 22nd 2009, 05:13 ixopo swordz i changed the name to testcase now http://bin.cakephp.org/view/301974892 still getting the same error Array to string conversion [CORE/cake/libs/validation.php, line 598]
# Oct 22nd 2009, 05:10 swordz You need it to go 'I don't have that rule, lets check the conents of this array'
# Oct 22nd 2009, 05:10 ixopo swordz http://bin.cakephp.org/view/1556117243
# Oct 22nd 2009, 05:10 swordz It's doing a foreach, getting to maxLength, going 'I have that rule' then doing it
# Oct 22nd 2009, 05:10 swordz ixopo Try changing the name of the maxLength key in the file array
# Oct 22nd 2009, 05:10 dakota stop watching movies :)
# Oct 22nd 2009, 05:10 ixopo lol
# Oct 22nd 2009, 05:09 dakota lol
# Oct 22nd 2009, 05:09 Mike_MnD dakota: sorry for the question but don't knw why every time i see you righting i imagine Dakota Fanning :D
# Oct 22nd 2009, 05:09 dakota ^ I though that topic had been discussed at length already
# Oct 22nd 2009, 05:09 ixopo i just wanted to add the MaxLength Rule
# Oct 22nd 2009, 05:08 dakota Mike_MnD: Not the last time I checked
# Oct 22nd 2009, 05:08 ixopo yes i use the MediaPlugin, but as i wrote all Other ValidationRules are working perfect
# Oct 22nd 2009, 05:08 swordz Actually, just ignore me
# Oct 22nd 2009, 05:08 Mike_MnD dakota are you female ?
# Oct 22nd 2009, 05:08 swordz Or lots of them are
# Oct 22nd 2009, 05:08 swordz Actually, they're all custom
# Oct 22nd 2009, 05:07 ixopo k one sec
# Oct 22nd 2009, 05:07 swordz ixopo Can you paste the checkExtension function?
# Oct 22nd 2009, 05:05 ixopo http://bin.cakephp.org/view/1495842087
# Oct 22nd 2009, 05:05 ixopo hi everybody, can someone please have a short look over my validation rule ? i tried to add a new rule "maxLength" but i allways get error "Array to string conversion [CORE/cake/libs/validation.php, line 598]". All other ValidationRules working perfect. Heres the Validation
# Oct 22nd 2009, 05:03 NoReGreT haha
# Oct 22nd 2009, 05:03 dogmatic69 pawned by MVC
# Oct 22nd 2009, 05:02 NoReGreT exactly..
# Oct 22nd 2009, 05:02 dogmatic69 ACTION gives NoReGreT a noddy badge :)
# Oct 22nd 2009, 05:02 dakota lol