Translation per plugin

2006-12-30 Thread 2000Man
Hi everyone, I've been playing around with the new Cake 1.2, especially with the i18n-feature, and it seems to work beautifully! Really nice job! There's one problem I'm facing wich I can't get solved. My Cake-apps very often use plugins and I would like to translate these too. It would be real

Re: Component and beforeFilter() problem

2006-12-30 Thread [EMAIL PROTECTED]
Ah, gotcha. It works fine in beforeRender(). I should have tried it there earlier. Thanks Nate On Dec 31, 12:31 am, "nate" <[EMAIL PROTECTED]> wrote: If your component gets access to the controller in the startup() callback, it might have something to do with the fact that startup() happens af

Re: Component and beforeFilter() problem

2006-12-30 Thread nate
If your component gets access to the controller in the startup() callback, it might have something to do with the fact that startup() happens after beforeFilter(). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ca

Component and beforeFilter() problem

2006-12-30 Thread [EMAIL PROTECTED]
Hey Guys I have a component that uses models from my controllers. The component functions that access the models work fine in all my actions. However, when I try to access the same functions inside beforeFilter I get an error: Notice: Trying to get property of non-object Fatal error: Cal

New to Cake, Missing View Errors (?)

2006-12-30 Thread Derrick Shields
Greetings, I'm trying to follow along with the blog tutorial, but I keep getting "Missing View" errors when trying to look at the index.thtml and view.thml: You are seeing this error because the view for PostsController::index() could not be found. Fatal: Confirm you have created the file : /.

RE: Runners? Beta Testers?

2006-12-30 Thread Mariano Iglesias
Congratulations tom, looks really cool. Guess that Cake, the rapid development framework, just made sense to build a webapp for rapid runners ;) I agree with gwoo, I need to get myself some running shoes... Well I have them, I guess I just need to get my lazy ass out of the chair and start doing

Re: /cake

2006-12-30 Thread Nimrod A. Abing
If you are able to then use mod_dir. However this needs root privileges to enable on the server you are working with. On Debian, this seems to be built into Apache by default so there is no need to load it manually using a LoadModule directive. http://httpd.apache.org/docs/1.3/mod/mod_dir.html

Re: Weird stuff

2006-12-30 Thread gwoo
APC: http://pecl.php.net/package/APC --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [E

Re: /cake

2006-12-30 Thread [EMAIL PROTECTED]
gwoo wrote: This is a mod_rewrite problem when operating in sub directories. Unfortunately, there is no easy way around it, and we only recommend installing Cake in a sub directory for development. To get around this problem with subdirectories, I use subdomains, which work just like regular d

Re: Weird stuff

2006-12-30 Thread MrTufty
I tried EasyPHP, and also XAMPP. Vertrigo is my favourite, because although some files get installed in the webroot, they're optional and can be safely deleted. I noticed that most of the other environments install phpMyAdmin into the webroot, or create an admin/ folder in there to hold their ow

Re: Weird stuff

2006-12-30 Thread gwoo
Knowledge of the problem is 3/4 of the answer. Vertigo seems like a nice environment. Have you tried any of the others? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send

Re: Weird stuff

2006-12-30 Thread MrTufty
Hi gwoo, guess your response came in here before my other ones did. Adding the trailing slash makes no difference, still crashes in the same way. It looks like it's entirely Zend's fault in this case... they are meant to be working on an updated version of the Optimizer which fixes it, but no re

Re: Weird stuff

2006-12-30 Thread gwoo
try adding the trailing slash, like http://localhost/cake/ Maybe the system logs will have something? The "blank screen of death" happens when index.php cannot locate the cake core. But usually, this is logged to the the apache error.log and should not cause this type crash. --~--~-~--

Re: Weird stuff

2006-12-30 Thread MrTufty
This may help answer some of the questions - a lot of people have seen this issue on the Zend forums. http://www.zend.com/forums/index.php?t=msg&th=2529&start=0&S=794daedd3f5ff2312185b52703a0f86a At least now I know it's not just me going crazy, and that it's not just Cake that is affected (my

Re: Weird stuff

