Mssql cannot be connected locally

2012-06-02 Thread alvin567
function __construct($config, $autoConnect = true) { if ($autoConnect) { if (!function_exists('mssql_min_message_severity')) { trigger_error(__("PHP SQL Server interface is not installed, cannot continue. For troubleshooting information, see http://php.net/mssql/";, true), E

Mssql cannot be connected locally

2012-06-02 Thread alvin567
Cakephp PHP SQL Server interface is not installed, cannot continue. For troubleshooting information, see http://php.net/mssql/ Fatal error: Call to undefined function mssql_min_message_severity() in C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs \clientportaladmin\cake\libs\mo

paypal on cakephp 2.x?

2012-06-02 Thread bs28723
Anyone tried to get the CakePHP-Paypal-IPN-Plugin by webtechnick to work with CakePHP 2.X? or is there a better option? -- View this message in context: http://cakephp.1045679.n5.nabble.com/paypal-on-cakephp-2-x-tp5708491.html Sent from the CakePHP mailing list archive at Nabble.com. -- Ou

Re: Problem with using xampp on cakephp?

2012-06-02 Thread alvin567
thanks randy! On Jun 3, 3:41 am, randy wrote: > CAKE_CORE_INCLUDE_PATH is already defined by the time your code is reached. > Move your define() above the if(!defined…) > > r. > > On Jun 2, 2012, at 7:28 AM, alvin567 wrote: > > > > > > > > >    if (!defined('CAKE_CORE_INCLUDE_PATH')) { > >      

saveAssociated vs multiple saves and which controller or model?

2012-06-02 Thread bs28723
I have the need to create an action called "changeOwner" that will change a bunch of fields in several associated tables, then return to the calling page. It does not have its own view, so it does not get data to fill out a form and post it back, like the edit action would. I would like to us

Re: Problem with using xampp on cakephp?

2012-06-02 Thread randy
CAKE_CORE_INCLUDE_PATH is already defined by the time your code is reached. Move your define() above the if(!defined…) r. On Jun 2, 2012, at 7:28 AM, alvin567 wrote: > if (!defined('CAKE_CORE_INCLUDE_PATH')) { > define('CAKE_CORE_INCLUDE_PATH', ROOT); > } > define('CAK

Re: Notice: Constant CAKE_CORE_INCLUDE_PATH already defined in

2012-06-02 Thread Tilen Majerle
do you manually define it in app/webroot/index.php? -- Lep pozdrav, Tilen Majerle http://majerle.eu 2012/6/2 Miles J > Search and find out where its being defined twice. > > > On Saturday, June 2, 2012 8:55:14 AM UTC-7, alvin567 wrote: >> >> Notice: Constant CAKE_CORE_INCLUDE_PATH already defi

Re: Notice: Constant CAKE_CORE_INCLUDE_PATH already defined in

2012-06-02 Thread Miles J
Search and find out where its being defined twice. On Saturday, June 2, 2012 8:55:14 AM UTC-7, alvin567 wrote: > > Notice: Constant CAKE_CORE_INCLUDE_PATH already defined in > > how do I cancel out this error? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org

Is using Elements the best way to build menus?

2012-06-02 Thread bs28723
Right now, I am building out menus and they are all static, but, certain ones should only be displayed on certain pages. I have created some nested elements and variables passed in from the controller to each element to decide what to display. It seems to work w

Looking for MVC & CakePHP Best practice doc, examples for Med to large sites

2012-06-02 Thread bs28723
I am probably looking for something that does not exist online, but only in a few folks heads. :-) But maybe some parts of this exists. You never know unless you ask.. I am quickly learning a lot about MVC architecture and CakePHP over the last couple months. The cookbook, lots of trial an

Re: Comparing fields in the controller

2012-06-02 Thread Cody Sortore
Sweet! Thanks for the tips, I think you're right, gonna do a lot of reading on associations before I get back to coding and create more work for myself than I need to ;-) On Saturday, June 2, 2012 3:23:40 AM UTC-5, stork wrote: > > > when a new blog is created... I know it's probably wrong to d

Re: CakePHP 2.1.3 & 2.2.0-RC1 released

2012-06-02 Thread Devario Johnson
Awesome...I love that the timzone is in there, I remember having to do a custom one for an app not too long ago. Cake keeps getting better and better On Tuesday, May 22, 2012 8:52:47 PM UTC-5, mark_story wrote: > > The CakePHP core team is proud to announce the immediate availability of > both

Re: Problem with using xampp on cakephp?

2012-06-02 Thread Devario Johnson
what exactly is the issue? I use cakephp with xampp all the time. Are you trying to change your path to your app or something? if so you can just leave that as how it was and it should work fine. there is no reason to alter the index.php under webroot. (unless doing an advanced installation

Notice: Constant CAKE_CORE_INCLUDE_PATH already defined in

2012-06-02 Thread alvin567
Notice: Constant CAKE_CORE_INCLUDE_PATH already defined in how do I cancel out this error? -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.

Problem with using xampp on cakephp?

2012-06-02 Thread alvin567
if (!defined('CAKE_CORE_INCLUDE_PATH')) { define('CAKE_CORE_INCLUDE_PATH', ROOT); } define('CAKE_CORE_INCLUDE_PATH', 'C:' . DS . 'wamp' . DS . 'www' . DS . 'cake' . DS . 'lib'); -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org C

Problem with using xampp on cakephp?

2012-06-02 Thread alvin567
if (!defined('CAKE_CORE_INCLUDE_PATH')) { define('CAKE_CORE_INCLUDE_PATH', ROOT); } define('CAKE_CORE_INCLUDE_PATH', 'C:' . DS . 'wamp' . DS . 'www' . DS . 'cake' . DS . 'lib'); -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org C

Re: ave does not work properly

2012-06-02 Thread Dave Milsom
What exactly does the structure of $this->data look like? On Friday, June 1, 2012 9:05:13 PM UTC-4, Jeff Huang wrote: > > I already sent two days tried to solve this problem but havent found > out the solution. Basically the problem is, when I followed the Blog > tutorial on CakePHP cookbook, m

Re: browser compatibility: the weirdest thing ever with IE. throws flash message all the time!!!

2012-06-02 Thread luftlinie
thanks. i will check on that. appreciate it!! On 1 Jun., 08:00, johnny wrote: > If it only occurs on IE it might be a prolem with the user session. > Try setting Session.checkAgent to false in core.php and see if that > helps. > I had problems with sessions getting dropped in IE, with this settin

tell ajax pagination to order by 3 fields

2012-06-02 Thread heohni
Hi, I am using the ajax pagination. I have a default ORDER BY rule like ORDER BY price ASC, upload DESC So all my results are automatically ordered by this rule. Fine so far! But now I have a search form, where I want to add a third sort option like "articlegroup" Users can choose if they want

Blank page CakePHP 2.1.2 with SSL

2012-06-02 Thread Bao Nguyen
Hi all, I have a weire problem with CakePHP 2.1.2 and SSL. Sometime when i click on 1 page, it goes to blank page, after that i refresh the page it is ok. But when i test without SSL everything is ok. Is there anyone give me some clues to about this problem? This is my site: https://app01.k

Re: Implementing factory patterns in CakePHP

2012-06-02 Thread stork
Possibly sounds like work for InheritableBehavior from https://github.com/CakeDC/utils and combination of "Single/Class Table Inheritance" for your models. -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.c

Chetan Patel wants to chat

2012-06-02 Thread Chetan Patel
--- Chetan Patel wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-9782978691-9bb81c7995-N-6Z0h-tnvtSAAh0sgFr1_AREoM You'll n

Re: Comparing fields in the controller

2012-06-02 Thread stork
> when a new blog is created... I know it's probably wrong to do so, but it > is easier for me to You're right - it is wrong. Although it is technically possible, it would cause many side effects you would have to solve in app code. Follow cake conventions and cake will help you to do wh