Friday, November 17. 2006
Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/jmstre/public_html/tools/msn_contact_grab/msn_contact_grab.class.php on line 344
I get that error. I have deal with this in the past and i think its doe because safe_mode is on on the php.ini..
you can fix this by placing a new php.ini in the directory where you run the script from and on that file should say
safe_mode = off
and if it still comes out with errors
you can turn off error reporting on the the top of the page in th script
that will get rid of the error and perhaps will make the script run well.
hope it helps
carlos from seryo.com
I get that error. I have deal with this in the past and i think its doe because safe_mode is on on the php.ini..
you can fix this by placing a new php.ini in the directory where you run the script from and on that file should say
safe_mode = off
and if it still comes out with errors
you can turn off error reporting on the the top of the page in th script
that will get rid of the error and perhaps will make the script run well.
hope it helps
carlos from seryo.com
http://www.php.net/error-reporting
that page should tell you how to deal with error reporting in case you don't know
that page should tell you how to deal with error reporting in case you don't know
Hi carlos
My host has recently changed the server configuration to having safe_mode enabled. It would be nice to be able to turn it off but the method you suggest doesn't work for all hosts. It doesn't work for my host for instance. Whether it will work or not depends on how PHP is running.
I've turned error reporting off for the script - it's not an ideal solution but it does hide the ugly errors.
My host has recently changed the server configuration to having safe_mode enabled. It would be nice to be able to turn it off but the method you suggest doesn't work for all hosts. It doesn't work for my host for instance. Whether it will work or not depends on how PHP is running.
I've turned error reporting off for the script - it's not an ideal solution but it does hide the ugly errors.
I'm finding that this doesn't login to @msn.com accounts. I've only tried it on one account but have not gotten it to retrieve the contacts correctly. Is this a known bug?
Hi Jason
That's not something I've come across before. All my testing has been done using @hotmail.com email addresses.
Is this on your server or the sample form on my server?
That's not something I've come across before. All my testing has been done using @hotmail.com email addresses.
Is this on your server or the sample form on my server?
Could not connect to messenger service
i am having this message all the time and i didn't make any changes in the script ,
var $server = 'messenger.hotmail.com';
var $port = 1863;
var $nexus = 'https://nexus.passport.com/rdr/pprdr.asp';
var $ssh_login = 'login.live.com/login2.srf';
i am having this message all the time and i didn't make any changes in the script ,
var $server = 'messenger.hotmail.com';
var $port = 1863;
var $nexus = 'https://nexus.passport.com/rdr/pprdr.asp';
var $ssh_login = 'login.live.com/login2.srf';
I'm sorry to hear that you are having problems.
It may be that there is some incompatibility between the script and your server. If you point me towards a phpinfo page I may be able to figure out what the problem is.
Alternatively, and certainly a faster solution, you could try the web service or even take a look at the new offering from microsoft live.
It may be that there is some incompatibility between the script and your server. If you point me towards a phpinfo page I may be able to figure out what the problem is.
Alternatively, and certainly a faster solution, you could try the web service or even take a look at the new offering from microsoft live.
Could not connect to messenger service
i am having this message all the time and i didn't make any changes in the script ,
var $server = 'messenger.hotmail.com';
var $port = 1863;
var $nexus = 'https://nexus.passport.com/rdr/pprdr.asp';
var $ssh_login = 'login.live.com/login2.srf';
This is my phpinfo page : www.mymiwo.com/test.php
please help me.
i am having this message all the time and i didn't make any changes in the script ,
var $server = 'messenger.hotmail.com';
var $port = 1863;
var $nexus = 'https://nexus.passport.com/rdr/pprdr.asp';
var $ssh_login = 'login.live.com/login2.srf';
This is my phpinfo page : www.mymiwo.com/test.php
please help me.
Hi Carlos
I've taken a look at your phpinfo file and I can't see any obvious problems. It is still possible that your host restricts which ports you can use sockets on. Or it could be a new problem I haven't come across before.
Is it failing on every attempt or just sometimes?
I suggest you take a look at the new AJAX tool from Microsoft Live - http://torrentialwebdev.com/blog/archives/77-Is-my-MSNM-contacts-script-obsolete.html - or try the webservice - http://torrentialwebdev.com/blog/archives/37-MSN-contact-grab-web-service-is-finally-up.html
I've taken a look at your phpinfo file and I can't see any obvious problems. It is still possible that your host restricts which ports you can use sockets on. Or it could be a new problem I haven't come across before.
Is it failing on every attempt or just sometimes?
I suggest you take a look at the new AJAX tool from Microsoft Live - http://torrentialwebdev.com/blog/archives/77-Is-my-MSNM-contacts-script-obsolete.html - or try the webservice - http://torrentialwebdev.com/blog/archives/37-MSN-contact-grab-web-service-is-finally-up.html
i think as long as you have curl enable it should work.
the script should have some old variables that doesn't allow it to work properly.
mine works for msn/hotmail.
I think on hotmail they haven't change something , bucause before it would only work with hotmail. but now works with msn as well
the script should have some old variables that doesn't allow it to work properly.
mine works for msn/hotmail.
I think on hotmail they haven't change something , bucause before it would only work with hotmail. but now works with msn as well
It would be nice if this was true but sadly actually fetching the contact list is handled via sockets. Non-standard sockets as well which is why some people just can't use this script (although they can use the webservice).
This scripts only fetches the contact list from msn messenger (now Windows Live Messenger or something like that) not hotmail.
This scripts only fetches the contact list from msn messenger (now Windows Live Messenger or something like that) not hotmail.
may be i can donate mine so you can make it available to the public, mine works for msn, and hotmail. both
really easy. i would just have to format it well.
see it working at
http://seryo.com/import/hotmail.php
no info is been recorded to the server.
really easy. i would just have to format it well.
see it working at
http://seryo.com/import/hotmail.php
no info is been recorded to the server.
That would be great carlos.
I would certainly be happy to host if you are willing to let me do that.
I would certainly be happy to host if you are willing to let me do that.
Hi, i try what i think is the las version of your script and works fine with accounts that still use hotmail to read there email, but with account that use live i can't retrieve te contact list, but when i use your demo here all works fine, so there is any other version updated of the escript, or is a problem with my server? i run the script on a Windows 2003 server on IIS with php 5.x can you please give me a hand with this.
Thanks.
Thanks.
hi Ritchie
This class doesn't get your contacts from hotmail or Windows Live Mail. It only gets contacts from MSN Messenger / Windows Live Messenger. Do you have a messenger account attached to either of the addresses you've been using for testing?
This class doesn't get your contacts from hotmail or Windows Live Mail. It only gets contacts from MSN Messenger / Windows Live Messenger. Do you have a messenger account attached to either of the addresses you've been using for testing?
yes, i have, but only works with accounts using the msn messenger, not live messenger, and in the test page here works fine, dont know why, thanks for your reply
That's puzzling. The very latest protocols used in Windows Live Messenger aren't compatible with the script but I see no reason why it wouldn't just fall back to a compatible protocol version. Clearly MSN is still supporting these protocols.
Similarly if your server setup allows you to fetch some contacts I can't see why you would have problems with others.
Similarly if your server setup allows you to fetch some contacts I can't see why you would have problems with others.
are you sure you have the last version of the script in the download link? tha same you use in the example page?? may you can send it to me via email, to compare.
Hi Ritchie,
I've downloaded the script from this thread and compared it with the version being used in the demo. It is definitely the same file.
I've downloaded the script from this thread and compared it with the version being used in the demo. It is definitely the same file.
ok, so you have any idea what could be wrong? everything works fine with hotmail contacts but no with live contacts, the only diference is I runnig this under IIS (php 5.x and curl) also i'm sure I have no blocked ports, any clue?? may be something i can try to know the cause, some debug or something?
If you open up the class file in a text editor you'll see near the top there is a variable called debug set to zero. If you change that to 1 then everything will be printed to screen. All messages sent to or received from the MSN servers.
If you want any help interpreting the debug messages feel free to forward them to jonathan@torrentialwebdev.com and I'll see what I can make of them.
If you want any help interpreting the debug messages feel free to forward them to jonathan@torrentialwebdev.com and I'll see what I can make of them.
ok, thanks a lot, I chek and i send it to you
Hi,
Iam keep on getting the following error when i try msn contacts grabber either from call and webservice both,
"Could not connect to messenger service"
Please help me out!!!!
Iam keep on getting the following error when i try msn contacts grabber either from call and webservice both,
"Could not connect to messenger service"
Please help me out!!!!
Apologies for the delay in getting back to you.
When using the class to connect directly that error might be triggered if you don't have sockets enabled.
As for the web service presumably you're getting nothing rather than an error. I'm not sure what the problem could be. Does the demo on this site work for you?
When using the class to connect directly that error might be triggered if you don't have sockets enabled.
As for the web service presumably you're getting nothing rather than an error. I'm not sure what the problem could be. Does the demo on this site work for you?
my msn needs to be updated.i had tried doing it without no results.please help
Hi Tamar
I'm not at all sure what you mean by update msn. You'll need to provide some more details if I'm to help you.
I'm not at all sure what you mean by update msn. You'll need to provide some more details if I'm to help you.
Could not connect to messenger service
I am getting this error
Please suggest me what should i do to run this code
Variables Are :
var $server = 'messenger.hotmail.com';
var $port = 1863;
var $nexus = 'https://nexus.passport.com/rdr/pprdr.asp';
var $ssh_login = 'login.live.com/login2.srf';
var $debug = 0;
I am getting this error
Please suggest me what should i do to run this code
Variables Are :
var $server = 'messenger.hotmail.com';
var $port = 1863;
var $nexus = 'https://nexus.passport.com/rdr/pprdr.asp';
var $ssh_login = 'login.live.com/login2.srf';
var $debug = 0;
Hi Chiks,
The first thing to do is change debug to 1 so we can see what's going on under the hood.
Having said that there is now a better way of doing this. Please take a look at this post:
http://torrentialwebdev.com/blog/archives/155-Windows-Live-Contacts-coming-to-PEAR.html
The first thing to do is change debug to 1 so we can see what's going on under the hood.
Having said that there is now a better way of doing this. Please take a look at this post:
http://torrentialwebdev.com/blog/archives/155-Windows-Live-Contacts-coming-to-PEAR.html
Could not connect to messenger service
I am getting this error
Please suggest me what should i do to run this code
Variables Are :
var $server = 'messenger.hotmail.com';
var $port = 1863;
var $nexus = 'https://nexus.passport.com/rdr/pprdr.asp';
var $ssh_login = 'login.live.com/login2.srf';
http://www.chayamukhi.com/chayamukhiinfo.php
I am getting this error
Please suggest me what should i do to run this code
Variables Are :
var $server = 'messenger.hotmail.com';
var $port = 1863;
var $nexus = 'https://nexus.passport.com/rdr/pprdr.asp';
var $ssh_login = 'login.live.com/login2.srf';
http://www.chayamukhi.com/chayamukhiinfo.php
I think everything I wrote in reply to Chiks above also applies to you.
http://torrentialwebdev.com/blog/archives/59-Update-to-msn-messenger-contact-grab-class.html#c683
Let me know how it goes.
If you're getting nothing then it may be that your firewall is blocking connections made on port 1863.
http://torrentialwebdev.com/blog/archives/59-Update-to-msn-messenger-contact-grab-class.html#c683
Let me know how it goes.
If you're getting nothing then it may be that your firewall is blocking connections made on port 1863.
