Testing actual 6.x.-2.x-dev
On trying to import contacts on 'find friends' and 'invite' after submitting username and password:
Fatal error: Call to undefined function sqlite_open() in .../sites/all/modules/dcl_importer/importers/openinviter_engine/OpenInviter/openinviter.php on line 99
Installed everything as described in readme, executed postinstall.php and deleted it, working with actual openinviter package
Thanks for your work...
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | index.php5_.zip | 8.44 KB | volocuga |
Comments
Comment #1
hadsie commentedWhich provider are you trying this with?
Comment #2
bensemmel commentedTrying gmail, but that was working before (6-x.1-x.dev)
Comment #3
hadsie commentedCan you attach the postinstall_results.res file? Also, do you have the php-sqlite libraries installed on your server? OpenInviter doesn't list that as a requirement, but it's possible that it is.
Comment #4
bensemmel commentedWell, I can see it shouldn't have something todo with the dcl-importer module as I got the same error running the example.php from the openinviter package on my server...
So I downloaded the postinstall.php and executed it again...
After reading the results more exactly, I figured out, that the permissions of the config.php wasn't set to "write"
After changing these permissions and running the postinstall.php was successful and now the contact import works...
Thank you for your support.
Ben
Comment #5
felixhe commentedThanks bensemmel, I have the same problem, and solve by useing your method.
But I can import Hotmail only, Gmail and Yahoo don't work and show erro:
* Unable to get contacts.
* warning: curl_close(): 202 is not a valid cURL handle resource in /Applications/MAMP/htdocs/ucolor/sites/all/modules/dcl_importer/importers/openinviter_engine/OpenInviter/openinviter_base.php on line 483.
* warning: Invalid argument supplied for foreach() in /Applications/MAMP/htdocs/ucolor/sites/all/modules/dcl_importer/importers/openinviter_engine/openinviter_engine.module on line 191.
How can I fix it?
Comment #6
bensemmel commentedHi felixhe,
for me, gmail works, haven't testet with yahoo.
Concerning your errors I can't help you as I'm not familiar with the openinviter code nor the module's code. But I can give you the advice to open a new issue for that so people know waht you are seacrhing for.
Hope you get it done
Regards,
Ben
Comment #8
volocuga commentedReopen this issue.
Have the same error trying to get contacts:
Fatal error: Call to undefined function sqlite_open() in Z:\home\localhost\www\testsite\sites\all\modules\dcl_importer\importers\openinviter_engine\OpenInviter\openinviter.php on line 107
Can't use bensemmel's solution- running my test site on localhost under Windows with installed apache. There is not CHMOD
Am I right?
Comment #9
hadsie commented@volocuga
there should be a postinstall_results.res file. Can you attach it here? Also, do you have the php sqlite libraries installed?
Comment #10
volocuga commentedhadsie:
Thanks for quick replay!
Can't even find the "postinstall_results.res" file on my PC.
Since I am not familiar with php just attached phpinfo to the post.
Could you look at this?
Thank you!
Comment #11
hadsie commenteddid you run the postinstall.php in openinviter?
Comment #12
volocuga commentedSorry for my stupidity :(
After postinstall.php was ran it works as expected. Some important plugins (like Facebook,vkontakte...) were not installed and marked as "NOT OK",but I think something wrong with the OpenInviter library.
Finally,I can't get contacts from gmail using proper login/password.