September 28, 2008

September 24, 2008

Solution for: How To Install cURL with SSL support In XAMPP on Win XP System

Below are the 4 Simple steps:

1. Download cURL for Windows at:  http://curl.haxx.se/latest.cgi?curl=win32-ssl-sspi

2. Extract the cURL files to the c:\xampp\ directory
     (assuming your XAMPP install is under the c:\xampp\ folder)

3. Open your php.ini file located at c:\xampp\apache\bin\php.ini 
    (again assuming your XAMPP install is under the c:\xampp\ folder)

    --  And  search for extension=php_curl.dll.
    --  Remove the ; or # located in front of the line to  make it active.

4. Then restart apache from the XAMPP control panel.


Thats is Friends !   Njoy!!

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]

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 /cake/config/paths.php


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

DreamSpark is simple, it's all about giving students Microsoft professional-level developer and design tools at no charge so you can chase your dreams and create the next big breakthrough in technology - or just get a head start on your career.

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.
Blogged with the Flock Browser

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.


BarCampHyderabad8 is in the eighth in the series of Barcamps being organized in Hyderabad..


Hyderabad has been seeing a surge in ground level entrepreneural
activity. Lot of buzz in student circles. At Hysea and Barcamps, we
have been trying to highlight some of this and create awareness for
startups and products as a serious career option (hard, given that it
is not uncommon to get 6-9 lac offers from most campus placements
today!). But surely the seeds of change are in place.youssouftra@live.fr omsup SENEGAL


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.
Allowing anyone with a stake or investment in the space to speak up and
share perspectives. We are looking at the startups sharing their path,
at the Angels talking about what they would look for, at academia
sharing their perspective on how to create the excitment in this space
and get mroe people to explore starting-up.. and more.




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:
    • 'my story' by successful entrepreneurs
    • product management presentation
    • Presentation on 'what stimulates entrepreneurship?'
    • Discussion on contemporary technologies that affect startups
    • Product demos










2:30pmRegistration
3:00pmBarcamp sessions
7:00pm Wrap up


The specific talks in each session will be finalised at the start of the day (by the planning team).

August 27, 2008

Easy Way to Set CakePHP Consol path in Linux

Hi few weeks back i tried to set cake php console path, i tried meny tutorial from blogs and forums but unable to set the path.

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

Just few months back i started working on Linux and i desided to use only Linux some some time...that was an great idea i installed UBUNTU 8 which is running fine.

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