Results 1 to 2 of 2

Thread: Prestashop on Altervista

  1. #1
    Guest

    Default Prestashop on Altervista

    Hi all,
    I am trying to install Prestashop for Altervista.

    I have a problem during the store installation (it looks during the installation of the database tables), as show in the following image:

    http://imgur.com/dmgKwvN

    Do you have any suggestion?
    Thanks

  2. #2
    karl94 is offline AlterVista Staff
    Join Date
    Jan 2015
    Posts
    573

    Default

    Delete all the Prestashop tables from the database, unlock the server to server whitelist from the AlterVista control panel (look at the PHP settings), then in the file of Prestashop classes/Tools.php find
    PHP Code:
    if (in_array(ini_get('allow_url_fopen'), array('On', 'on', '1')) || !preg_match('/^https?:\/\//', $url))
    and replace it with
    PHP Code:
    /*if (in_array(ini_get('allow_url_fopen'), array('On', 'on', '1')) || !preg_match('/^https?:\/\//', $url))
    below that, find
    PHP Code:
    elseif (function_exists('curl_init'))
    and replace it with
    PHP Code:
    else*/if (function_exists('curl_init'))
    And finally try again the installation procedure.
    Let me know if you have any other issue.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO