I had the same problem, and same solution worked. This is one of the problems I'm having after changing server.
Tha most strange for me now is that the directory index doesn't load automatically, I have to click on index.php to load the web, the problem is not the webserver because I've tested without cake and works well Anyone knows the problem? On 24 mayo, 19:01, macfurax <[EMAIL PROTECTED]> wrote: > I dig in thebaseUrlfucntion of dispatcher.php and set base to "" and > webroot to "/". > All everything look good so far ! > > baseUrlfunction is quite compliquate and for me doesn't provide the > right results ! > > Constant > > On 24 mai, 15:11, macfurax <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I have discovered CakePHP few weeks ago and it was a great > > discovering ! > > > I make a test drive application on XAMPP on my laptop. Now I want to > > test it on my hosting. > > So I create a subdomaine pointing to the "webroot" folder of CakePHP. > > >http://ministock.constantdupuis.be/nodes/browse(ifyou want to see > > what append) > > > And there links to other part of the application are not referencing > > relative path but absolute path. > > > In the view : > > > <?php echo $html->link($child['Node']['name'], '/nodes/browse/'. > > $child['Node']['id']);?> > > > On XAMPP test it gives (which works) : > > > <a href="/cakephp/nodes/browse/4" >WebGal</a> > > > And on my hosting (of course doesn't works): > > > <a href="/home.10.14/constant/www/t/cakephp/app/webroot/nodes/browse/ > > 4" >WebGal</a> > > > Any idea ? > > Did I miss somethings ? > > > I'm using version 1.1.14.4797 of cakePHP > > > Thanks > > > Constant --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
