1

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
Pekka
  • 442,112
  • 142
  • 972
  • 1,088
  • 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 Dec 03 '15 at 17:12
  • Possible duplicate of [open\_basedir restriction in effect. File(/) is not within the allowed path(s):](http://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths) – Pekka Dec 03 '15 at 17:13
  • That didn't help solving my problem. – Anthony Bijlsma Dec 03 '15 at 17:26

1 Answers1

-1

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');
}
Brandon Minnick
  • 13,342
  • 15
  • 65
  • 123