CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includ
Pages: [1]

Author Topic: Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includ  (Read 2067 times)

jcslito

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.6.2
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.24
  • PHP version: 5.4.16
Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includ
April 23, 2015, 09:25:57 pm
I installed Wordpress 4.1 and then CiviCRM 4.6.2 and these errors appeared in the admin.
I need the help of friends.

below errors


Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includes/version.php) is not within the allowed path(s): (/home/folaty:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/folaty/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php on line 345

Warning: Cannot modify header information - headers already sent by (output started at /home/folaty/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:345) in /home/folaty/public_html/wp-includes/option.php on line 772

Warning: Cannot modify header information - headers already sent by (output started at /home/folaty/public_html/wp-content/plugins/civicrm/civicrm/CRM/Utils/System/WordPress.php:345) in /home/folaty/public_html/wp-includes/option.php on line 773

haystack

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.n
  • CMS version: WordPress 4.n
  • MySQL version: 5.n
  • PHP version: 5.n
Re: Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includ
April 24, 2015, 02:48:50 am
That's a curious error report... because when I look at line 345 of WordPress.php in my copy of CiviCRM 4.6.2, it is an empty line. You should probably begin by looking at your copy of CiviCRM and figure out why it doesn't match the code in a fresh download of 4.6.2.

jcslito

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.6.2
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.24
  • PHP version: 5.4.16
Re: Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includ
April 24, 2015, 05:45:54 am
I climbed a new wordpress.php file to the server and the error now appears on line 386.

haystack

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.n
  • CMS version: WordPress 4.n
  • MySQL version: 5.n
  • PHP version: 5.n
Re: Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includ
April 24, 2015, 05:48:10 am
The same error? If so, it looks like some WordPress constants are missing.

jcslito

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 4.6.2
  • CMS version: WordPress 4.1
  • MySQL version: 5.5.24
  • PHP version: 5.4.16
Re: Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includ
April 27, 2015, 06:47:22 pm
I have this error in version 4.6.2 to open the wordpress admin. Will not seem to find the solution.

haystack

  • I post occasionally
  • **
  • Posts: 61
  • Karma: 2
  • CiviCRM version: 4.n
  • CMS version: WordPress 4.n
  • MySQL version: 5.n
  • PHP version: 5.n
Re: Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includ
April 28, 2015, 01:23:58 am
Unfortunately there's not much I can suggest - there's just not enough information to assess what might be going on. I'd suggest you get a developer to look at your install. Sorry I can't be of more help.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Warning: file_exists(): open_basedir restriction in effect. File(/home/wp-includ

This forum was archived on 2017-11-26.