appreciated.
Cheers,
Burningfuses
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake
Hello.
I have the following code in my controller called comments_controller:
if ($this-Comment-delete($id)) {
...
}
At localhost everything works as expected: the table row with the provided
ID gets removed and the if statement gets executed.
But as soon as I move my code to the server, the if
Hello again.
I just found out what the problem was.
I have a trigger in a table and the delete action was causing a recursion in
my MySQL. Since I had debug set to 0, I wasn't able to see what the actual
problem was.
The funny thing is that this trigger is working fine locally, but not on the
triggerCallback() on a non-
object in /Users/x/Documents/www/cake/libs/controller/controller.php
on line 864
I was wondering what would be the right way to do this.
Please let me know if I was able to make myself clear.
Thanks a lot,
Burningfuses
--
Our newest site for the community: CakePHP Video
a lot,
Burningfuses
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscr
I opted to go by Miles' suggestion and created a static class in
vendors. So far it is working great. Thanks a lot for all the help
guys.
Best,
Burningfuses
On Aug 12, 2:17 pm, Miles J mileswjohn...@gmail.com wrote:
That's not what models are for. Models are meant to represent an
entity
should I put them? Is there a recommended cake
guideline for such a thing?
Thank you,
Burningfuses
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions
Make sure that your files (controllers) have the correct
capitalization.
Once I accidentaly typed an uppercase where it shouldn't be and it
brought chaos to my app.
On May 27, 1:11 am, 8vius lmd...@gmail.com wrote:
Hey all, I'm new to CakePHP and I'm using it at work. I have a Mac
running Mac