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...

CommentFileSizeAuthor
#10 index.php5_.zip8.44 KBvolocuga

Comments

hadsie’s picture

Which provider are you trying this with?

bensemmel’s picture

Trying gmail, but that was working before (6-x.1-x.dev)

hadsie’s picture

Can 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.

bensemmel’s picture

Status: Active » Fixed

Well, 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

felixhe’s picture

Thanks 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?

bensemmel’s picture

Hi 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

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

volocuga’s picture

Reopen 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?

hadsie’s picture

@volocuga

there should be a postinstall_results.res file. Can you attach it here? Also, do you have the php sqlite libraries installed?

volocuga’s picture

StatusFileSize
new8.44 KB

hadsie:

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!

hadsie’s picture

did you run the postinstall.php in openinviter?

volocuga’s picture

Sorry 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.