PHP 5.6
Varbase 8.x-4.10
Drupal 8.x

Error message for "Assemble extra components" 1:
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /cms/core/install.php?rewrite=ok&profile=varbase&langcode=de&id=4&op=do_nojs&op=do
StatusText: Internal Server Error
ResponseText:

The second error message appears immediately afterwards:
An error has occurred during importing Google Analytics fields.

For example, if I select all European languages in the "Multilingual configuration", the system needs about 100 hours to complete the translations.

When the installation is complete, the message appears:
The page was not found. The requested page could not be found.

The landing page is not displayed.

After I authorize the page at Google Analytics I get the error message:
Charting libraries for charts_highcharts might not be installed. Run 'composer install' for charts_highcharts sub-module.

But no instruction as to what exactly should be done. In which directory must the charts_highcharts.js file be copied?

It goes on and on. That way I don't save time or nerves. Just experimenting with this distribution took me 3 days. I don't need that long to install and configure the modules individually.

CommentFileSizeAuthor
#2 verbase8x410InstallError.png40.88 KBOdawayi

Comments

helpfull created an issue. See original summary.

Odawayi’s picture

StatusFileSize
new40.88 KB

I have earlier reported this issue. It's occurred every time I try installing, so I have not been able to install.

Find below an image attached....

Guess for now I should opt for just installing the modules manually?

NB:
I used the Bitnami WAMP stack: wampstack-7.0.23-0

itamair’s picture

Quote. No way to install for me too ... at the same exact step "Assemble extra components"

rajab natshah’s picture

Title: Intallation Problems » Bitnami WAMP stack: Intallation Problems
Issue tags: +Bitnami, +WAMP
mohammed j. razem’s picture

if I select all European languages

Installing too many languages is definitely not recommended at install time. Adding languages means that Drupal will pull the translation files from localize.drupal.org which will take (waaay) too much time.

Our recommendation is to install 1 or 2 language(s) only, and then add the other languages after install.

@RajabNatshah, I think we could have a notice/warning message to alert users not to add more than 2 languages at install time.

Charting libraries for charts_highcharts might not be installed

This is a problem with Drupal.org packager. If you install with Composer things will be fine.

@RajabNatshah, is there a way to make charts_highcharts available on d.o packager?

streamel’s picture

Same error. I choose only 1 language.
The problem does not depend on the installation method. Tried both composer and archive

rajab natshah’s picture

  • Troubleshooting the issue on Windows and Bitnami WAMP stack.
  • Researching options for charts_highcharts
rajab natshah’s picture

Varbase Application Installation and Setup Requirements

https://docs.varbase.vardot.com/getting-started/requirements.html

PHP 7.1 is recommended!

php.ini

# php.ini
max_execution_time = 300
max_input_time = 180
max_input_vars = 10000
memory_limit = 512M
error_reporting = E_ALL
post_max_size = 64M
upload_max_filesize = 32M
max_file_uploads = 40

About max_execution_time = 300 in the normal use of Drupal
If you are installing Varbase with many number of languages the max execution time should be more for sure
Some languages do have a very big translation set of data
https://localize.drupal.org/translate/drupal8

For Example the token module alone https://localize.drupal.org/translate/languages/fr/translate?page=48&pro...

In Development we could use:

# Development PHP Configurations.

max_execution_time = 1200
max_input_time = 180
max_input_vars = 10000
memory_limit = 1000M
#or 2000M if you have more memory in your development machine

error_reporting = E_ALL
post_max_size = 64M
upload_max_filesize = 32M
max_file_uploads = 40
sendmail_path = /bin/true

# Development MySQL Configurations.

mysql -e 'SET GLOBAL wait_timeout = 5400;'
mysql -e "SHOW VARIABLES LIKE 'wait_timeout'"

In Production

# Production php.ini

max_execution_time = 60
max_input_time = 180
max_input_vars = 10000
memory_limit = 512M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
post_max_size = 64M
upload_max_filesize = 32M
max_file_uploads = 40
expose_php = Off

# Production opcache.ini

opcache.enable=1
opcache.enable_cli=0
opcache.memory_consumption=512
opcache.max_accelerated_files=10000
opcache.revalidate_freq=60

You could change all this settings After the install or when you push user site to production.

rajab natshah’s picture

Assigned: helpfull » rajab natshah
JayBeeDutch’s picture

I also got the AJAX Http error since about a month or 2. There is a simple workaround!
Install the Varbase site using English as default, with extra language i.e. dutch. After install using settings change the default language from English to Dutch (or German or French or whatever). Worked for me, no problems installing the Varbase bistro.
It doesn't solve or names the problem. But it's all about results, right?

rajab natshah’s picture

Assigned: rajab natshah » Unassigned
Status: Needs work » Closed (outdated)
agenciaq1’s picture

Hi,

I'm trying to install Varbase 8.x-8.7 on MAMP (PHP 7.4.9), XAMP (php 7.4.1) and Acquia Dev (php 7.3.15) and I have more than double the configuration recommended for Dev systems on PHP.INI, but I'm still getting the AJAX error.

Can you please help me on this?
Configuration

  • max_execution_time 2400
  • max_file_uploads 80
  • max_input_nesting_level 64
  • max_input_time 360
  • max_input_vars 20000
  • memory_limit 2048M
  • error_reporting = E_ALL
  • post_max_size 128M
  • upload_max_filesize 128M
  • max_file_uploads 80
  • max_input_time 360

Error:
An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /varbase/core/install.php?rewrite=ok&profile=varbase&langcode=en&id=3&op=do_nojs&op=do
StatusText: OK
ResponseText: Drupal\Core\File\Exception\NotRegularDirectoryException: /Applications/MAMP/htdocs/varbase/libraries is not a directory. in Drupal\Core\File\FileSystem->scanDirectory() (line 679 of /Applications/MAMP/htdocs/varbase/core/lib/Drupal/Core/File/FileSystem.php).