We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [civicrm-buildkit]

Questions about CiviCRM's BuildKit development toolset.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

Can I use localhost:7979 for amp test and one or more different builds created with buildkit?

After running amp config and amp test, I successfully created a drupal-clean build using buildkit and civibuild on localhost:7979, and added a bunch of extensions, etc. I turned off my Ubuntu 19.04 ...
3
votes
1answer
24 views

Is it 'better' to use mysql_dsn rather than mysql_ram_disk with buildkit and amp config?

I've successfully set up a drupal-clean test build on my Ubuntu 19.04 machine using buildkit, amp config and amp test and chose mysql_ram_disk rather than mysql_dsn. My intent was to have a semi-...
2
votes
1answer
26 views

mysql_dsn error on amp config - why am I getting “access denied”?

I'm trying to install buildkit on my Ubuntu 19.04 laptop, per the instructions at https://docs.civicrm.org/dev/en/latest/tools/buildkit/#config I've used curl to run the script, successfully - ...
2
votes
1answer
32 views

Redirect to dashboard instead of redirect to add form

I've installed wordpress Version 4.9.8 with civiCRM. Now i have create one new menu name is "userdata" But when i click on menu "Userdata" it will redirect to the dashboard. Instead of dashboard it ...
2
votes
2answers
50 views

How to install civix and build an extension in drupal

Please I don't know how to install civix and build an extension using civicrm. I already installed drupal and civicrm module. but I have no clue how to write an extension or how to run anything here. ...
1
vote
1answer
53 views

how to setup civicrm on windows 8

Please could anybody direct me on how to setup civiCRM on my windows OS and also code with it. I am totally new to this type of platform and with no clue on how to go about anything, however, I have a ...
1
vote
0answers
43 views

How to install civiCRM buidkit in WAMP server localhost with Drupal 7

I am new to civiCRM. I would like to install CiviCRM buildkit on my local environment. I am using WAMP server. I have followed this link: https://docs.civicrm.org/dev/en/latest/tools/buildkit/ but ...
0
votes
1answer
95 views

CiviCRM BuildKit install fails on Ubuntu 18.04.1 LTS

Running the BuildKit installer script on Ubuntu 18.04.1 LTS doesn't work - it fails trying to resolve the conflict between the openssl libraries used by Ubuntu's NodeJS/NPM packages and the libssl-dev ...
2
votes
1answer
95 views

Install CiviCRM Buildkit on windows xampp

how to install buildkit cvcrm on windows? I've set up xampp, drupal 7.x and civicrm 5.2.x i just have no clue what to do with the buildkit zip file which I've downloaded from here https://github.com/...
1
vote
1answer
65 views

Buildkit won't install on Ubuntu

I'm trying to install the buildkit tools on a Ubuntu based virtual machine install of a LAMP pre-made vm. I've tried as root (bad form) and I tried as www-data, which is the same user as apache and ...
3
votes
1answer
16 views

Add language files in civibuild

Checking the civibuild create parameters I do not see an option to include the translation/language files? That would be really helpfull, I now add them manually after a civibuild.
3
votes
0answers
15 views

Automating civilint before a commit

Is there a smart way to automate calling civilint before committing on a repository specific basis? i.e. just call it on civicrm (core and extension) repos and not on other repos? Just tweaking and ...
3
votes
1answer
59 views

Re-install Buildkit on Ubuntu for Windows

I have just installed BuildKit on Ubuntu for Windows as root by mistake. Is there a way I can uninstall and start again? Can I just delete the buildkit folder? Also, I don't need to install Apache, ...
1
vote
2answers
28 views

Buildkit and php binary is called php56

I have buildkit installed on my computer however the php command is called php56. The civibuildkit command fails because it is looking for a command called php. Is there an easy way I could change ...
1
vote
0answers
48 views

How far is the CiviSocial integration under implementation?

I am able to see some talks on CiviSocial. https://wiki.civicrm.org/confluence/display/CRM/Social+Media+Integration How far is it implemented? How can I integrate my organization's Social Media ...
1
vote
1answer
19 views

How can I make civibuild use “Seven” as the default Drupal theme instead of “Bartik”?

Every time I run civibuild create or civibuild reinstall to create a local Drupal/CiviCRM development site, I find myself running drush vset theme_default seven afterwards so that I get the "Seven" ...
0
votes
1answer
25 views

hey guys, i need some help to add some features to civicrm locally using phpstorm?

