Jump to content

Stopped by Error 500 when trying to install 17.0.2 on Mamp Pro


Recommended Posts

Hi everyone,

 

I want to test PS 1.7 on my Mac with Mamp Pro. Each time I try it, it stops on "Store installation" step, 12%, Create database tables with HTTP 500 Internal server error.

 

Apache log says : 

[Wed Dec 21 14:29:31 2016] [error] [client ::1] FastCGI: comm with server "/Applications/MAMP/fcgi-bin/php5.6.10.fcgi" aborted: idle timeout (30 sec), referer: http://tn-test:8888/presta17/install/index.php
[Wed Dec 21 14:29:31 2016] [error] [client ::1] FastCGI: incomplete headers (0 bytes) received from server "/Applications/MAMP/fcgi-bin/php5.6.10.fcgi", referer: http://tn-test:8888/presta17/install/index.php

I've found some solutions on the web but none is working for me. And found no discussion on this forum.

 

Same problem with Prestashop 1.6.1.10. It creates the tables (from ps_access to ps_zone_shop) then error 500.

 

Mamp Pro 3.5.2 / Php 5.6.10

 

Thanks for your help.

Edited by jltest (see edit history)
Link to comment
Share on other sites

I changed define('_PS_MODE_DEV_', true);

 

Here is the answer :

[PrestaShopException]

Shop not found
at line 404 in file classes/shop/Shop.php

399.                 // No shop found ... too bad, let's redirect to default shop
400.                 $default_shop = new Shop(Configuration::get('PS_SHOP_DEFAULT'));
401. 
402.                 // Hmm there is something really bad in your Prestashop !
403.                 if (!Validate::isLoadedObject($default_shop)) {
404.                     throw new PrestaShopException('Shop not found');
405.                 }
406. 
407.                 $params = $_GET;
408.                 unset($params['id_shop']);
409.                 $url = $default_shop->domain;

    ShopCore::initialize - [line 114 - config/config.inc.php]

    109. 
    110. $context = Context::getContext();
    111. 
    112. /* Initialize the current Shop */
    113. try {
    114.     $context->shop = Shop::initialize();
    115.     $context->theme = new Theme((int)$context->shop->id_theme);
    116.     if ((Tools::isEmpty($theme_name = $context->shop->getTheme()) || !Validate::isLoadedObject($context->theme)) && !defined('_PS_ADMIN_DIR_')) {
    117.         throw new PrestaShopException(Tools::displayError('Current theme unselected. Please check your theme configuration.'));
    118.     }
    119. } catch (PrestaShopException $e) {

    require - [line 27 - index.php] - [1 Arguments]

    Argument [0]
    /Users/pro/CLIENTS/TOUT NAT/www/tn-presta16/config/config.inc.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...