Problem in saving page as a draft

Discussion in 'WordPress' started by sahirfarid, Oct 30, 2012.

  1. #1
    Dear Wordpres experts,

    When I create a page in my wordpress site and try to save it as a draft, it shows me the following error.

    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/yikt/public_html/wp-content/themes/canvas/sym/root) is not within the allowed path(s): (/home/:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/yikt/public_html/wp-includes/class-wp-theme.php on line 984

    Warning: Cannot modify header information - headers already sent by (output started at /home/yikt/public_html/wp-includes/class-wp-theme.php:984) in /home/yikt/public_html/wp-includes/pluggable.php on line 881


    Can anyone please tell me why I am receiving this error and how to get rid of it?

    Regards
     
    sahirfarid, Oct 30, 2012 IP
  2. xFire

    xFire Greenhorn

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    6
    #2
    Probably there is a whitespace on the end of class-wp-theme.php after ?>
     
    xFire, Oct 31, 2012 IP
  3. sahirfarid

    sahirfarid Active Member

    Messages:
    240
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #3
    What shoud I do to get rid of it because there is no file named class-wp-theme.php
     
    sahirfarid, Oct 31, 2012 IP
  4. milos_seo

    milos_seo Banned

    Messages:
    53
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    23
    #4
    Hi...try to upgrade all of your plugins...if problem remains same then turn it off and try to post.
     
    milos_seo, Nov 1, 2012 IP