Error occurs during product import:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: http://example.com:8080/install.php?profile=commerce_kickstart&locale=en&id=2&op=do StatusText: Internal Server Error ResponseText:

Comments

Status:Active» Postponed (maintainer needs more info)

You didn't paste the actual error (part of Response Text: I guess), we can't debug it based on this.

I'm getting the same thing here, but my error occurs during the install procedure. Installing on MAMP 2.0.5 Pro

It gets to the Order module (~20-25% in) and then this comes up:

The installation has encountered an error.
Please continue to the error page
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: http://ks:8888/install.php?profile=commerce_kickstart&locale=en&id=1&op=do StatusText: Internal Server Error ResponseText:

The error that gets displayed out doesn't contain the ResponseText

-Ken

There's maybe more information in your apache and php logs.
Can you paste it ?

Version:7.x-2.0-alpha1» 7.x-2.0-alpha3

Same thing here. I tried to install on LAMP, MAMP, a LAMP jumbox, just can't install Drupal Commerce Kickstart 2.0.

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: http://localhost:8888/kickstart/install.php?profile=commerce_kickstart&l... StatusText: Internal Server Error ResponseText:

Was anybody able to install it, ever?

Was anybody able to install it, ever?

Plenty of people have. But there's obviously something specific in your configuration that's causing the error.

Please take a look at your error logs. The actual error should be there, and it will allow us to fix it.

An error has occurred.
Please continue to the error page

Error page is hyper linked and when I clicked on that it shows below error.

Failure to sort migration list - most likely due to circular dependencies involving CommerceKickstartNodebags_cases,CommerceKickstartNodedrinks,CommerceKickstartNodehats,CommerceKickstartNodeshoes,CommerceKickstartNodestorage_devices,CommerceKickstartNodetops

Version:7.x-2.0-alpha3» 7.x-2.0-beta1
StatusFileSize
new476.58 KB
new128.07 KB
new115.71 KB
new86.03 KB
new135.62 KB

Hi, I'm testing the 2.x-beta1 installer today and also got this error, I've attached a few screenshots if that helps. There's the initial error (which wasn't very descriptive, just "AJAX 500 Error"), then a link to the error page. I hit the back button from the error page and it coughed up the error output below.

I chose to install the demo store and demo content. The demo store loads when I go to the site URL, but no demo content was loaded. I was installing it in a subdirectory of my dev server - http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/

Also - "Recent log messages" show no errors or warnings. "Status Report" is a white screen http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/?q=admin%2Freports%2Fstatus&, and after clearing caches I get more white screens and errors (see attached images). Hope this helps.

Debian 6.0.5
PHP Version 5.3.3-7+squeeze13
Apache/2.2.16 (Debian)

Error URL: http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/install.php?profile=commerce_kickstart&welcome=done&locale=en&op=start&id=2

Initial error

An AJAX HTTP error occurred. HTTP Result Code: 200 Debugging information follows. Path: http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/install.php?profile=commerce_kickstart&welcome=done&locale=en&id=2&op=do StatusText: OK ResponseText: Home | Commerce Kickstart Demo Store @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/system/system.menus.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/system/system.messages.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/system/system.theme.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/system/system.base.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/misc/ui/jquery.ui.core.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/themes/commerce_kickstart_admin/jquery.ui.theme.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/overlay/overlay-parent.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/comment/comment.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/modules/commerce_kickstart/commerce_kickstart_menus/commerce_kickstart_menus.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/modules/contrib/date/date_api/date.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/modules/contrib/date/date_popup/themes/datepicker.1.7.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/modules/contrib/fences/field.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/node/node.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/user/user.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/modules/contrib/views/css/views.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/system/system.admin.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/modules/system/system.maintenance.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/libraries/chosen/chosen/chosen.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/modules/contrib/ctools/css/ctools.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/themes/commerce_kickstart_admin/reset.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/themes/commerce_kickstart_admin/style.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/themes/commerce_kickstart_admin/contrib.css?m8iqh6"); @import url("http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/profiles/commerce_kickstart/themes/commerce_kickstart_admin/commerce_kickstart_admin.css?m8iqh6"); Home Installation tasksWelcome(done)Verify requirements(done)Set up database(done)Install profile(done)Configure site(done)Configure store(done)Install demo store(done)Import content(active)Finished Failure to sort migration list - most likely due to circular dependencies involving CommerceKickstartNodebags_cases,CommerceKickstartNodedrinks,CommerceKickstartNodehats,CommerceKickstartNodeshoes,CommerceKickstartNodestorage_devices,CommerceKickstartNodetops Proudly built by Commerce Guys

