CakePHP 3.0.0 development preview 2 released

2014-04-08 Thread Comrade Raj
Any support for ODBC as a datasource ? 

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


sqlsrv and pdo_sqlsrv module mismatch only inside CAKEPHP

2014-04-07 Thread Comrade Raj
I have installed sqlsrv and pdo_sqlsrv extensions using SQLSRV30.EXE from 
Microsoft website. The bake command is failing with following php warnings:

PHP Warning:  PHP Startup: pdo_sqlsrv: Unable to initialize module
Module compiled with module API=20100525
PHPcompiled with module API=20090626
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: sqlsrv: Unable to initialize module
Module compiled with module API=20100525
PHPcompiled with module API=20090626
These options need to match
 in Unknown on line 0

I am not getting any warnings in PHP (outside cakephp)

Please help !

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Re: Using ODBC Data Source in Cake 2.4

2014-04-07 Thread Comrade Raj
Hi Borislav
Thanks for your response. I downloaded the odbc.php (in Database folder) 
and tried to create connection in database.php by tweaking the following 
but no luck:
public $default = array(
 'datasource'=>'Database/odbc',
//'driver' => 'Teradata',
//'connect' => 'TeradataProduction',
// 'persistent' => '',
// 'host' => 'TeraProd',
// 'port'=> '',
// 'login' => '',
// 'password' => '',
// 'database' => 'DBA',
// 'prefix' => '',
// //'encoding' => 'utf8',
// );

I am not verse enough in cakephp to extend the PDO. I am surprised to see 
there is no support for ODBC in cakePHP. Not all organizations uses 
MySQL/SQLServer or Postgre.

On Saturday, April 5, 2014 12:39:10 AM UTC-7, Борислав Събев Borislav Sabev 
wrote:
>
> Now that i searched a bit more I saw that There is a Datasources plugin 
> for CakePHP 2.0 <https://github.com/cakephp/datasources/tree/2.0> but the 
> `Database/Odbc` data source is still incompatible with CakePhp 2.x.
> *So you should definitely start there!*
>
> I also answered your StackOverflow 
> Question<http://stackoverflow.com/questions/22849479/how-to-use-odbc-datasource-in-cakephp-2-4>in
>  the same way as here. Posting it as reference.
>
> Cheers, Borislav.
>
> On Friday, 4 April 2014 00:29:30 UTC+3, Comrade Raj wrote:
>>
>> Hi, I am newbie to Cake. I have a DSN pointing to Teradata.
>> How can I configure database.php to use that ODBC DSN. I am currently 
>> uing Cake 2.4.6
>>
>> Thanks alot.
>>
>

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Using ODBC Data Source in Cake 2.4

2014-04-03 Thread Comrade Raj
Hi, I am newbie to Cake. I have a DSN pointing to Teradata.
How can I configure database.php to use that ODBC DSN. I am currently uing 
Cake 2.4.6

Thanks alot.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.


Using ODBC DS in Cake 2.4

2014-04-03 Thread Comrade Raj
Hi guys, I am newbie to cake php. Can I configure cake 2.4 with ODBC as DS. 
If yes , please help.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.