1
votes

I know what exactly the problem is. I need to fix my open_basedir restriction. But the problem is, I don't know how exactly.

PHP Warning:  is_dir(): open_basedir restriction in effect. File(/usr/local/php55/lib/php/) is not within the allowed path(s): (/home/converter/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php55/lib/php/) in /home/converter/domains/converter.playslim.com/public_html/lib/Symfony/Component/Process/ExecutableFinder.php on line 59
PHP Warning:  is_dir(): open_basedir restriction in effect. File(/usr/local/php55/lib/php/) is not within the allowed path(s): (/home/converter/:/tmp:/var/tmp:/usr/local/lib/php/:/usr/local/php55/lib/php/) in /home/converter/domains/converter.playslim.com/public_html/lib/Symfony/Component/Process/ExecutableFinder.php on line 59
1
Hi, always remember to Google the error message first! Warning open_basedir restriction in effect yields plenty of results; the first hit is on this very site.Pekka
That didn't help solving my problem.Anthony Bijlsma

1 Answers

0
votes

Change the following code with this one

if (file_exists(DIR_SYSTEM . 'vendor/autoload.php')) { 
    require_once(DIR_SYSTEM . 'vendor/autoload.php'); 
}

In system/startup.php:

if (is_file(DIR_SYSTEM . '../../vendor/autoload.php')) {
    require_once(DIR_SYSTEM . '../../vendor/autoload.php');
}