Propel erros on site migration

122 views Asked by At

My website directory was moved to another server but the database is still the same. Will this cause an issue on Propel? Because I'm getting this error:

Fatal error: require_once(): Failed opening required 'propel/Propel.php' (include_path='/www/inc:/var/www/www.samplesite.com/classes:.:/usr/share/php:/usr/share/pear') in /var/www/www.samplesite.com/config.php on line 7

Or is this error caused by something else, not Propel?

Do I perhaps need to execute a rebuild of the Propel installation in order to correct the paths by itself?

1

There are 1 answers

0
Qiniso On

You need to set_include_path() just before you call require_once