Our webhosting company migrated our VPS to a new server and now I'm getting the following error messages when trying to access photopost:
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/config-int.php) is not within the allowed path(s): (/var/www/vhosts/mustanggt.org/httpdocs:/tmp) in /var/www/vhosts/mustanggt.org/httpdocs/photopost/ppp_block.php on line 15
Warning: main(config-int.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/mustanggt.org/httpdocs/photopost/ppp_block.php on line 15
Warning: main() [function.main]: open_basedir restriction in effect. File(/usr/share/pear/config-int.php) is not within the allowed path(s): (/var/www/vhosts/mustanggt.org/httpdocs:/tmp) in /var/www/vhosts/mustanggt.org/httpdocs/photopost/ppp_block.php on line 15
Warning: main(config-int.php) [function.main]: failed to open stream: Operation not permitted in /var/www/vhosts/mustanggt.org/httpdocs/photopost/ppp_block.php on line 15
Fatal error: main() [function.require]: Failed opening required 'config-int.php' (include_path='.:/usr/share/pear') in /var/www/vhosts/mustanggt.org/httpdocs/photopost/ppp_block.php on line 15
Can someone tell me what's wrong and how to fix it?
I assume thats from some custom photo hack you have installed. You would need to find whereever you are installing that hack and correct the server path to your new server path.
There is no ppp-block.php file in our photopost code.
Actually, it was a problem with the open_basedir settings in the php.ini and vhosts.conf on the new server. Between me and the ISP, we got it figured out and I'm back up and running.