Posts

Showing posts from July, 2011

google talk multiple login

google talk multiple login 1. Right-click on the desktop 2. Select New 3. Select Shortcut 4. Paste this into the text box: "c:\program files\google\google talk\googletalk.exe" /nomutex 5. Click Next . Name it whatever: Google Talk Multiple, etc. 7. Click OK until you are done

Time Zone Error in Cake php

PHP Warning:  strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date. timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for '-8.0/no DST' instead in C:\xampp\htdocs\cake_1_2\cake\libs\cache.php on line 429   Warning in cake to resolve this you have to follow this path. Yourfoldername/cake/libs/cache.php Open this file Press ctrl+g and go line no. 570 You will find the code like this if (!is_numeric($this->settings['duration'])) {           $this->settings['duration'] = strtotime($this->settings['duration']) - time();     }    return true; simply paste this code:    date_default_timezone_set('UTC'); Example: if (!is_numeric($this->settings['duration'])) {                                 d

how to Dreamweaver read the CakePHP Files or Opening CakePHP Files in Dreamweaver?

In cake php there are two type of file which is mostly used in cake php THTML and CTP Files. So in dreamweaver There are ultimately 3 files that you need to edit. Path of file is C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration Open this folder and Open up “Extensions.txt” and on the first line at the very end add THTML and CTP separated by commas, in this file there is line like this MASTER,THTML,CTP:All Documents Similarly add these two extensions to the “:PHP Files” line. PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files Next open the “DocumentTypes” folder and edit the “MMDocumentTypes.xml” file, just open it up using notepad or wordpad. Search for the line which has an id “PHP_MySQL” and add the THTML/CTP file extensions to both the “winfileextension” and “macfileextension” so the line should read: 1. winfileextension="php,php3,php4,php5,thtml,ctp" 2. macfileextension="php,php3,php4,php5,thtml,ctp" The final file is another version of t