Issue began with -
Wordpress 4.2.2 CiviCRM 4.6.2 (later 4.6.3 - see below) Php 5.4.33
About 5 days ago on Wordpress installation we were suddenly unable to click into the CiviCRM dashboard via Wordpress backend. The only thing that may have happened that we can see is that a automatic backup may have been attempted but there was not enough server disk space for the back up. The disk has been cleaned out and there is plenty of space now.
When attempting to head to civi - the dashboard icons never stop spinning and there is a Warning at top of page that reads:
Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includes/version.php) is not within the allowed path(s): (/home/bmeeco:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php on line 386
With no civicrm menus, I did have partial functionality via URLS of some admin pages such as to Admin / Settings / Upload directories - nothing appears wrong there - but almost nothing works..
Cron was also spitting me the full warning:
Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includes/version.php) is not within the allowed path(s): (/home/bmeeco:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php on line 386
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:386) in /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Session.php on line 132
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:386) in /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Session.php on line 132
Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includes/version.php) is not within the allowed path(s): (/home/bmeeco:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php on line 386
__
I note two similar cases - both seem unresolved: http://forum.civicrm.org/index.php?topic=36378.0 where the file is exactly the same - File(/home/wp-includes/version.php)
And there is also the post here: How do I correct the fault causing "file_exists(): open_basedir restriction in effect" - But this is a different file - and there is no response how that went.
SO - I attempted to upgrade to latest CiviCRM 4.6.3 - There was a warning to update some customised receipt templates, but then the upgrade failed with the warnings:
Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includes/version.php) is not within the allowed path(s): (/home/bmeeco:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php on line 394
Warning: Cannot modify header information - headers already sent by (output started at /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:394) in /home/bmeeco/public_html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Utils/System.php on line 413
Note the new line numbers..
I am stuck for ideas - any help greatly appreciated
Chris