I tried to install Contact_Vcard_Build on my site hosted by DreamHost, and received the following error message:

WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
Cannot install, php_dir for channel "pear.php.net" is not writeable by the current user

How do I resolve this?

Thanks,
Erik

Comments

walkah’s picture

You can always download the tar.gz from http://pear.php.net/package/Contact_Vcard_Build and untar them in your include path.

sanduhrs’s picture

Status: Active » Fixed

Appears to be fixed, please reopen if needed.

drupalgirl’s picture

Title: Cannot install Contact_Vcard_Build.php on DreamHost » Including Contact_Vcard_Build.php
Version: 4.7.x-1.x-dev » 5.x-1.x-dev
Component: Code » Documentation
Status: Fixed » Postponed (maintainer needs more info)

Error: The PEAR package Contact_Vcard_Build (required by vcard.module) has not been installed properly, please read INSTALL.txt.

There are 2 files in the tar folder: test.php and Contact_Vcard_Build.php. Would I need to edit the module file to include this includes/Contact_Vcard_Build.php file? What are the actual steps to achieving this if no access to PEAR on server build?

Thanks
Drupalgirl

sanduhrs’s picture

Copy the file Contact_Vcard_Build.php to your include_path.
You may check the current include_path settings with [1].

If you want to install a local copy of pear, you may follow the instructions in Installation of a local PEAR copy on a shared host [2]. That gives you a web based graphical installer.

[1] http://de3.php.net/php_info
[2] http://pear.php.net/manual/en/installation.shared.php

sanduhrs’s picture

Title: Including Contact_Vcard_Build.php » Howto install PEAR and Contact_Vcard_Build package
Status: Postponed (maintainer needs more info) » Fixed

Please reopen if needed.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

drupalgirl’s picture

Sorry for not responding. I just put it in my vcard folder. Thanks

nirenj’s picture

Component: Documentation » Code
Priority: Normal » Critical
Status: Closed (fixed) » Active

Hi, i have the same error messages:

I downloaded the file named Contact_Vcard_Build-1.1.1.tar from http://pear.php.net/package/Contact_Vcard_Build.

After i unzipped the file i got 1 single file named Contact_Vcard_Build-1.1.1 (Dont have any extension for this file. I used WinRar to unzip it.)

Now how do I install this to make my vCard module work??

Please advice.

Thanks in advance.

sanduhrs’s picture

Rename to Contact_Vcard_Build.php and move it to the vcard folder.

nirenj’s picture

Thanks, but after that whats the next step.

When I go to configure vCard i get the following error.:

package.xml100644 765 0 1754 10246105423 6311 Contact_Vcard_Build Build (create) and fetch vCard 2.1 and 3.0 text blocks. Allows you to programmatically create a vCard, version 2.1 or 3.0, and fetch the vCard text. pmjones Paul M. Jones pjones@ciaweb.net lead 1.1.1 2005-05-28 PHP License stable * Fixed bug 2660 "escape() doesn't escape colons" Contact_Vcard_Build-1.1.1/Contact_Vcard_Build.php100755 765 765 172605 10246102473 15156

What should I do now.

Thanks a lot.

sanduhrs’s picture

Component: Code » Miscellaneous
Priority: Critical » Normal

It seems your unpacked version is somehow corrupted.
Please try again and
- download the package [1]
- Then untar it [2]
- copy the file Contact_Vcard_Build.php to your vcard folder

[1] http://pear.php.net/package/Contact_Vcard_Build/download
[2] http://drupal.org/node/8592

vandit09’s picture

I copied the file Contact_Vcard_build.php to the vcard /modules/vcard folder but, nothing still shows up under the vcard settings... but no error messages. How do you properly install this module?

sanduhrs’s picture

Type pear install Contact_Vcard_Build on the command line.
For more information see PEAR documentation [1].

[1] http://pear.php.net/distributions/manual/pear_manual_en.html.gz#installa...

vandit09’s picture

i've installed pear and contact_vcard_build using the webfrontend installer. Now if i go to config vcard... i still get nothing except for the notice:

"This section is only enabled if the "profiles" module is enabled. When enabled it will provide a dropdown selection box for each defined profile item of type textfield, textarea, or url."

I'm lost here, both profile and vcard modules are activated. Did I miss a step in installing this properly? Btw, im on a shared hosting through dreamhost.

sanduhrs’s picture

So, did you add some profile fields on ?q=admin/user/profile ?

vandit09’s picture

Thanks that worked! Only problem is that it doesn't integrate well with civicrm's contact info.

sanduhrs’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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