Re: URL is showing wrong

2010-06-12 Thread Davor Ilic
hmmm i try this to comment it and it worked with pretty url from cakePHP : Configure::write('App.baseUrl', env('SCRIPT_NAME')); now html->link shows the right url which i wont. It seems i didn´t understand what they mean because of my bad english, i didn´t read it well and i uncomment it. Sorry

Re: URL is showing wrong

2010-06-11 Thread calvin
I don't think you need the final slash at the end. I usually just put / path/to/dir/* in my Apache directory directives. On Jun 10, 9:53 pm, Jeremy Burns | Class Outfit wrote: > I just had some problems getting Cake to run on a new MacBook Pro I bought > this week . I didn't want to install MAMP

Re: URL is showing wrong

2010-06-10 Thread Jeremy Burns | Class Outfit
I just had some problems getting Cake to run on a new MacBook Pro I bought this week . I didn't want to install MAMP; I enabled PHP and installed MySQL. I went through all the published steps to get Apache to play nice, but I was not getting any CSS or images. I stumbled across this article whi

Re: URL is showing wrong

2010-06-10 Thread Davor Ilic
sry for my bad english. i hope you did understand me... also it is hard to understand you what you meen somtimes but google translate helps a little bit. i´ve try to change now something and it didn´t work... i realy don´t know what i have done to get this issue. but i know that i only create con

Re: URL is showing wrong

2010-06-10 Thread Davor Ilic
I didn´t turn it off i´ve only changed in the core the Salt security values for sha1 and numbvalues nothing else. I´ve tested it. if i use the url like this: http://my.site/clients/add_client it also work. Hm the html->link is only showing

Re: URL is showing wrong

2010-06-09 Thread Dr. Loboto
Did you study cakebook link? You need: 1) mod_rewrite installed and enabled; 2) AllowOverride set to All for your site dir; 3) .htaccess files must exist, be valid (unchanged rewrite section actually), and be accessible by webserver (on *nix wrong rights prevent it). Also there can be problem wit

Re: URL is showing wrong

2010-06-09 Thread Davor Ilic
it is enabled i also worked with it and cake wouldn´t show me a correct page with this url: http://my.site/*app/webroot/index.php/*clients/add_client it have to be anything else. perhaps it have something to do with the route.php or the .htaccess isn´t done well 2010/6/9 Dr. Loboto > You

Re: URL is showing wrong

2010-06-08 Thread Dr. Loboto
You need mod_rewrite enabled. http://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccess On Jun 7, 12:40 am, Davor Ilic wrote: > Hi, > > my url is this:http://my.site/*app/webroot/index.php/*clients/add_client > > why is it like this it change after time but can´t say i´ve changed > som

URL is showing wrong

2010-06-08 Thread Davor Ilic
Hi, my url is this: http://my.site/*app/webroot/index.php/*clients/add_client why is it like this it change after time but can´t say i´ve changed something. i wont to show the link like this with "$html->link()" : http://my.site/clients/add_client Check out the new CakePHP Questions site http:/

Re: URL is showing wrong

2010-06-08 Thread calvin
Check your web server configurations. Cake usually generates urls like that when you set your www_root/document_root to the / instead of /app/ webroot . On Jun 8, 7:35 am, Davor Ilic wrote: > This is my code which i use to display my link:   >   $ui_Url): ?> >   >   >  link($ui_naviName, > >  arr

Re: URL is showing wrong

2010-06-08 Thread Davor Ilic
This is my code which i use to display my link: $ui_Url): ?> link($ui_naviName, array('controller'=>'clients','action'=>$ui_Url), array('class'=>'gpFloatLeft') ) ?> link('', array('controller'=>'clients','action'=>'add_client'), array('class'=>'ui_icons ui_icon_add gpFloatLef

Re: URL is showing wrong

2010-06-07 Thread John Andersen
Yes, I understand what the result is, but which code (please show) is the base for the link? Have you defined any routes that may affect this - if yes, then show them too! Which folder is your webroot set to in your web server? Is it the app folder or the app/webroot folder? Enjoy, John On Jun

Re: URL is showing wrong

2010-06-07 Thread Davor Ilic
this creates link "http://my.site/*app/webroot/index.php/*clients/add_client"; but i want to tell link to show it without *app/webroot/index.php/ it should look like this url * http://my.site/clients/add_client . thanks 2010/6/7 John Andersen > And I were too fast here, sorry for that! > > Wha

Re: URL is showing wrong

2010-06-07 Thread John Andersen
And I were too fast here, sorry for that! What is the code that creates the link? Enjoy, John On Jun 7, 4:28 pm, Davor Ilic wrote: > does anybody else have this issue too? > > 2010/6/6 Davor Ilic > > > Hi, > > > my url is this:http://my.site/*app/webroot/index.php/*clients/add_client > > > w

Re: URL is showing wrong

2010-06-07 Thread John Andersen
Please provide more information!! How is it showing wrong? Where is it showing wrong? What code is creating it? Without that we have no idea what you are talking about!! :) Enjoy, John On Jun 7, 4:28 pm, Davor Ilic wrote: > does anybody else have this issue too? > > 2010/6/6 Davor Ilic > > >

Re: URL is showing wrong

2010-06-07 Thread Davor Ilic
does anybody else have this issue too? 2010/6/6 Davor Ilic > Hi, > > my url is this: http://my.site/*app/webroot/index.php/*clients/add_client > > why is it like this it change after time but can´t say i´ve changed > something. > > i wont to show the link like this with "$html->link()" : > http: