So I read the previous post which was caused by a memory issue.
I am getting a
"Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."
On the server log, I have the error "Premature end of script headers: index.php"
I've only been working with this module, here is what I did leading up to this.
1. Created a line-item type with custom line items. Ticked for the fields to be available on add to cart form.
2. Created a product-type
3. Created a product.
4. Created a product display type and under manage display referenced the custom line-item that I created in step 1.
5. Created a product display.
6. Added item to cart.
7. Clicked on cart
8. Got error.
Any ideas on what this might be?
Comments
Comment #1
rfayThere was an error yesterday when adding to cart. If you're using the packaged dev version perhaps it's not the latest.
Use git to grab current, or wait for the repackaging (every 12 hours). Or, if you still have an old version (old == yesterday :-) then get the latest dev.
Comment #2
ryan.ryan commentedAh okay, well I just installed the module this morning. But I can give this a shot anyway.
Comment #3
ryan.ryan commentedOkay, disabling the module fixed it. I'm going to try the latest release to see if that was indeed the problem.
Comment #4
willkaxu commentedI've tested it in my local site, just installed the modules required by Commerce Custom Line Items (Types). The Drupal core is 7.9.
The same steps after installing the latest release, click the cart, it still worked. But after clicking "your cart", I got the 502 server error.
Comment #5
rfayI'm able to replicate this now, so should be able to sort it out.
Comment #6
rfayOh dear.
I am so sorry.
The two important commits that I knew fixed this yesterday never got pushed.
Apologies to all.
You should be able to pull from git now, or it will be repackaged in the dev release within 12 hours.
Comment #7
rfayI recommend this procedure:
1. Disable Commerce Custom Line Items
2. Uninstall Commerce Custom Line Items (This will remove all traces of the configuration)
3. Enable it
Then begin the configuration process again. The field you created earlier will still be available to place on the new custom line item. Don't forget to configure the display settings of your content type to use the newly created line item.
I recommend not using the same line item type name you used before (as you still have a couple of those perhaps laying around)
Comment #8
rfayAlex writes on Commerceguys.com:
I suspect just fixing base as he suggests is the way to fix any existing line item types that were created with the bad module.
Comment #9
Gauntlet-1 commentedJust as a suggestion, I think the date of the version might be an unreliable way to refer to versions. I was logged out, and saw it as Nov 2. When I logged in, I saw it as Nov 1.
Comment #10
alex.druhetThanks Randy for pushing up my quick fix!