Who to do when link table use with hasBelongstomany (tablea_tableb) contain data ?

2006-05-18 Thread Naonak
In my db shema I have albums linked with hasBelongstomany to musics. Track number is in albums_musics table. So what should I do to inform this field (Track number) ? Who to do when link table use with hasBelongstomany (tablea_tableb) contain data ? Best regards, Naonak

Re: $_ENV['DOCUMENT_ROOT'] return wrong path

2006-04-28 Thread Naonak
I did mistake : If I do : "echo $_ENV['DOCUMENT_ROOT'];" ON LOCAL VERSION : d:/work/www If I do : "echo $_ENV['DOCUMENT_ROOT'];" online /home/iciservi/www/dir/app/webroot If I modify line 392 of dispatcher class, it work, but it not a good solution. First because I don't understand why and se

$_ENV['DOCUMENT_ROOT'] return wrong path

2006-04-28 Thread Naonak
I have problem with online version of my website : If I do : "echo $_ENV['DOCUMENT_ROOT'];" online d:/work/www If I do : "echo $_ENV['DOCUMENT_ROOT'];" online /home/iciservi/www/dir/app/webroot In theory, it should be : /home/iciservi/www Result, all link generate by the method "baseUrl" of

Re: Odd base url generation!

2006-04-23 Thread Naonak
I resolved my problem : On locale : DOCUMENT_ROOT= d:/work/internet/www '/'.APP_DIR.'\\'.DS.WEBROOT_DIR.'/' = /app\\webroot/ Online: DOCUMENT_ROOT = /home/iciservi/www/iciservices/app/webroot '/'.APP_DIR.'\\'.DS.WEBROOT_DIR.'/' = /app\/webroot/ So I replace line 370 on dispatcher.php if (preg_m

Re: Odd base url generation!

2006-04-22 Thread Naonak
Because my hoster I did change on htaccess. May be bad (?) My htaccess : cake dir : RewriteEngine on RewriteRule^$ /cakedir/app/webroot/[L] RewriteRule(.*) /cakedir/app/webroot/$1 [L] app : RewriteEngine on RewriteRule^$/cakedir/[L] RewriteRu

Re: Odd base url generation!

2006-04-22 Thread Naonak
I don't think because I use the same htaccess files! --~--~-~--~~~---~--~~ 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, s

Odd base url generation!

2006-04-22 Thread Naonak
Hi, I have problem when I put my siteweb online. My links generate online seem to this : http://www.[...].fr/cakedir/app/webroot/inscriptions But in local it work : http://localhost/cakedir/inscriptions Odd! The only difference I think is the version of php : 5.05 in locale and 5.04 online

Re: Hosting and php5

2006-04-22 Thread Naonak
Thanks for your answers. AddHandler application/x-httpd-php5 .php don't work with my hoster but your solution of rename files inside webroot work great! Thanks again, Fabien --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Hosting and php5

2006-04-22 Thread Naonak
Hi ! The hosting solution I use alow php5 only if file extension is .php5 (no issue with htaccess...) and I want to use cakephp with this version of php. So what files I need rename and/or modify to do that ? Help me please ! --~--~-~--~~~---~--~~ You received

Re: know which method of controller is call directly from layout

2006-04-14 Thread Naonak
( In the case in requestAction is do in view of the rendered element ) --~--~-~--~~~---~--~~ 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

Re: know which method of controller is call directly from layout

2006-04-14 Thread Naonak
And how know too renderElement who are call directly from layout to the same goal ? --~--~-~--~~~---~--~~ 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 T

know which method of controller is call directly from layout

2006-04-14 Thread Naonak
How know which method of controller is call directly from layout (with requestAction) ? The goal is to know if it to late to load files like js or css for the requested controller concerned. --~--~-~--~~~---~--~~ You received this message because you are subscrib