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 6880 Views

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 5:42pm

I do have a silverstripe-cache directory in my root silverstripe install and its permissions are 777. I apologie for the issues. This one stumps me.

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 5:58pm

I installed SilverStripe and SilverCart all over again. Like You I used the trunks of DataObjectManager and Uploadify. My installation works well. Sebastian is having a look into it ;)

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 6:02pm

Hi Jeramie,

do you have this behaviour in backend too?
Are you able to add/edit products or productgroups in silverstripes backend?

How is it about php or apache error log?
Do you get some error information out of there?

Cheers
Sebastian

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 7:00pm

I apologize for the delay. I wanted to do a fresh install and come back to you.

There are no errors in apache or mysql, but the same PHP error comes up on every install:

PHP Fatal error: Maximum execution time of 30 seconds exceeded in /Applications/MAMP/htdocs/SS_TEST/sapphire/thirdparty/Zend/Locale/Format.php on line 348

I went in and increased the php execution time to 60 and still have the same error. This is on a MAP install, not mamp pro.

Thank You

Re: Test Product Group Pages Wont Load After Install

7 April 2011 at 9:26pm

Did you set a locale for 'Translatable' and 'i18n'?

Add the following lines to your /mysite/config.php (if not done yet):

Translatable::set_default_locale('en_US');
i18n::enable();
i18n::set_locale('en_US');

I will have a detailed look at the given php error tomorrow, unfortunately I don't have accessible code at the moment.

Re: Test Product Group Pages Wont Load After Install

8 April 2011 at 10:28am

On line 348 of Zend/Locale/Format.php you can find an 'iconv_strpos' call.
There is the bug. It's a known bug in PHP 5.3.

Perhaps this patch for iconv can resolve your problem:
http://fabien.potencier.org/article/37/php-5-3-0-on-mac-os-10-6-snow-leopard
http://opensource.apple.com/source/apache_mod_php/apache_mod_php-53/patches/iconv.patch

Another solution to resolve your problem is to upgrade your PHP version to 5.3.2 or downgrade it to 5.2.

Re: Test Product Group Pages Wont Load After Install

8 April 2011 at 2:32pm

Thank you so much for your diligent help. After downgrading php to 5.2.17, I no longer have the issues and the system runs much more smoothly. I do not see any performance degradation. Thank you very much for all your help and I look forward to trying out silvercart on my next project.

Re: Test Product Group Pages Wont Load After Install

8 April 2011 at 6:59pm

Hello Jeramie,

I'm glad Your problem is solved now. Thanks for Your help, Sebastian.