Error Page

Failure to sort migration list - most likely due to circular dependencies involving CommerceKickstartNodebags_cases,CommerceKickstartNodedrinks,CommerceKickstartNodehats,CommerceKickstartNodeshoes,CommerceKickstartNodestorage_devices,CommerceKickstartNodetops

Status:Postponed (maintainer needs more info)» Active

We have the same problem.

From the apache log we find this:

[Mon Aug 13 10:36:41 2012] [warn] [client 85.11.199.150] mod_fcgid: stderr: PHP Fatal error: Call to undefined function language_negotiation_set() in /var/www/clients/client26/web54/web/profiles/commerce_kickstart/commerce_kickstart.install_callbacks.inc on line 64, referer: http://goodtech.dev.meimi.se/install.php?profile=commerce_kickstart&welc...

I have now reinstalled the shop without enabling the language translation. Now the shop installs without any problem so it seems to be some language problem during the installation.

There is no "same problem". Ajax error 500 is the way all errors appear during install.
And "cannot sort migration list" just means that the installation of a module failed (leading to missing migrations).

@drupleg
That doesn't give me any info for debugging this. If the problem persists, I'll need access to your server.

@kristofferwiklund
That's already handled in #1721410: [Enable translation] Fatal error: Call to undefined function language_negotiation_set().

Hi there,

Allow me to drop a few comments;

I had the same errors. After trying several different server configs, I concluded it was caused by not having sufficient memory. Furthermore, I experienced timeouts, namely when installing the demo store.

Earlier comments and suggestions lead me to tinker with php.ini and my.ini on my local dev machine, and I was then able to successfully install Commerce Kickstart.

Now, I run a Xampp on a Win 7 with no shortage of resources, and yet it was quite a 'heavy' install. Especially the install of the Search module, during demo store install. Xampp in itself is a slow dog, but the install took about half an hour!

Here's the settings it works with:

In php.ini:
max_execution_time = -1 (default is 60 seconds, -1 is unlimited)
max_input_time = -1
memory_limit = 512M

xdebug.max_nesting_level = 500

If possible, use either [my-large.ini] or [my-huge.ini], rename it to my.ini, restart sql server, and see if it improves performance.

After install, I have moved it to a hosted server, where it runs quite smooth with normal server settings, and only 128MB available.

BTW; I don't mind to share my other findings on this dev/beta version. Where would it be best to give feedback?

Best regards,
- Christian

Hi, yes - what @Drunkensailor said - I adjusted my php.ini to:

max_execution_time = -1 (default is 60 seconds, -1 is unlimited)
max_input_time = -1
memory_limit = 192M

and the demo store installation completed in about 20 minutes on my 1GB RAM virtual machine. Also - here is the apache error.log message regarding my previous post #7:

[Thu Aug 09 21:52:25 2012] [error] [client 192.168.2.15] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /var/www/commerce_kickstart-7.x-2.0-beta1/modules/system/system.install on line 1480, referer: http://development.nogood.lan/commerce_kickstart-7.x-2.0-beta1/install.php?profile=commerce_kickstart&welcome=done&locale=en&op=start&id=2

All is fine now, thanks.

Status:Active» Closed (works as designed)

Okay, so nothing more to do here.

We've slimmed down the Search module for beta2 (soon to be tagged), and continue to improve the installation process, performance and memory usage. It's not ideal, but that's how it is with Drupal and large installation profiles.

Version:7.x-2.0-beta1» 7.x-2.0-beta2

Hi, just a follow up that, with my (unmodified/default php.ini on Debian Squeeze) I did NOT have any memory issue with 7.x-2.0-beta2! Great work Commerce Guys!

#11 worked for me. Running default apache on macbook pro retina. No mamp or other stack.

Not working for me. I've set the php limits to "unlimited" as shown but the ajax error still arises and an apache error log

PHP Fatal error: Cannot redeclare cloud_zoom_requirements()

#11 worked for me (this was against 7.x-2.0-rc3 as I was still having the same issue with this)

#11 worked for me with 7.x-2.0-rc4 on MAMP 2.1.1.
Thanks!

Anyone having lots of AJAX issues might want to try disabling the jquery_update module, worked for me. Just spreading the info, unsure if it's related to this issue.

This is still a problem when behind a load balancer. If a step during the install takes more than 30 seconds (and with Drupal Commerce Kick Starter, I've seen this happen), then the load balancer will drop the connection if no output has been sent before then... something needs to be sent to keep the connection alive, in the case of load balancers.

I am still verifying that this is the cause, I saw this error while installing last night:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: http://domain.com/install.php?profile=commerce_kickstart&welcome=done&lo... StatusText: Internal Server Error ResponseText: Unable to Serve This Request body{ font-family:'Lucida Grande', Tahoma, Arial, Verdana, sans-serif; background: #d2d2d2; font-size: 12px; } div#main{ background-color: white; width: 400px; padding: 30px; border: 3px solid #7e7e7e; color: #757575; margin: 0 auto; display: block; margin-top: 57px; } h2#box { color: #20499a; margin: 0px; margin-bottom: 10px; } #centerImage{ text-align:center; } #image{ height:35px; width:244px; } Site temporarily unavailable. Connection timed out - please try again.

RackSpace Cloud has told me this is most likely due to the load balancer on Cloud Sites dropping the connection, and upon attempting a reinstall, I DID notice a delay on some parts of the install longer than other parts, right before it failed, so this is a very likely explanation.

I will know more once the escalation team takes a look at the apache error logs in the morning.

I DID have it install just fine a week ago, so it appears if the database server slows down and you're installing a large Drupal distribution, you run the risk of timing out the load balancers before the install completes. I will spin this off into it's own issue if that is confirmed to be what the problem is. (This probably affects more than just Drupal Commerce Kickstart too) This is definitely an intermittent problem, as it's failing at different places each time I re-run the installation.

Since setting the execution time has no effect on the expiration time for the load balancer, this won't help as per the above posts, so those fixes won't work for everyone.

References to the problem:

http://www.rackspace.com/knowledge_center/article/connection-timed-out-e...

http://www.cloudsitesrock.com/?ac=post&id=9&uid=1&p=4&cat=0&m=0&y=0

hello,

under debian 6 / virtualmin hosting system,
every time i tried to install commerce kickstart 2.0
i've got an error 500.

on the virtual host apache error log, i saw :
[Sun Jan 06 23:25:23 2013] [warn] [client 192.168.0.2] mod_fcgid: read data timeout in 31 seconds, referer: http://drupal.lan/install.php?profile=commerce_kickstart&welcome=done&lo...

you can also find with google "40 seconds" instead of 31 seconds.
i suppose this is by default with other control panels or apache installations.

i began by applying the following php.ini parameters :
max_execution_time = 180
max_input_time = 180
max_input_nesting_level = 300
memory_limit = 512M

and then i followed these advices :
http://rickchristie.com/blog/2011/note/apache-mod_fcgid-read-data-timeou...
http://www.virtualmin.com/node/19879#comment-89964
http://stackoverflow.com/questions/4333985/how-to-extend-the-request-con...

by applying in the concerned apache virtual host configuration file :
IPCCommTimeout 301
FcgidIOTimeout 301
IdleTimeout 300
BusyTimeout 300
ProcessLifeTime 7200
IPCConnectTimeout 300
MaxRequestLen 100000000

the IPCCommTimeout and FcgidIOTimeout parameters are concerning the same parameter
but under different apache subversions thus i recommend to apply both.
those timeout values are for a development, not production. please apply 120 or 300 seconds instead :)

I realize estrange behavior, when installing demo-shop content if process increase for 0 modules to 39 modules when arriving to 39 (100%) appears this error, but if the process increase from 0 to 38 there is no error, meaning that for some estrange reason some times install 39 including error other 38 without error. the only thing i changed from error installation to no error installation is changing php from 5.2 to 5.4, so as my little knowledge, should not make any difference.

Errors appear when the installation is too slow. PHP 5.4 is faster than PHP 5.2 So the speed increase is sometimes enough to get you over the line.

I think that the main cause of the slowness is the Features rebuilding. Planning to look into improving that.

This error happened under PHP 5.4, as well as PHP 5.3. But 5.4 was tried first.

Project:Commerce Kickstart» Drupal core
Version:7.x-2.0-beta2» 7.18
Component:Code» install system

I have same problem with installation of Drupal 7.18. At first I think, that problem could be in PHP server handling mechanism, so i change it from FastCGI (mod_fcgid) to mod_php5 and that do the trick. But then I realize that I install it successfully on ISPs server (they provide also webhositng services), where is also FastCGI PHP handling. But there are also other differences between my environment and ISPs.

ISP software configuration:

  • Linux CentOS
  • Apache 2.2.3
  • PHP 5.3.19 (FastCGI, probably via mod_fastcgi)
  • MySQL 5.0.95

My software configuration:

  • Linux Gentoo
  • Apache 2.2.23
  • PHP 5.4.6 (-pl0-gentoo) (FastCGI via mod_fcgid, mod_php5)
  • MySQL 5.1.62

In some way could be usefull to raise some limits in php.ini files (for both handling mechanism). Namely:

  • memory_limit = 128MB
  • max_execution_time = 300 (or even -1 which means unlimited)
  • max_input_time = 300

For mod_fcgid virtualhost configuration I also tried to set this settings (but without success)

  • FcgidMaxRequestLen 10485760
  • FcgidIOTimeout 360

I hope that this informations could help you to resolve the problem, or to find workaround for people who cannot install Drupal.

I got this error as well.
What should I do to fix it?

An error has occurred.
Please continue to the error page

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /en/batch?id=212&op=do StatusText: error ResponseText: EntityMetadataWrapperException: Unable to get the data property parent as the parent data structure is not set. in EntityStructureWrapper->getPropertyValue() (line 442 of /home/u8840/domains/hostelsup.com/profiles/commerce_kickstart/modules/contrib/entity/includes/entity.wrapper.inc).

I get the following error:

An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /?q=en/batch&render=overlay&id=6&op=do StatusText: Internal Server Error ResponseText:

I was able to identify that the problem is with the Drupal core and the translation process since the installation of the drupal core does not work in the Italian language.

please fix

thanks

Hello,
the solution for this problem is the following :
even if you have this problem

  1. click save and continue.
  2. look at you wam server or mamp it changes color to orange
  3. restart all services
  4. save and continue

it should work

Drupal 7 core does not work in the Poland language.

install PHP 5.4
refresh the page when you get that error
change maximum_execution time at least to 300 in php.ini

worked for me

Issue summary:View changes

Increase Drupal PHP memory-limit to 512M with the file : "sites/default/settings.php"

During installation of Drupal Kickstart and during installation script
I had the following error:

. "An AJAX HTTP error occurred HTTP Result Code : 500 Debugging information follows .
Path: http://.....install.php?profile=commerce_kickstart....StatusText : Internal Server Error
ResponseText " .

In the "var/log/apache2/error.log" file I had the message:
"PHP Fatal error: Allowed memory size of 134217728 bytes exhausted ..." .

To resolve this error, I increased PHP memory-limit to 512M .

I change the "sites/default/settings.php" file by adding this line:
ini_set (' memory_limit ', '512M ');

see note Drupal : https://drupal.org/node/76156#comment-4583384

Warning: this new line can be erased from the file during the configuration steps ,
must verify that the new line : ini_set (' memory_limit ', '512M ');
is still present in the file before step "install demo store" , otherwise add
again the line in the file.

I also edit the file wamp/bin/apache/Apache2.../bin/php.ini
memory_limit = 512M