Re: Custom Authentication
and for user level and complex system use ACL Component: http://book.cakephp.org/view/171/Access-Control-Lists On Oct 20, 12:20 pm, xtraorange wrote: > Howdy all, > > I'm brand new to CakePHP (and MVC frameworks for that matter), but > perfectly comfortable with php and mysql. > > For a number of years I have hand written and reused my own > authentication systems, which have worked fantastically for me. Now > that I've found the benefit of CakePHP, I'd really like to recreate my > way of doing authentications. > > My question: > I'll give a short summary below as to how I go about doing it, but my > question is this: does anyone have a good tutorial or write up they > know of that I could follow for overwriting the existing auth system > with my own with the least amount of effort? > > --- > > How I like to do authentications: > Users of course have an ID, username and hashed pass, which is checked > on a login attempt and set up in the sessions. They also have a user > level, ranking them numerically (in most cases, I use 1-5, or 1-10... > the higher you are, the more rights you have)... this includes 0 for > guests, 1 for users who are registered but have not been authenticated > (depending on if the system has admin or e-mail authentication turned > on), and 2+ for everyone else. Most of my pages have a numerical > value indicating the required level to enter (for example, if it were > 3... all users level three and up could enter), though some instead > use an array and a numerical value (for exceptions... so 3 is the > numeral, but in the array 5 is false... then everyone 3+ except level > 5 users have access). I like this system because it allows me to have > precise controll over which groups access, without having to manage in > fine detail every last thing (because of the numerical value, most > pages require that only and they are ready to go). The global > function also lets me use this same check for things like menu items > (register, admin panel, etc.). > > Thanks, > x.o. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Custom Authentication
Authentication in cakephp: 1 - you must build users table in database (Default) that contain username and password fields (you can change these fields). 2 - in your controller add Auth component : var $components=array('Auth'); 3 - add two functions in your controller : function login(){} function logout(){ $this->redirect($this->Auth->logout()); } (login function body is empty) 4 - now build login.ctp in your view folder with two input fields : username and password 5 - Done ! now we have simple login system with cakephp power. you can change default Auth settings : function beforeFilter() { $this->Auth->loginRedirect= array ('controller'=>'users','action'=>'index'); $this->Auth->allow('register'); } On Oct 20, 12:20 pm, xtraorange wrote: > Howdy all, > > I'm brand new to CakePHP (and MVC frameworks for that matter), but > perfectly comfortable with php and mysql. > > For a number of years I have hand written and reused my own > authentication systems, which have worked fantastically for me. Now > that I've found the benefit of CakePHP, I'd really like to recreate my > way of doing authentications. > > My question: > I'll give a short summary below as to how I go about doing it, but my > question is this: does anyone have a good tutorial or write up they > know of that I could follow for overwriting the existing auth system > with my own with the least amount of effort? > > --- > > How I like to do authentications: > Users of course have an ID, username and hashed pass, which is checked > on a login attempt and set up in the sessions. They also have a user > level, ranking them numerically (in most cases, I use 1-5, or 1-10... > the higher you are, the more rights you have)... this includes 0 for > guests, 1 for users who are registered but have not been authenticated > (depending on if the system has admin or e-mail authentication turned > on), and 2+ for everyone else. Most of my pages have a numerical > value indicating the required level to enter (for example, if it were > 3... all users level three and up could enter), though some instead > use an array and a numerical value (for exceptions... so 3 is the > numeral, but in the array 5 is false... then everyone 3+ except level > 5 users have access). I like this system because it allows me to have > precise controll over which groups access, without having to manage in > fine detail every last thing (because of the numerical value, most > pages require that only and they are ready to go). The global > function also lets me use this same check for things like menu items > (register, admin panel, etc.). > > Thanks, > x.o. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Howto disable redirect to login view on main page?
you must use this method in BeforeFilter function: $this->Auth->allow('index'); On Oct 20, 11:48 am, Davit Barbakadze wrote: > Still not confident on this platform. It could be that the answer is > self-obvious, but just can't get my mind around it just yet. > > I want my main page to be loaded despite of user authentication > status. Then I get additional content via Ajax, which should then > depend on whether user has been authenticated or not. So how should I > load the main page without redirect to login view going on behind the > scenes? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: ctrl+f5
[SOLVED] :) use disableCache() method and solved. On Oct 10, 3:36 pm, persianshadow wrote: > hi > > i finish my project and upload to server .with my computer everything > is correct > but other user need press crtl+f5 for see correct value.but my page > contain : > > 1 - in first page user click on product and add to shopping cart > ( use session for this ) > > 2 - after user click on product in my controller add product to > session and redirect user to reffer page. > > 3 - in first attempt user don't see anything in shopping cart but > after add other product appear all > > product in shopping cart or with press crtl+f5 everything goes > correct. > > 4- i add don't cache meta tag in page. > > i check everything but can't solve this :(. in my computer everything > is correct . > > please help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
ctrl+f5
hi i finish my project and upload to server .with my computer everything is correct but other user need press crtl+f5 for see correct value.but my page contain : 1 - in first page user click on product and add to shopping cart ( use session for this ) 2 - after user click on product in my controller add product to session and redirect user to reffer page. 3 - in first attempt user don't see anything in shopping cart but after add other product appear all product in shopping cart or with press crtl+f5 everything goes correct. 4- i add don't cache meta tag in page. i check everything but can't solve this :(. in my computer everything is correct . please help me. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: paginator
thanks for your help :). On Oct 1, 11:19 am, Alexandru Ciobanu wrote: > On 10/1/2009 11:08 AM, persianshadow wrote: > > > hi > > > i use paginator in my view but $paginator->numbers() method only show > > 9 number in view > > > i want increase number in view.i change numbers options but don't get > > anything. > > http://api.cakephp.org/class/paginator-helper#method-PaginatorHelpern... > > $pagination->numbers(array('modulus' => 12)); > > This will display 12 pages on each side of the current page instead of > the default 8. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
paginator
hi i use paginator in my view but $paginator->numbers() method only show 9 number in view i want increase number in view.i change numbers options but don't get anything. thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
URL Routing
hi i have form with one field that get number from user , i want send this number to my controller from url . i change my form type to "get" but i need to nice url routing .for example with "get" type i get this : http://.../admin/edit?id=100 but i want this : http://../admin/edit/100 please help me for solve this. thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Security salt
hi i have register page that using Auth component and i know this component use security salt in core.php file and hash user password and save in database but if in future i change this security salt , passwords in database don't work with new security salt.is this correct ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: store array into session
hi Nancy yes :) . i test this and understand that we can store array into session :). thanks for your reply. On Aug 31, 8:25 pm, Nancy wrote: > Have you tried it? It does store it as a string but seems to recreate > it as an array when you read it back in. At least, I tried it > yesterday and it seemed to do the right thing. > > On Aug 28, 1:31 am, persianshadow wrote: > > > hi > > > i want store array of ids into session but i explore API of cakephp > > and see $value ( Session->write($name,$value) ) > > > only get string , i need it for store id of items that user select . > > > anybody have idea for do this ? > > > thanks > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
prototype
hi i using prototype and scriptaculous in my project but these frameworks are heavy size and final pages load very slow , i searching for find solution for this problem , i want put these framework in bottom of my layout (near close body tag) but after this work , ajax method and scriptaculous effects don't work. anybody have idea for solve this ? thanks :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Extra newline character in every page??
i'm agree with euromark (munich) i have same problem because i save my file with windows notepad and result of this work is generate white space in output html. finally i save my document with Notepad++ and select this format : " UTF8 without BOM " (( BOM = Byte Order Mark )) BOM use for UTF16 and UTF32.you must save your document with correct format , some editors show BOM and you can remove this line from your code but some editor don't show this. i use Notepad++ and from menu bar and format menu select : UTF8 without BOM. On Aug 30, 8:18 pm, "euromark (munich)" wrote: > i once had this problem with some trash editor from the internet > they save your utf8 encoded pages with BOM without even asking etc. > > those might be interpreted as newline (at the beginning of the > document) > > you should save your documents with proper editors - not using BOM > just normal "utf8" > > well - the symptoms are similar - so i guess this could be your > problem > > On 30 Aug., 17:07, "Dr. Loboto" wrote: > > > Check your php files (models, controllers, etc) for whitespace before/ > > after php tags. > > > On Aug 29, 4:50 pm, Weber Chu wrote: > > > > I found there is newline character "\r\n" in the start of every page > > > no matter which layout I am using. > > > > i.e. before " > > > I have also checked that all layour .ctp do not contain "\r\n" at the > > > start. > > > This make my captcha image cannot be shown properly. > > > > Does anybody know what is happening? Thank you. > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: After Save data no redirect to another page.
hi what's your controller ? you must correct this : $this->redirect(array('controller'=>'product','action'=>'index')); redirect function need to controller and action but i think you didn't provide this. (you must put your own controller name instead product) On Aug 30, 8:33 am, arif hossen wrote: > Please help me. > After Save data no redirect to another page. > it is cakeconfig any problem? > > such as : > > function add() > { > > if(!empty($this->data)) > { > > if($this->User->save($this->data)) > { > $this->redirect(array('action'=>'index')); > } > > } > > } > > but no redirect to index page: page show white screen.What kinds of problem > is it? Please give solution . > > -- > Regards, > Mohammad Arif Hossen > Software Enginner > Epsilon Consulting and Development Services(ECDS)www.ecds-tech.com > +88 01714355911 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
store array into session
hi i want store array of ids into session but i explore API of cakephp and see $value ( Session->write($name,$value) ) only get string , i need it for store id of items that user select . anybody have idea for do this ? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: store array into session
hi Melgior my website have heavy process and i searching for fast solution that store and read array . On Aug 28, 12:02 pm, Melgior wrote: > As a last resort, you could always use PHP's serialize and unserialize > functions to convert the array into a string and back. I think there > must be a better way to do it, but I've got no ideas about how > currently. If you're building a busy site, then using serialize is > performance wise not the best option. > > On 28 aug, 10:31, persianshadow wrote: > > > hi > > > i want store array of ids into session but i explore API of cakephp > > and see $value ( Session->write($name,$value) ) > > > only get string , i need it for store id of items that user select . > > > anybody have idea for do this ? > > > thanks > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
get form fields value in Model
hi i want get my form fields values in Model with name of each fields , i need this for writing custom validation function , i don't ind good solution for this . anybody have idea ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: unwanted white space in html
i found my problem but need solution ! my layout and view file contain some Asian (persian) Character and i must save my file with UTF8 encode instead ANSI . when i save my view file with ANSI encode everything goes Right way and css appear in head tag and don't show unwanted white spaces but with UTF8 encoding don't ! these Characters are static and don't Retrieve from databse and if must my view file with UTF8 encoding for show correct Character . i test this solution but don't affecte : 1 - save my file with ANSI encode and add charset (); ?> to my layout . anybody have solution for this problem ? On Aug 13, 8:41 am, persianshadow wrote: > i set my css link with your parameters but now don't insert css link > in my html document ! > > only with this format : $html->css('screen'); work but with above > bugs . > > also cakephp don't show any Error and i confuse with this problem :(. > > On Aug 13, 1:52 am, brian wrote: > > > You're not passing the param correctly. Try this: > > > echo $html->css('screen', 'stylesheet', null, false); > > > On Wed, Aug 12, 2009 at 4:30 PM, persianshadow > > wrote: > > > > hi brian > > > > yes ! my css links insert in body tag ! > > > > now i change these : > > > > 1 - add to head tag > > > > 2 - and my css tags in head tag : > > > > > > echo $html->css('screen'); > > > echo $html->css('custom'); > > > ?> > > > > and i do this : $html->css('screen', $inline=false) but don't work and > > > css links stay in body tag. > > > > please help me for right way. > > > > On Aug 12, 7:55 pm, brian wrote: > > >> It looks to me like a CSS issue. Newlines in the source shouldn't have > > >> any affect at all on how the page renders. Look at the HTML tab in > > >> Firebug and hover the cursor over the surrounding elements in the > > >> source to see the margin/padding. If you click on the tag, you can see > > >> the style rules on the right. > > > >> I'm sure it's entirely unrelated, but I noticed that you have CSS > > >> links in the body. Those should be in the head. If you are using > > >> HtmlHelper to set those in the view, you can pass false as the last > > >> param to get it to place the link in the head. > > > >> css( $path, $rel = NULL, $htmlAttributes = array ( ), $inline = true ) > > > >> On Wed, Aug 12, 2009 at 11:16 AM, persianshadow > > >> wrote: > > > >> > hi > > > >> > i design my html code with XHtml and CSS and add to my cakephp > > >> > application but in html view > > > >> > i have two unwanted white space that don't have any codes in source > > >> > view of html output > > > >> > view image of my page with unwanted white space : > > > >> >http://s1d4.turboimagehost.com/sp/ec096e69ec1f5ec9d0f5939bf7999847/un... > > > >> > but i spy with firebug and in html section of firbug i found empty > > >> > line , see image : > > > >> >http://s1d4.turboimagehost.com/sp/4f64597bd71ebd1dd1452593873c4e60/un... > > > >> > and when i inspect in dom i see this : > > > >> >http://s1d4.turboimagehost.com/sp/419e5d0980f8b0940711832ddecd0255/un... > > > >> > yes ! replaceWholeText() function insert " \n " character in my html > > >> > page and this code generate in real time > > > >> > and don't part of my code , i test my cakephp application in other > > >> > browsers but get same problem. > > > >> > i don't use Ajax or javascript in my layout > > > >> > anybody have idea ? > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: unwanted white space in html
i set my css link with your parameters but now don't insert css link in my html document ! only with this format : $html->css('screen'); work but with above bugs . also cakephp don't show any Error and i confuse with this problem :(. On Aug 13, 1:52 am, brian wrote: > You're not passing the param correctly. Try this: > > echo $html->css('screen', 'stylesheet', null, false); > > On Wed, Aug 12, 2009 at 4:30 PM, persianshadow wrote: > > > hi brian > > > yes ! my css links insert in body tag ! > > > now i change these : > > > 1 - add to head tag > > > 2 - and my css tags in head tag : > > > > echo $html->css('screen'); > > echo $html->css('custom'); > > ?> > > > and i do this : $html->css('screen', $inline=false) but don't work and > > css links stay in body tag. > > > please help me for right way. > > > On Aug 12, 7:55 pm, brian wrote: > >> It looks to me like a CSS issue. Newlines in the source shouldn't have > >> any affect at all on how the page renders. Look at the HTML tab in > >> Firebug and hover the cursor over the surrounding elements in the > >> source to see the margin/padding. If you click on the tag, you can see > >> the style rules on the right. > > >> I'm sure it's entirely unrelated, but I noticed that you have CSS > >> links in the body. Those should be in the head. If you are using > >> HtmlHelper to set those in the view, you can pass false as the last > >> param to get it to place the link in the head. > > >> css( $path, $rel = NULL, $htmlAttributes = array ( ), $inline = true ) > > >> On Wed, Aug 12, 2009 at 11:16 AM, persianshadow > >> wrote: > > >> > hi > > >> > i design my html code with XHtml and CSS and add to my cakephp > >> > application but in html view > > >> > i have two unwanted white space that don't have any codes in source > >> > view of html output > > >> > view image of my page with unwanted white space : > > >> >http://s1d4.turboimagehost.com/sp/ec096e69ec1f5ec9d0f5939bf7999847/un... > > >> > but i spy with firebug and in html section of firbug i found empty > >> > line , see image : > > >> >http://s1d4.turboimagehost.com/sp/4f64597bd71ebd1dd1452593873c4e60/un... > > >> > and when i inspect in dom i see this : > > >> >http://s1d4.turboimagehost.com/sp/419e5d0980f8b0940711832ddecd0255/un... > > >> > yes ! replaceWholeText() function insert " \n " character in my html > >> > page and this code generate in real time > > >> > and don't part of my code , i test my cakephp application in other > >> > browsers but get same problem. > > >> > i don't use Ajax or javascript in my layout > > >> > anybody have idea ? > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: unwanted white space in html
hi brian yes ! my css links insert in body tag ! now i change these : 1 - add to head tag 2 - and my css tags in head tag : css('screen'); echo $html->css('custom'); ?> and i do this : $html->css('screen', $inline=false) but don't work and css links stay in body tag. please help me for right way. On Aug 12, 7:55 pm, brian wrote: > It looks to me like a CSS issue. Newlines in the source shouldn't have > any affect at all on how the page renders. Look at the HTML tab in > Firebug and hover the cursor over the surrounding elements in the > source to see the margin/padding. If you click on the tag, you can see > the style rules on the right. > > I'm sure it's entirely unrelated, but I noticed that you have CSS > links in the body. Those should be in the head. If you are using > HtmlHelper to set those in the view, you can pass false as the last > param to get it to place the link in the head. > > css( $path, $rel = NULL, $htmlAttributes = array ( ), $inline = true ) > > On Wed, Aug 12, 2009 at 11:16 AM, persianshadow > wrote: > > > hi > > > i design my html code with XHtml and CSS and add to my cakephp > > application but in html view > > > i have two unwanted white space that don't have any codes in source > > view of html output > > > view image of my page with unwanted white space : > > >http://s1d4.turboimagehost.com/sp/ec096e69ec1f5ec9d0f5939bf7999847/un... > > > but i spy with firebug and in html section of firbug i found empty > > line , see image : > > >http://s1d4.turboimagehost.com/sp/4f64597bd71ebd1dd1452593873c4e60/un... > > > and when i inspect in dom i see this : > > >http://s1d4.turboimagehost.com/sp/419e5d0980f8b0940711832ddecd0255/un... > > > yes ! replaceWholeText() function insert " \n " character in my html > > page and this code generate in real time > > > and don't part of my code , i test my cakephp application in other > > browsers but get same problem. > > > i don't use Ajax or javascript in my layout > > > anybody have idea ? > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
unwanted white space in html
hi i design my html code with XHtml and CSS and add to my cakephp application but in html view i have two unwanted white space that don't have any codes in source view of html output view image of my page with unwanted white space : http://s1d4.turboimagehost.com/sp/ec096e69ec1f5ec9d0f5939bf7999847/unwanted.JPG but i spy with firebug and in html section of firbug i found empty line , see image : http://s1d4.turboimagehost.com/sp/4f64597bd71ebd1dd1452593873c4e60/unwanted2.JPG and when i inspect in dom i see this : http://s1d4.turboimagehost.com/sp/419e5d0980f8b0940711832ddecd0255/unwanted3.JPG yes ! replaceWholeText() function insert " \n " character in my html page and this code generate in real time and don't part of my code , i test my cakephp application in other browsers but get same problem. i don't use Ajax or javascript in my layout anybody have idea ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakephp setup - Missing Controller error
check these options : 1 - filename letters must be lowercase : items_controller.php (plz check this correctly) 2 - mod_rewrite must be active . whats your server and OS ? 3 - where you put "items_controller.php " ? (plz paste full directory path ) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakephp setup - Missing Controller error
please copy/paste whole error text and address bar text there. On Jun 3, 3:21 pm, dflow wrote: > yes same error! :( > > On Jun 3, 2:47 am, Miles J wrote: > > > What about going to > > > /items/index > > > Or another action? > > --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakephp setup - Missing Controller error
please paste whole error text and address bar text . --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Test cakephp mail component in local host
hi i need to test my cakephp application in localhost. my os is win xp. do you know good solution for this work ? thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---