Random Snippet of Code and Life

Archive for January, 2008


26
Jan

CakePHP Code: Notice: Undefined index: REQUEST_URI error

Code:
Notice: Undefined index: REQUEST_URI …\app_controller.php on line 130
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at …\app_controller.php:130) in …\session.php on line 154
Warning: Cannot modify header information - headers already sent by (output started at …\app_controller.php:130) in …\session.php on line 155
if you have the above error in windows, try […]

Popularity: 19% [?]


24
Jan

CakePHP: Bake more with IBM developerWorks!

IBM developerWorks is an excellent source of valuable tutorials for tons of technologies and platforms.
They have several series of tutorials covering CakePHP. One of them is Cook up Web sites fast with CakePHP.
This serie covers topics like Bake, Sanitize and Sessions and more.. Very important for potential Bakers, I strongly encourage anyone interested in baking […]

Popularity: 19% [?]


24
Jan

Nice blog on CakePHP

Happened to stumble upon this fanastic blog on CakePHP. Not sure if the author is a developer of CakePHP but he is definitely a good baker!
http://cake-php.blogspot.com/2006/09/21-things-you-must-know-about-cakephp.html
Technorati Tags: CakePHP

Popularity: 18% [?]

Popularity: 18% [?]


23
Jan

bake Fatal error: Call to undefined function mysql_connect()

The most likely cause for this problem is that php_mysql.dll is not enable for CLI (command line interface) version for PHP.
To resolve this,
(windows)
Create a copy php.ini-dist in the directory where php.exe is.
Rename it to php.ini.
Edit the file, uncomment php_mysql.dll and php_mysqli.dll
Run php bake.php, if you receive error about ./mysql.dll unable to load, copy and […]

Popularity: 22% [?]

Random Snippet of Code and Life is is proudly powered by Wordpress
Navigation Theme by GPS Gazette