SilverCart Forum

We moderate this Forum and we're here to help. Have you already run a forum search to check if your problem has already been solved?

You can help us helping you by providing detailed error messages, screenshots and logfile entries.

SebastianRamon

Page: 1 , 2
Topic Test Product Group Pages Wont Load After Install 7095 Views

Test Product Group Pages Wont Load After Install

7 April 2011 at 12:44am

I only get a white page after the silver cart install when trying to access any other page than the webshop or contact pages. All other pages time out or dont load. This is installed on a MAMP stack for testing purposes.

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 7:29am

Hello Jeramie,
did you install Silvercart on an existing project or a fresh SilverStripe installation?
did You install SilverCart watching our installation video?
A whitescreen is hard to debug. You will have a whitescreen for sure if you forgot to change the hirarchie of Page. Page must extend SilvercartPage and Page_Controller must extend SilvercartPage_Controller.

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 4:45pm Last edited: 7 April 2011 4:52pm

My apologies, I should have clarified my approach.

This occurs after a fresh install of Silverstripe 2.4.5 and when following the install screen cast. I can follow all steps of the screen cast to completion and can see the initial webshop page without any issues. When I try to click on the link for any of the test product groups, the page simply take a while to try and load and then just turns white, loading no content. I have enabled

Director::set_environment_type("dev");

to see if it would return any errors and it does not. Are there specific php memory limits that Silvercart Requires?

I did confirm that I have properly edited the Page.php file under mysite/code to reflect the Silvercart hierarchy

So far I have seen very poor performance of Silverstripe since the install and am having a hard time understanding the structure of the cart as well as why the entire site must follow the Silvercart structure rather than just creating a Silvercart page type and adding it to the CMS.

I apologize for any brevity and look forward to hearing back from your team. Other than the lack of familiarity with the cart, it appears to be very robust and well designed.

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 5:14pm

Hello Jeramie,
SilverCart has the same memory requirements as SilverStripe itself. If You are experiencing performance problems with SilverStripe itself You might have some MAMP configuration problems. SilverStripe runs quiet fast on any machine I worked on.
I tried to reproduce Your error by installing SilverCart on a MAMP stack and it works fine.
SilverCart brings some functionality that is used on every page plus a different JS handling. All this is inside SilvercartPage.php and must be contained in Page.php too.
Jou might have a look at the SilverStripe requirements and check for any bottleneck or mismatch.

Cheers,

Roland

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 5:22pm

Thanks for the quick reply. Unfortunately it appears my MAMP install meets all the requirements but I still have the same issues. I have now tried on two separate Silvercart installations on two separate machines with the same issue. I downloaded new copies of the files each time just to ensure I didn't have a corrupt file.

Would you happen to have any other thoughts?

I also have made my local installation available via the web if you would like to see it, message me.

Thanks

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 5:26pm

Do You have DataObjectManager and Uploadify installed?

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 5:27pm

Yes, both dataobjectmanager and uploadify are installed. I downloaded them from the repo yesterday.

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 5:31pm Last edited: 7 April 2011 5:34pm

Do You have a directory "silverstripe-cache" on Your installation root? Otherwise all installations share the same cache which might cause buggy behavior.