2006-12-30 Thread MrTufty
And it has. Thanks everyone for trying to help. I wish I'd thought of checking the Windows Error Log sooner instead of looking in Apache's own log files... would have figured this out before I'd even posted :) It still doesn't make any sense why there would be an incompatibility between Zend Op

Re: Weird stuff

2006-12-30 Thread MrTufty
Ah... I've just checked in the Windows Error Log under MMC, it's highlighting an error with the Zend Optimizer DLL that's included. Will try and disable that, see if that solves the problem... --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Weird stuff

2006-12-30 Thread MrTufty
gwoo - this is the error that I get: http://www.alltheusualsuspects.co.uk/users/orry/cake-vertrigo-error.png I think Apache, or possibly a PHP module, is wiping it out even before Apache can write to the error log. I get this error consistently with both of the 1.2 versions I've tried so far,

Re: Runners? Beta Testers?

2006-12-30 Thread gwoo
Looking pretty nice Tom. I really should get out an run more. But you guys keep me locked up in a room making sweet and tasty things. I do know some runners though. So, I will be sure to send them your way. And maybe one of these days I can hit the pavement myself. Too much sweets and no exercis

Re: need advice

2006-12-30 Thread gwoo
helpers with work from anywhere in the view, including elements in layouts or views. Review the API. The correct method is formTag not form. http://api.cakephp.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ca

RE: need advice

2006-12-30 Thread Adrian Godong
Well, AFAIK, since the element and helpers are on the same level, they can't call each other. Quick fix is: generate your code from the helper on the view first, then cut-paste the result to the element code. Let us know if anyone else has a better answer. BTW, I've used a helper in an element

need advice

2006-12-30 Thread ptc
Hi, i'm just begginer to cakePHP and i need some adivce. I would like to build webapp which will be using something like this: renderElement('menu'); ?> In main i put main content of my page. in menu i would like to put menu whit login and some useful stuph. As i've seen in manua

Runners? Beta Testers?

2006-12-30 Thread tom
Hi, http://dev.we-run.com/ I'm beta testing a cool running log that I've made with CakePHP. It's simple but very functional right now, with nice statistics, quick run input, tracking places, and more. I'd love to have some people check it out, sign up, etc. When everything is totally stable &

Re: Weird stuff

2006-12-30 Thread gwoo
What gives you the impression that Apache is bombing. If it were it would most defnitely report something in the error log. Usually some sort of seg fault is logged. Is it the blank screen of death? --~--~-~--~~~---~--~~ You received this message because you are

Re: question about Akelos framework

2006-12-30 Thread Felix Geisendörfer
I've not really worked with Akelos so far, but I know a couple things about it: * It's huge. That's because Akelos basically has taken an 'take as many OS libraries you can get and put them in one framework' approach. * It seems to have good policies regarding unit testing (code that

question about Akelos framework

2006-12-30 Thread purepear
I'm sure thats not the right place talking about other PHP frameworks, but i really want to know if someone have used it. He can share his effort with it in comparison to cake. Because the features looks realy good and in this moment i don't have the time get into Akelos. Thanks in advance. --

Re: Weird stuff

2006-12-30 Thread MrTufty
Best information I can provide is that I'm running on a default installation of VertrigoServ 2.14 (http://vertrigo.sf.net), using the below versions of the components: Apache 2.0.59 PHP 5.2.0 MySQL 5.0.27 SQLite 3.3.8 PhpMyAdmin 2.9.1.1 ZendOptimizer 3.2.0 SQLiteManager 1.2.0 Cake itself is ins

Re: Passing string in url

2006-12-30 Thread Eric C Blount
urlencode() each parameter, separated by slashes. It'll get there. Eric On 12/30/06, Alexis Konstantinou <[EMAIL PROTECTED]> wrote: Thanks for the reply, I know this works if storing params in $_GET. My question was: what if I want to use the SLASH format for passing URL's instead of the tra

Re: Passing string in url

2006-12-30 Thread Alexis Konstantinou
Thanks for the reply, I know this works if storing params in $_GET. My question was: what if I want to use the SLASH format for passing URL's instead of the traditional method i.e. I want something like this: http://www.somthing.com/controller/view/param1/param2/param3 => controller will contain