Re: Problem with $this->redirect()

2006-09-16 Thread kacperix
Hi! I was doing this: I added in file .htaccess in app/webroot this line: RewriteBase / And in file index.php in app/webroot this line: if (!defined('WEBROOT_DIR')) { define('WEBROOT_DIR', basename(dirname(__FILE__))); } Change to: if (!defined('WEBROOT_D

Re: Problem with $this->redirect()

2006-09-16 Thread kacperix
Still this same problem. On provider's server still is bad redirecting. I don't know what is wrong. Maybe some constant, module or sth else in apache or sth like this is wrong?? HELP!!! --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: Problem with $this->redirect()

2006-09-16 Thread kacperix
> 1. What hosting company are you with? I am with hosting company from Poland. It's was NetArt: http://www.nazwa.pl 2. Have you tried to run it locally; like on Windows with a WAMP setup? It so are you having the same problem? Yes I run it localy on Windows with a WAMP and all is OK!! P.S.

Re: Problem with $this->redirect()

2006-09-16 Thread kacperix
>1. What is your Operating System? It's Linux, but what distribution I don't know because my hosting provider dosn't wrote this. >2. How did you install Apache/PHP/Database? (i.e. on Windows XAMPP/ >WAMP/ individual installers, etc...) All was instal by my hosting provider. >

Re: Problem with $this->redirect()

2006-09-15 Thread kacperix
mod_rewrite is install on 100% and all .htaccess files are valid. But I have still this problem. PLEASE HELP. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to ca

Missing Controller Template - problem with images, css, etc

2006-09-10 Thread kacperix
files included, etc. When I look into source code, I saw there that the links to images, css etc, looks that: Where is the problem, and how can i to correct it?? Kacperix --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goog

Problem with $this->redirect()

2006-09-03 Thread kacperix
Hi! When i use function $his->redirect() to redirect for example $this->redirect('/user/login') I am redirecting to: http://exampleserv.com/app/webroot/users/login but I want url like this: http://exampleserv.com/users/login Where is the problem. Please help. Cake ver: 1.1.7.3363 PHP ver: 5.

Re: Model methods in AppControlles

2006-09-03 Thread kacperix
Hi! Yeah...Mike Freedom was right, this work. Thank you Mikee very much. Bye --~--~-~--~~~---~--~~ 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 unsu

Model methods in AppControlles

2006-08-24 Thread kacperix
Hello. I have in my app_controller.php file that function: function getConfig($name) { $ret = $this->query("SELECT value FROM config WHERE name='".$name."'"); $wynik = $ret[0]['value']; return $wynik; } And when I want to access to this function I' got on scre

Problem with Methods in AppController!!!

2006-08-24 Thread kacperix
Hi! In my app_controller.php file a have this function: function getConfig($name) { $ret = $this->query("SELECT value FROM config WHERE name='".$name."'"); $wynik = $ret[0]['value']; return $wynik; } And when in sth controller i do for example $this->getConfig(