Sunday, December 2. 2007
Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Hello, great thanks for your quikly work 
i have a little problem : after click on "send emails" i have this error : "Unexpected number of database entries for this link identifier"
What could be the reason ?
(scuse for my english ^^)
i have a little problem : after click on "send emails" i have this error : "Unexpected number of database entries for this link identifier"
What could be the reason ?
(scuse for my english ^^)
There could be two potential problems (neither of which I covered very well in the original post).
Firstly, when you first go to the get_login_details page you need to add ?link=1 to the end of the url. This allows you to have multiple messages which can be sent.
Secondly you need to add some content to the database for each message you want to send.
Firstly, when you first go to the get_login_details page you need to add ?link=1 to the end of the url. This allows you to have multiple messages which can be sent.
Secondly you need to add some content to the database for each message you want to send.
Hi Jonathan,
First off, thanks to you and to gmail-* for creating these wonderful scripts and making it easier on developers!
My question is this: I've tried the older version and this newer version and both give me the following error:
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\sazze\cgrab\choose_contacts.php on line 103
I've been trying this out on my local windows xampp server, but I've tried it on a live unix webserver as well...I get the same error. It does seem to be connecting to Gmail correctly, since $gmailer->connect() parses as true. However, it seems as though it isn't returning anything for $returned_emails? What am I doing wrong? Please help!
First off, thanks to you and to gmail-* for creating these wonderful scripts and making it easier on developers!
My question is this: I've tried the older version and this newer version and both give me the following error:
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\sazze\cgrab\choose_contacts.php on line 103
I've been trying this out on my local windows xampp server, but I've tried it on a live unix webserver as well...I get the same error. It does seem to be connecting to Gmail correctly, since $gmailer->connect() parses as true. However, it seems as though it isn't returning anything for $returned_emails? What am I doing wrong? Please help!
Hello Calvin
There have been some reports on another post that people are having trouble getting the contacts from gmail.
Unfortunately it is working perfectly for me so it is difficult to diagnose the problem.
The only relevant post on the libgmailer forums was this one - http://gmail.sayni.net/forum/viewtopic.php?t=310
There have been some reports on another post that people are having trouble getting the contacts from gmail.
Unfortunately it is working perfectly for me so it is difficult to diagnose the problem.
The only relevant post on the libgmailer forums was this one - http://gmail.sayni.net/forum/viewtopic.php?t=310
Hi Jonathan (and everyone),
After some time I've figured it out. It has to do with the cookie that Gmail sets in your browser when you first connect to the Gmail service. If you input an incorrect login/password it will be saved in the cookie and for some reason, won't be updated even when you type in the correct details. This is why I kept getting the above error. The solution to this is to turn off the cookies by using: $gmailer->connectNoCookie() rather than $gmailer->connect(). Hope this helps someone!
After some time I've figured it out. It has to do with the cookie that Gmail sets in your browser when you first connect to the Gmail service. If you input an incorrect login/password it will be saved in the cookie and for some reason, won't be updated even when you type in the correct details. This is why I kept getting the above error. The solution to this is to turn off the cookies by using: $gmailer->connectNoCookie() rather than $gmailer->connect(). Hope this helps someone!
Thanks for posting that update Calvin. I'm sure it will be useful.
