BlackCatDevelopment / BlackCatCMS

BlackCat CMS is a PHP5, HTML5 content management system
https://blackcat-cms.org
Other
11 stars 9 forks source link

v1.2.2: Catalog error #361

Closed webbird closed 6 years ago

webbird commented 7 years ago

CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set in /bcaddons/framework/CAT/Helper/GitHub.php on line 71

webbird commented 7 years ago

Seems to fix it:

        if(!strlen(ini_get('open_base_dir')))
        {
            curl_setopt(self::$ch, CURLOPT_FOLLOWLOCATION, true    );
        }

Dunno 'bout consequences...

webbird commented 7 years ago

Okay, doesn't work. I get the catalog overview page now, but are unable to install. :/

webbird commented 7 years ago

I postponed this because it seems to be a problem based on specific php.ini settings I only encountered at a specific provider. Please let me know if you have the same problem.