Closed GoogleCodeExporter closed 9 years ago
Revision 1701 by the way.
Original comment by wske...@gmail.com
on 6 Nov 2011 at 11:35
I recommend using the 0.8 branch at the moment if you want to use trunk code.
That will become trunk soon. I'll assume you understand the risks of using
trunk, rather than a tag also.
Some related discussion happening here now:
https://groups.google.com/forum/#!topic/silverstripe-ecommerce/8AxroUfiLb0
...feel free to sign up to the mailing list :)
Original comment by jeremybu...@gmail.com
on 6 Nov 2011 at 11:40
When I revert back to 0.8 I get a similar error as above to in the backend as
well as in the frontend, at least on the trunk I wasn't experiencing the error
on the frontend.
The error in the backend is:
ERROR [User Error]: Couldn't run query:
SELECT count(*)
FROM
SELECT "SiteTree"."ClassName", "SiteTree"."Created", "SiteTree"."LastEdited",
"SiteTree"."URLSegment", "SiteTree"."Title", "SiteTree"."MenuTitle",
"SiteTree"."Content", "SiteTree"."MetaTitle", "SiteTree"."MetaDescription",
"SiteTree"."MetaKeywords", "SiteTree"."ExtraMeta", "SiteTree"."ShowInMenus",
"SiteTree"."ShowInSearch", "SiteTree"."HomepageForDomain",
"SiteTree"."ProvideComments", "SiteTree"."Sort", "SiteTree"."HasBrokenFile",
"SiteTree"."HasBrokenLink", "SiteTree"."Status", "SiteTree"."ReportClass",
"SiteTree"."CanViewType", "SiteTree"."CanEditType", "SiteTree"."ToDo",
"SiteTree"."Version", "SiteTree"."ParentID",
"ProductGroup"."ChildGroupsPermission", "SiteTree"."ID", CASE WHEN
"SiteTree"."ClassName" IS NOT NULL THEN "SiteTree"."ClassName" ELSE 'SiteTree'
END AS "RecordClassName", CASE WHEN "ProductID" IS NULL THEN '0' ELSE '1' END
AS "Checked"
FROM "SiteTree"
LEFT JOIN "ProductGroup" ON "ProductGroup"."ID" = "SiteTree"."ID"
LEFT JOIN "Product_ProductGroups" ON ("SiteTree"."ID" =
"Product_ProductGroups"."ProductGroupID" AND "ProductID" = '22')
WHERE ("SiteTree"."ClassName" IN ('ProductGroup'))
GROUP BY "SiteTree"."ClassName", "SiteTree"."Created", "SiteTree"."LastEdited",
"SiteTree"."URLSegment", "SiteTree"."Title", "SiteTree"."MenuTitle",
"SiteTree"."Content", "SiteTree"."MetaTitle", "SiteTree"."MetaDescription",
"SiteTree"."MetaKeywords", "SiteTree"."ExtraMeta", "SiteTree"."ShowInMenus",
"SiteTree"."ShowInSearch", "SiteTree"."HomepageForDomain",
"SiteTree"."ProvideComments", "SiteTree"."Sort", "SiteTree"."HasBrokenFile",
"SiteTree"."HasBrokenLink", "SiteTree"."Status", "SiteTree"."ReportClass",
"SiteTree"."CanViewType", "SiteTree"."CanEditType", "SiteTree"."ToDo",
"SiteTree"."Version", "SiteTree"."ParentID",
"ProductGroup"."ChildGroupsPermission", "SiteTree"."ID", CASE WHEN
"SiteTree"."ClassName" IS NOT NULL THEN "SiteTree"."ClassName" ELSE 'SiteTree'
END, "ProductID") all_distinct
Out of sort memory; increase server sort buffer size
IN POST /admin/getitem?ID=22&ajax=1
Line 525 in /home/procut/public_html/dev/sapphire/core/model/MySQLDatabase.php
Source
======
516: }
517:
518: function databaseError($msg, $errorLevel = E_USER_ERROR) {
----
What version of silverstripe is ecommerce confirmed to work well on?
Original comment by wske...@gmail.com
on 6 Nov 2011 at 11:50
SilverStripe 2.4.5 definitely works, but 2.4.6 has yet to be tested.
Have you also researched the error message you are given? "Out of sort memory;
increase server sort buffer size"
That might be specific to your environment.
Original comment by jeremybu...@gmail.com
on 6 Nov 2011 at 11:53
[deleted comment]
is your website available on a live server?
Original comment by nfranc...@gmail.com
on 7 Nov 2011 at 1:37
what I mean is - can we have a look at it?
Original comment by nfranc...@gmail.com
on 7 Nov 2011 at 2:33
I got around the buffer size problem by adjusting my mysql settings. I solved
the issue with the cart not storing products by using your latest release
candidate instead of the .8 branch.
Thanks for your help.
Original comment by wske...@gmail.com
on 7 Nov 2011 at 2:54
Original issue reported on code.google.com by
wske...@gmail.com
on 6 Nov 2011 at 11:01