Howto install PEAR and Contact_Vcard_Build package

ebrittwebb - February 20, 2007 - 21:31
Project:vCard
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

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

#1

walkah - February 20, 2007 - 23:19

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

#2

sanduhrs - January 15, 2008 - 07:39
Status:active» fixed

Appears to be fixed, please reopen if needed.

#3

drupalgirl - January 21, 2008 - 01:18
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

#4

sanduhrs - January 21, 2008 - 19:06

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

#5

sanduhrs - January 26, 2008 - 08:35
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.

#6

Anonymous (not verified) - February 9, 2008 - 08:42
Status:fixed» closed

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

#7

drupalgirl - March 9, 2008 - 19:52

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

#8

nirenj - May 26, 2008 - 04:59
Component:Documentation» Code
Priority:normal» critical
Status:closed» 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.

#9

sanduhrs - May 26, 2008 - 05:14

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

#10

nirenj - May 26, 2008 - 06:10

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.

#11

sanduhrs - May 26, 2008 - 07:23
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

#12

vandit09 - June 20, 2008 - 08:55

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?

#13

sanduhrs - June 20, 2008 - 09:41

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

#14

vandit09 - June 20, 2008 - 11:23

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.

#15

sanduhrs - June 20, 2008 - 11:40

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

#16

vandit09 - June 20, 2008 - 21:58

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

#17

sanduhrs - July 20, 2008 - 07:18
Status:active» fixed

#18

Anonymous (not verified) - August 3, 2008 - 07:22
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.