Welcome Guest, Not a member yet? Register   Sign In
Undocumented reserved names?
#1

[eluser]darrenm[/eluser]
I've just spent a very strange hour or so trying to extend one of my Models with another called "Press".

I was getting "Cannot redeclare" errors which made me think I was loading in files in the wrong order, or extending the wrong objects. But no. In the end I renamed it to "PressRelease" and it then worked fine.

The documentation only contains a very few reserved names and no mention of "Press"

Any ideas? This applies to 1.7.0 out of SVN
#2

[eluser]Référencement Google[/eluser]
Are you sure you don't have a controller or a library with the same name? "Press" is not a reserved name as far as I know.
#3

[eluser]darrenm[/eluser]
Damn you beat me to it by seconds!!

That was exactly the problem. Schoolboy error. I clearly need more tea.




Theme © iAndrew 2016 - Forum software by © MyBB