baking and postgresql
although my basic installation can see and connect to my postgres database when I try to bake anything or even just run the basic cake command to check things out I get the following which appears to be a bit off since I am trying to use postgres... r...@servern:/var/www/tangofour/cake/cake/console# ./cake PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/ perl5/auto/DBD/mysql/curl.so' - /usr/lib/perl5/auto/DBD/mysql/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/ perl5/auto/DBD/mysql/gd.so' - /usr/lib/perl5/auto/DBD/mysql/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/ perl5/auto/DBD/mysql/mysql.so' - /usr/lib/perl5/auto/DBD/mysql/ mysql.so: undefined symbol: PL_memory_wrap in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/ perl5/auto/DBD/mysql/mysqli.so' - /usr/lib/perl5/auto/DBD/mysql/ mysqli.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/ perl5/auto/DBD/mysql/pdo.so' - /usr/lib/perl5/auto/DBD/mysql/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/ perl5/auto/DBD/mysql/pdo_mysql.so' - /usr/lib/perl5/auto/DBD/mysql/ pdo_mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/ perl5/auto/DBD/mysql/pdo_pgsql.so' - /usr/lib/perl5/auto/DBD/mysql/ pdo_pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/ perl5/auto/DBD/mysql/pgsql.so' - /usr/lib/perl5/auto/DBD/mysql/ pgsql.so: cannot open shared object file: No such file or directory in Unknown on line 0 Welcome to CakePHP v1.3.0-RC2 Console --- Current Paths: -app: app -working: /var/www/tangofour/cake/app -root: /var/www/tangofour/cake -core: /var/www/tangofour/cake Changing Paths: your working path should be the same as your application path to change your path use the '-app' param. Example: -app relative/path/to/myapp or -app /absolute/path/to/myapp Available Shells: acl [CORE]bake [CORE] i18n [CORE] testsuite [CORE] api [CORE]console [CORE]schema [CORE] Can anyone throw some light on this? Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: baking and postgresql
Ok folks never mind. It appears my php.ini file was wrong. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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 To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words REMOVE ME as the subject.
Re: Newbie: running blog tutorial - fails with ::constructClasses() error
After hacking about again this morning I think I have cracked it. My posts table was created / owned by postgres user although the blog database was owned by my test user. Apart from that everything else seemed to be in place correctly. thanks Ian On Mar 4, 6:30 pm, John Andersen j.andersen...@gmail.com wrote: Please show the code of your posts controller :) Enjoy, John On Mar 4, 1:43 pm, nimbusgb imoleswo...@gmail.com wrote: Fatal error: Call to undefined method PostsController::constructClasses() in /var/www/cake/cake/ dispatcher.php on line 184 I'm running 1.3 rc 1 but this error is identical running 1.2.6 ( I just upgraded to see if the error would go away ) Postgres database. http://localhost/cakegetsall the greens and the page is css formatted properly. I have built the model and controller files. Set up database access. enabled write access to all the directories etc. when I try to access http://localhost/cake/postsorhttp://localhost/cake/posts/index I get the fatal error message above. My understanding is that cake is failing as it tries to build the posts controller class so I have a path or permission wrong somewhere. Would really appreciate a pointer, this has been holding me up for a day. As a long time Java bod i am keen to get to grips with an environment that seems to offer quick functionality and a host of available code but this is frustrating the heck out of me! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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
Newbie: running blog tutorial - fails with ::constructClasses() error
Fatal error: Call to undefined method PostsController::constructClasses() in /var/www/cake/cake/ dispatcher.php on line 184 I'm running 1.3 rc 1 but this error is identical running 1.2.6 ( I just upgraded to see if the error would go away ) Postgres database. http://localhost/cake gets all the greens and the page is css formatted properly. I have built the model and controller files. Set up database access. enabled write access to all the directories etc. when I try to access http://localhost/cake/posts or http://localhost/cake/posts/index I get the fatal error message above. My understanding is that cake is failing as it tries to build the posts controller class so I have a path or permission wrong somewhere. Would really appreciate a pointer, this has been holding me up for a day. As a long time Java bod i am keen to get to grips with an environment that seems to offer quick functionality and a host of available code but this is frustrating the heck out of me! Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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