Images are not imported from URL

The problem may be caused by that URL file-access is disabled in your server configuration.
In order to check it do the following:

  1. Create a test file (test.php) with the following content in the CS-Cart root directory:
    <?php
    error_reporting(E_ALL);
    ini_set("display_errors", "on");
    $test = file_get_contents("http://www.your_domain.com/[your_cscart_directory]/store_closed.gif");
    echo $test;
    ?>

    where replace "your_domain" with the name of your domain, "[your_cscart_directory]" with the name of the directory where CS-Cart is installed on your server.
  2. Try to launch this file in a browser:
    http://www.your_domain.com/test.php
If an error is displayed it means that the default PHP function "file_get_contents" does not work because URL file-access is disabled for your site.

Contact your hosting administrator regarding this problem and ask him to enable this function on your account.

Noticed an error in the article or it is not clear enough? Any suggestions to improve it? Please let us know by filling in the feedback form. Click here.