the question is how to edit something in contact page and how to debug my code. is there anyway to debug it without install it again to DRUPAL and test my code if its work or not.
1
vote
0answers
38 views

Having issues downloading development tools using civi-download-tools

I am new to CiviCRM and about to start extension development for CiviCRM ... I was following the instructions on the site to setup a development environment for CiviCRM extensions ... while attempting ...
1
vote
1answer
355 views

NodeJS error on latest CiviBuild

Encountering the following npm related issue on using the latest buildkit. Any suggestions? NPM is already at latest. If someone has a working buildkit they could tell me which version of npm they're ...
2
votes
1answer
25 views

Where do I find Apache error logs for sites that I installed with buildkit?

I installed a site with buildkit. Now I'm doing some dev work which is producing WSOD / 500 / "Internal Server Error" errors, but I can't find any logs about these errors. I've looked in /var/log/...
1
vote
1answer
17 views

Why do I have GenCodeChecksum uncommitted changes after a fresh civibuild create?

I just created a new site with buildkit: $ civibuild create foo --url http://foo --type drupal-demo Then I went into CiviCRM and looked at the git repo $ cd ~/buildkit/build/foo/sites/all/modules/...
2
votes
3answers
144 views

How do I upgrade CiviCRM on a local site that I installed with buildkit civibuild?

A while back I did $ civibuild create demo.local --type drupal-demo --url http://demo.local and got a working local site running CiviCRM 4.7.9. Great. Now I'd like to upgrade this site to 4.7.17. ...
1
vote
1answer
26 views

Is there a copy of phpunit 4 documentation somewhere?

The phpunit no longer even lists the 4.8 documentation on its website although that seems to be the version buildkit is on. :-( are there docs for 4.8 somewhere?
1
vote
1answer
33 views

class Civi not found

I'm trying to use the Civi class to debug an extension with build kit, but after I add this line: `Civi::log()->info('Hello, log!');` to my class I get: ampuser@58e3a823b9ee:/opt/buildkit/...
0
votes
1answer
57 views

Error when trying to install buildkit

I am trying to install buildkit and re-educate myself with some of the more up to date CiviCRM development practises :-) However, I get an error when I run civicrm_download_tools. I am running Ubuntu ...
1
vote
0answers
51 views

Does CiviCRM have a recommended setting for zend.multibyte?

When running CiviCRM test suites, I see PHP Warning: declare(encoding=...) ignored because Zend multibyte feature is turned off by settings in /path/to/sites/all/modules/civicrm/vendor/...
2
votes
2answers
115 views

Problems with first test site using Civicrm buildkit

hope there is someone who can help? It's taken me a couple of days, but I've finally got the buildkit successfully installed, however when I try to create my first instance I'm getting permissions ...
2
votes
2answers
83 views

Buildkit Site fails to load due to PHP ugrade from 5 to 7

After Upgrading from php 5.6 to php 7, when i try to access the sites created using buildkit, I am unable to access it. After typing Civibuild show dmaster I get the following ERROR: Failed ...
4
votes
2answers
102 views

civix generate:module org.civicrm.angularex error

lteI have installed a civicrm buildkit with vagrantbox and vagrant up correctly on windows, ubuntu server run and at d7-master.dev I am listening drupal civicrm all done ok. as I try to generate ...
1
vote
0answers
37 views

civibuild failed to create symbolic link 'bower'

i'm trying to configure a dev environment with civicrm buildkit. i have already follow the steps described here: https://github.com/civicrm/civicrm-buildkit but afert use of amp config and amp test (...
7
votes
1answer
143 views

What's the optimal way to install and track CiviCRM with Drupal and git?

First, I know compatibility with Drupal 8 is not full yet. There are still open bugs, a bunch of open PRs and an apparent lack of code review. But let's ignore that for a moment and consider civi d8-...
2
votes
7answers
126 views

Do I need to know Linux to administer CiviCRM?

Do I need to know Linux to administer CiviCRM? This is not a rhetorical question :) . And it's a question I wish I had asked three and a half years ago. My answer now, to my self of three and half a ...
1
vote
1answer
38 views

Unable to download buildkit on ubuntu

On a fresh Ubuntu system when running the command curl -Ls https://civicrm.org/get-buildkit.sh | bash -s -- --full --dir ~/buildkit as requested on the document on the repository, i get the ...
1
vote
2answers
87 views

Civibuild Install - Unable to connect to github.com

I got the following error while running civibuild install after few stuff got installed. . . . bower resolved https://github.com/jquery/jquery-dist.git#2.2.3 bower resolved https://github....
1
vote
1answer
90 views

Buildkit - amp test failed - /root/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/root/' is executable'

I am trying to setup buildkit in my new Debian machine. I installed all the required packaged, ran civi-download-tools and amp config with correct credentials and included Include /root/.amp/apache.d/*...
4
votes
1answer
243 views

Using buildkit on MAMP but hitting “Fatal error: Call to a member function getDriver() on null”

I am trying to install buildkit on a Mac with MAMP, but am hitting this wall: Fatal error: Call to a member function getDriver() on null in phar:///Users/user/buildkit/bin/amp/src/Amp/Database/...
6
votes
1answer
88 views

Is civicrm-buildkit safe to use in production?

Background: I am recreating our CiviCRM installation on top of Drupal inside a Docker container. After a significant amount of research, I have decided to incorporate the best parts of civicrm-docker ...
1
vote
3answers
138 views

Buildkit - amp test recieved incorrect response while connecting to a test application

I had successfully ran the buildkit till got this error while running amp test. It created the test application, created data directory, set up few ports Create data directory:/home/***/.amp/canary/...
1
vote
1answer
50 views

GSoC 2016: Social Media Integration

I'm a third year student studying B Tech in Computer Science and Engineering and Social Media Integration project caught my interest. I have an experience in Social Login integration on a PHP website. ...
0
votes
1answer
136 views

Buildkit - amp test fails - incorrect response received

The setup ran smoothly until amp test which says: $ amp test Expect response: "response-code-SoYwxYyBvx" Received incorrect response: "<?php // This is a simple script which outputs "OK" if it // ...
0
votes
1answer
40 views

Building an extention in civicrm. i try fetch campaign base on contact nothing displays while i have records

function contactcampaign_civicrm_dashboard( $contactID, &$contentPlacement ) { // REPLACE Activity Listing with custom content $contentPlacement = 3; //(int) CRM_Core_DAO::singleValueQuery('SELECT ...
4
votes
1answer
144 views

Install CiviCRM without installing the database. And install the database without installing CiviCRM

What madness is this? Sorry for the daft title. Let me explain. I'm trying to create a docker image for CiviCRM which separates out the web server, database server, and program data itself. In theory,...
1
vote
1answer
168 views

Buildkit Issue - permissions?

I've encountered a problem (only recently) with buildkit, where when it comes time for me to run: ~/buildkit/bin/civibuild install "civi46" --url "http://civi46" --admin-pass "password" --web-root "/...
1
vote
3answers
123 views

What's the quickest way to set up a developer environment on windows?

Wondering how to set up a dev environment with buildkit on Windows with the least amount of pain. Is there a shortcut like a prepackaged virtual machine image?
3
votes
1answer
134 views

Running CiviCRM unit tests with an extension installed

(Please note - I am not asking how to create unit tests for an extension.) If I want to see how an extension - or combination of extensions - impacts CiviCRM's functionality, I think it'd be really ...
1
vote
1answer
25 views

How to modify/test Upgrade/Incremental/sql..sql script?

I am following instructions here: https://github.com/civicrm/civicrm-buildkit/blob/master/doc/daily-coding.md#upgrade-tests to add and test a schema update - the upgrade is to add 2 columns to the ...
1
vote
1answer
15 views

Recent 'git' seems to be missing CRM/Event/DAO folder

First noticed on a Virtual Ubuntu system, now on Windows 7 - I used the 4.6 branch (git checkout upstream/4.6) and no folder was created for CRM/Event/DAO (and no Event.php, Participant.php, ...
3
votes
1answer
91 views

Display menu and pages of a newly created extension

I am working a new extension that i created throough civix. i have added some pages and some forms, how do i display the menu on the home page of the extension and navigate to the different pages and ...
4
votes
4answers
2k views

Buildkit — Warning: file_get_contents(http://localhost:7979/index.php): failed

The setup for buildkit runs smoothly, until the 'amp test' command where it fails no matter what I do. I have tried over and over again for 6 hours. I'm new to this so maybe I'm making a basic ...
3
votes
1answer
26 views

Can distmaker be run off a specific branch

I was using distmaker.sh (https://github.com/civicrm/civicrm-core/blob/master/distmaker/distmaker.sh) to generate tarballs for testing. I had my local branches all set to 4.6 (core, drupal, joomla ...