Problem with baking
Frnds! I am using apache2triad's php and when i try to run php.exe in the command i am getting the following error:- Runtime Error! Program: c:\apache2triad\php\bin\php.exe R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information. Frnds! pls reply with ur suggestion whether i should use apache2triad for bake or not? Thanking you, -- View this message in context: http://www.nabble.com/Problem-with-baking-tp15540182p15540182.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Bug while using PHPmailer
Hi djiize, Thanks a ton i have resolved that bug. Actually there is a space after the (?>) closing tag and after removing that my code is working fine.. Thankyou very much for your help:-) djiize wrote: > > > in your email.php component file, check if there's nothing after > closing tag (?>) > and FYI, there's an Email core component in Cake > > On 13 f�v, 11:04, searchmax <[EMAIL PROTECTED]> wrote: >> My code was working fine with sessions but when i added the >> email(phpmailer), >> I am getting the below error when i use email(phpmailer) component and >> checking the session >> >> If i comment var $components = array('Email');, everything works fine. >> Pls >> help me in this regard >> >> CODE >> >> > class ProductsController extends AppController >> { >> >> var $helpers = array("html","Javascript"); >> >> var $components = array('Email'); >> >> function beforeFilter() >> { >> $this->checkSession(); >> } >> //rest of the code >> >> Error >> Warning: Cannot modify header information - headers already sent by >> (output >> started at >> C:\apache2triad\htdocs\cakeapp\app\controllers\components\email.php:116) >> in >> C:\apache2triad\htdocs\cakeapp\cake\libs\controller\controller.php on >> line >> 447 >> >> -- >> View this message in >> context:http://www.nabble.com/Bug-while-using-PHPmailer-tp15452984p15452984.html >> Sent from the CakePHP mailing list archive at Nabble.com. > > > > -- View this message in context: http://www.nabble.com/Bug-while-using-PHPmailer-tp15452984p15459378.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Bug while using PHPmailer
Thankyou very much for showing interest in my query. I have checked the file email.php and after ?> closing tag nothing is there. I have searched in cake for email component and what i got is the phpmailer thing and i have proceeded with that. Can you please send me some links to any examples which gives more info about core email component in cake? I really got stuck with this. Pls help me. Thankyou. djiize wrote: > > > in your email.php component file, check if there's nothing after > closing tag (?>) > and FYI, there's an Email core component in Cake > > On 13 f�v, 11:04, searchmax <[EMAIL PROTECTED]> wrote: >> My code was working fine with sessions but when i added the >> email(phpmailer), >> I am getting the below error when i use email(phpmailer) component and >> checking the session >> >> If i comment var $components = array('Email');, everything works fine. >> Pls >> help me in this regard >> >> CODE >> >> > class ProductsController extends AppController >> { >> >> var $helpers = array("html","Javascript"); >> >> var $components = array('Email'); >> >> function beforeFilter() >> { >> $this->checkSession(); >> } >> //rest of the code >> >> Error >> Warning: Cannot modify header information - headers already sent by >> (output >> started at >> C:\apache2triad\htdocs\cakeapp\app\controllers\components\email.php:116) >> in >> C:\apache2triad\htdocs\cakeapp\cake\libs\controller\controller.php on >> line >> 447 >> >> -- >> View this message in >> context:http://www.nabble.com/Bug-while-using-PHPmailer-tp15452984p15452984.html >> Sent from the CakePHP mailing list archive at Nabble.com. > > > > -- View this message in context: http://www.nabble.com/Bug-while-using-PHPmailer-tp15452984p15458813.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Bug while using PHPmailer
My code was working fine with sessions but when i added the email(phpmailer), I am getting the below error when i use email(phpmailer) component and checking the session If i comment var $components = array('Email');, everything works fine. Pls help me in this regard CODE checkSession(); } //rest of the code Error Warning: Cannot modify header information - headers already sent by (output started at C:\apache2triad\htdocs\cakeapp\app\controllers\components\email.php:116) in C:\apache2triad\htdocs\cakeapp\cake\libs\controller\controller.php on line 447 -- View this message in context: http://www.nabble.com/Bug-while-using-PHPmailer-tp15452984p15452984.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
need help for javascript helper
Hi, In my login panel, after the focus is lost from the "Username" textbox, I want a javascript function to validate on the "onBlur" event of "Username" textbox to check whether the username is left blank or not. I am new to cakephp and i am tyring to learn javascript helper using the above example. Pls someone guide me how to write $javascript->link and $javascript->event. Your help is greatly appreciated. Thankyou very much. -- View this message in context: http://www.nabble.com/need-help-for-javascript-helper-tp15433185p15433185.html Sent from the CakePHP mailing list archive at Nabble.com. --~--~-~--~~~---~--~~ 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, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---