FilChi Weblog

Archive for the ‘Web Development’ Category


I thought I should share with my fellows this function I just created to get the first monday of the month using PHP.

Read the rest of this entry »


I just went to the ##php channel in irc.freenode.net to ask the great gurus about the opposite of ‘===’ .
Here is the excerpt of our discussion:

Read the rest of this entry »


If it happens to you that when you add a new record when scaffolding in cakephp 1.2 beta version, check if your mysql version is 5.1 or later, and check in my.ini of your mysql server and remove that “STRICT_TRANS_TABLES” setting, and then your cake scaffold will work just fine.

(source: http://groups.google.fr/group/cake-php/browse_thread/thread/a0b1a35c1909d5db )

Note: I think this is just a temporary fix. I was informed in irc that this bug is already fixed. It is advisable to get the latest code thru svn.


In CakePHP 1.2 beta version, when you attempt to use/set Sessions in app/config/core.php, you might encounter this problem:

Fatal error: Class ‘ConnectionManager’ not found in CORE/cake/libs/session.php on line 704.

When I tried changing these settings:

Configure::write(‘Session.save’, ‘database’);
Configure::write(‘Session.table’, ‘cake_sessions’);
Configure::write(‘Session.database’, ‘default’);
Configure::write(‘Session.start’, false);

The error appears.


Email from Mark William Campillanes is shown below:

Hi,

An International Company is greatly in need of a Ruby on Rails
Programmer. The post offers a promising career growth and of course a very
competitive compensation package. I decided to shoot an e-mail to you
because I just would like to ask and also try out if ever you can refer or
you know someone who is apt for the position. I am very much willing to
discuss further the details of the above-mentioned job vacancy to qualified
and interested individuals. This is for a permanent employment. We are
sincerely eyeing for someone who can lead the account with sufficient
knowledge and background in ruby on rails. We are very much willing to
elaborate the lucrative components of this post. You can reach me at
0916-5812765

Thank you so much

God Speed!

Mark


Flickr Photos