Re: Problems with Datasources - FIREBIRD
As I can see we are the only ones using this datasource... damn! -- 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. 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
Problems with Datasources - FIREBIRD
We are using the Firebird DBMS and it seems that either I'm doing something wrong or theres some error when using the Datasources plugin in CakePHP 2.0.4 We have tried some ways to solve this problem and currently we have: (base is our folder name) *Plugin path:* /var/www/base/app/Plugin/Datasources/Model/Datasource/Database *bootstrap.php* CakePlugin::loadAll(); *database.php* class DATABASE_CONFIG { public $default = array( 'datasource' = 'Database/Firebird', 'persistent' = false, 'host' = 'localhost', 'login' = 'login', 'password' = 'pass', 'database' = '/usr/lib/firebird2/DATABASE.GDB', 'prefix' = '', //'encoding' = 'utf8', ); } In the first moment we changed __cacheDescription() for _cacheDescription() and it passed the config screen but it didn't fetched the results of sql query it shows... So, there's any thing missing? maybe we are following the wrong steps? Thanks in advance... -- 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. 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
Re: Cakephp 2.0 Missing Database Connection Solved
Just to agree with Andy, I spent some time searching for this mail that I remember had seen in a fast reading... Well, now I was trying to figure out what was that thing and couldn't find the right email... I had to search for Andy's answers ( and they are quite a few ) and open one by one until I found it... Ok, my bad that I didn't starred it... I think that the only reason to post to the list ( threads that aren't questions or core-announcements) is if theres any doubt about if the information is or isn't really valuable, I mean, if it is indeed right or a mistake... -- 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. 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
Route problem with PHP 5.3
I've installed PHP 5.3 and I have already had to make some changes on my cake project ( core.php UTC setting). The problem is that something is going wrong with my routes, I think, because it worked perfectly before. I'm not sure that is a real route problem because it redirecting me to the right URL: http://localhost/projectname/login But then it doesn't find the files that is in the proper controller ( cadastroController - login() ) The requested URL /projectname/login was not found on this server. Is it because of the PHP 5.3? is there any configuration that I should check? Thank in advance... -- 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. 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
Re: Route problem with PHP 5.3
I've put an phpinfo() file into webroot folder and it was accessible with http://localhost/projectname/app/webroot/teste.php -- 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. 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
Re: Route problem with PHP 5.3
Yes it is... -- 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. 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
Re: Route problem with PHP 5.3
Ok its working now, I had to do the following sudo gedit /etc/apache2/sites-available/default Find the following: Options Indexes FollowSymLinks MultiViews AllowOverride *None* Order allow,deny allow from all and change it to Options Indexes FollowSymLinks MultiViews AllowOverride *all* Order allow,deny allow from all and finally restart Apache: /etc/init.d/apache2 restart -- 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. 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
Problem with encoding UTF-8
I'm trying to set my application to run under UTF-8 encoding. I've setted : config/database.php 'encoding' = 'utf8' config/core.php Configure::write('App.encoding', 'UTF-8'); views/layouts/*.ctp ?php echo $html-charset(); ? And my netbeans project was created as an UTF-8 project. Firefox and chrome are showing the content as ISO-8859-1, when I check for page info it says: Encoding ISO-8859-1 Does anyone know any other place that I should've changed? -- 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. 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
Re: Problem with encoding UTF-8
Seems to be something to do with /etc/apache2/conf.d AddDefaultCharset -- 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. 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
Re: Problem with encoding UTF-8
Just to confirm, we had a .htaccess with the attribute AddDefaultCharset = ISO-8859-1 Then I added another .htaccess in this new project just turning it off AddDefaultCharset = Off -- 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. 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
Changing hiddenField from 0
I'm using checkbox to check if the client agrees with the contract. But I would like to have 'No' if it was not checked. The problem is that I don't know how to change the hiddenField value. Ok, I know that I can treat it before saving changing 0 for 'No', but I would like to avoid this code and just set the value of the hiddenField to 'No' Do you know anything possible? or even if you can say Theres no other way it will help. Many thanks... http://book.cakephp.org/view/1414/checkbox http://book.cakephp.org/view/1651/options-hiddenField -- 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. 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
Debugging SQLs
HI everyone, I'm just starting with cake and that's my first post in this forum. I have been having the help of a friend that works with a cake but I couldn't find the right way to see the SQL generated by cake. In order to learn it better and understand how it makes SQL and why theres some troubles sometimes. So I would like to know how do I check every INSERT, UPDATE and SELECTs that cake does. which method do I have to use, where it should be placed and thing like that I'm using the cake default layout in order to check the SELECTS but I would like to see the other as well... -- 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. 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