Preventing Warning Message from Cakephp
Message: Deprecated: Assigning the return value of new by reference is deprecated in...
Solution: Modify cake/libs/configure.php
< ?php
if (isset($config['debug'])) {
if ($_this->debug) {
error_reporting(E_ALL);
// add below contents
if (error_reporting() > 6143) {
error_reporting(E_ALL & ~E_DEPRECATED);
}
?>
2009年11月24日 星期二
2009年11月19日 星期四
Capture http package for your http server
tcpdump -A -s 1024 'port 80 and src host 192.x.x.x'
-A enables ASCII mode display
-s enlarge package length
src host x.x.x.x for specified host IP only
-A enables ASCII mode display
-s enlarge package length
src host x.x.x.x for specified host IP only
Enables your Dreamweaver to recognize thtml and ctp
1. Modify C:\Documents and Settings\user_name\Application Data\Macromedia\Dreamweaver 8\Configuration\Extensions.txt
Append thtml, ctp in below section:
“PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files”
2. Modify C:\Program Files\Macromedia\Dreamweaver 8\Configuration\Extensions.txt
Append thtml, ctp in below section:
“PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files”
2. Modify C:\Program Files\Macromedia\Dreamweaver 8\Configuration\Extensions.txt
Append thtml, ctp in below section:
“PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files”
3. Modify C:\Program Files\Macromedia\Dreamweaver 8\Configuration\DocumentTypes directory\MMDocumentTypes.xml
3. Modify C:\Program Files\Macromedia\Dreamweaver 8\Configuration\DocumentTypes directory\MMDocumentTypes.xml
Append thtml, ctp in below section:
< documenttype id="PHP_MySQL" writebyteordermark="false" file="Default.php" macfileextension="php,php3,php4,php5,thtml,ctp" winfileextension="php,php3,php4,php5,thtml,ctp" internaltype="Dynamic" servermodel="PHP MySQL" >
訂閱:
文章 (Atom)