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
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
> 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.
>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.
>
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
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
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.
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
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
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(
10 matches
Mail list logo