+ Reply to Thread
Results 1 to 3 of 3

Thread: Still struggling. Could use help. Wordpress related

  1. #1
    slight is offline x10Hosting Member slight is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    38

    Still struggling. Could use help. Wordpress related

    I'm getting the following error. It is affecting my ability to generate a sitemap, and other issues.
    Perhapos more important, it's driving me nuts.

    Any idea what could be causing this and how to resolve it?

    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s):

    Some history:

    1. I originally defined the project in a new (dedicated) subdirectory of an existing site. Call this mysite.x10hosting.com/wordpress/ (not the actual name)

    2. Once the Wordpress site was up and running at mysite.x10hosting.com/wordpress I created an addon domain, such as www.newsite.com that mapped to mysite.x10hosting.com/wordpress, and I changed my Wordpress blog URL to www.newsite.com

    That's when the problem started.

    I suspect this could be .htaccess file related (just a guess). That file currently has the following format:

    # BEGIN WordPress
    Options +FollowSymLinks
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^(.*)mysite.x10hosting.com/wordpress [NC]
    RewriteRule ^(.*)$ http://www.newsite.com/$1 [R=301,L]

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>


    # END WordPress


    Any ideas what could be going on and how to correct it? This is really driving me crazy.

    Much thanks!

  2. #2
    slight is offline x10Hosting Member slight is an unknown quantity at this point
    Join Date
    Feb 2009
    Location
    Canada
    Posts
    38

    Re: Still struggling. Could use help. Wordpress related

    Some posts on the web suggest this kind of problem may be related to PHP running in safemode. How can I tell if that's the case for my ID on x10hosting? Can it be changed?

  3. #3
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Still struggling. Could use help. Wordpress related

    You can tell PHP is running in safe mode because the error message says so: "open_basedir restriction in effect". You have to upgrade to paid hosting.

    The problem isn't in .htaccess. Some PHP script is calling is_writeable('/'), and anything outside of "/tmp" or "/home" isn't allowed. The error message should tell you which script, and examining it should tell you where it's getting the path.

    There's no good reason to hide the actual site. It just makes it harder to help.
    Last edited by misson; 05-28-2010 at 05:46 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. still struggling with x10sitebuilder?
    By divebuddha in forum Free Hosting
    Replies: 3
    Last Post: 02-06-2010, 08:27 AM
  2. struggling to parse xml
    By cGamez010 in forum Programming Help
    Replies: 0
    Last Post: 01-14-2010, 09:27 AM
  3. Stoli server struggling?
    By a94060 in forum Free Hosting
    Replies: 3
    Last Post: 06-13-2009, 04:31 PM
  4. Struggling to get my site off the ground
    By IIN Operator in forum Scripts & 3rd Party Apps
    Replies: 5
    Last Post: 03-20-2009, 01:06 PM
  5. Replies: 2
    Last Post: 09-29-2008, 04:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers