
September 28, 2008
September 24, 2008
Solution for: How To Install cURL with SSL support In XAMPP on Win XP System
3. Open your php.ini file located at c:\xampp\apache\bin\php.ini
4. Then restart apache from the XAMPP control panel.
September 23, 2008
solution for How To include 'PEAR' in cake PHP?
do You have problem with PEAR with CakePhp ?
Are you Getting Error like Blelow ? Then this post is for you!!
<---------------------->
Warning (2): require_once(PayPal/Profile/API.php) [function.require-once]: failed to open stream: No such file or directory [APP\controllers\components\paypal.php, line 13]
$file = "C:\xampp\htdocs\paypal\app\controllers\components\paypal.php" $_this = App App::$search = array App::$return = false App::$__cache = true App::$__map = array App::$__paths = array App::$__loaded = array App::$_log = NULL
require_once('PayPal.php');require_once('PayPal/Profile/API.php');
require_once - APP\controllers\components\paypal.php, line 13 require - APP\controllers\components\paypal.php, line 13 App::__load() - CORE\cake\libs\configure.php, line 956 App::__find() - CORE\cake\libs\configure.php, line 934 App::import() - CORE\cake\libs\configure.php, line 861 Component::_loadComponents() - CORE\cake\libs\controller\component.php, line 178 Component::init() - CORE\cake\libs\controller\component.php, line 69 Controller::constructClasses() - CORE\cake\libs\controller\controller.php, line 387 Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 215 [main] - APP\webroot\index.php, line 90
Fatal error: require_once() [function.require]: Failed opening required 'PayPal/Profile/API.php' (include_path='C:\xampp\htdocs\paypal;C:\xampp\htdocs\paypal\app\;.;C:\xampp\php\pear\') in C:\xampp\htdocs\paypal\app\controllers\components\paypal.php on line 13
<--------------------------->
Solution:
1) Go to
2) then search for :
define ('PEAR', VENDORS.'Pear'.DS);
3) change that line to :
define ('PEAR', VENDORS.'Pear'.DS);
if( file_exists(VENDORS.'Pear'))
{
ini_set('include_path', ini_get('include_path') . PATH_SEPARATOR . PEAR);
}
Thats it ,now refresh your browser, voila!! It is working!!!.
September 17, 2008
Goodies From microsoft : Professional Developer and Designer tools for students at no charge
Who can get this right now?
DreamSpark is available to millions of college/university students around the world. The list of countries can be viewed during the student verification process. If you are not residing in one of the countries listed, keep checking back as we will be adding more countries throughout the year.
Does that mean that I might not get in?
Possibly, if you are not residing in one of the countries listed, not attending an accredited college/university or not a member of one of the student organizations that we're connected with. But keep checking back, as we're working on adding more ways to verify your student status all the time.
Hyderabad BarCamp8- Technology Entrepreneurship at ISB. Oct 11th, 2:30 pm, Get Register Now!!
| Get Register Now!! Hyderabad BarCamp8- Technology Entrepreneurship @ ISB. Oct 11th, 2:30pm A camp to share views and successes in the space of technology entrepreneurship. Fostering innovation and IP creation.
Hyderabad has been seeing a surge in ground level entrepreneural This camp extends the StartupSaturdays and the Hysea Product forum activities to highlight the products and innovation activity in the unconference format of the BarCamps. | |||||||||
Theme: Technology Entrepreneurship Internet has changed the world. Business models have changed and have rewritten the rules of many games. Entrepreneurship is one of them. Average age of entrepreneurs and average investments have plummeted while startups go global from day one. What's happening on the technology entrepreneurship front that you need to know? Come to Hyderabad BarCamp8. Agenda includes:
| |||||||||
|
August 27, 2008
Easy Way to Set CakePHP Consol path in Linux
finally i waas able to fix this issue after trying many ways, so i would like to share with all you guys
===========================
checking $PATH content
===========================
first check what is there in your $PATH system variable
1) open your console and type
>echo $PATH
this will display the content of $PATH for my system it shows...
iz:/etc# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/var/www/cake/cake/console
- now you can see the defferent path settings of your system.
- look carefully all the path's separated by colon(":") from each other.
- from above you can see that cakePHP console for my system is set.
=======================================
How to set CakePHP 1.2 Cnsole Path in Your system?
=======================================
1) open your console window
2) type " sudo vi /etc/environment " and press enter key
- this will open your environ ment file in VI editor
3) now press "i" so the you get into edit mode and you can start editing this file
4) now add below content to this file(if your file contains some text...add this line blow that)
export $PATH=$PATH:/var/www/cake/cake/console
5) save your file now!!
press "escape key" then type " :w! " this will save your file then " :q " to quit.
6) now gain check your $PATH by typing
echo $PATH
now it should show the console path included
Note :
I aassumed that
1) you are using CakePHP1.2.x
2) your webserver root directory is located at "/var/www/"
3) You have copied/placed cakephp content in "cake" directory
then its path will be "/var/www/cake" this will contain many files and direcotries like app,cake, index.php..... etc
finally console directory is located in" /var/www/cake/cake/" along with other direcotries.
thats it Enjoy
August 24, 2008
Never Install Windows Over Linux
two weeks back i need to run an windows specific application so instead of using virtual machine or some other alternative i decided to install windows on my system (Dual booting).
Long time back i installed Linux on windows(dual boot) there was not problem with that installation, so i thought that that there will be no problem if i install Windows over Linux .
Finally i decided to install win XP pro on by Ubuntu machine ,booted with XP cd and it started normally every thing is going great finally as part of installation my system restarted and I WAS SHOWN BLANK SCREEN ... i waited for few minutes then tried hitting return key ..... TRIED MENY WAYS ,NOTHING WORKED OUT.
Finally i found that windows installation Removed "boot flag" from linux installed drive and damaged the GRUB
finally i tried to resolve this issue in meny ways,i booted my system with ubuntu live cd, then i tried to set boot flag to linux drive using "cfdisk" utility but to my horror i erazed entire disk now my 4 partitioned disk shown as no-partition disk with un-allocated space.
finally i attached my HDD to other system fortunatly ......Luckily...... Two NTFS partitions were still alive which had my important data. I quickly backed it up and repationed and formatted my disk.
then i installed win XP first then UBUNTU...
GUYS(Also gals) be carefull if you are installing windows over Linux...
Have great linux experience...good bye