Greenguy's Board


Go Back   Greenguy's Board > Programming & Scripting
Register FAQ Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2011-12-29, 11:55 PM   #1
cd34
a.k.a. Sparky
 
cd34's Avatar
 
Join Date: Sep 2004
Location: West Palm Beach, FL, USA
Posts: 2,396
Quote:
Originally Posted by housekeeper View Post
PHP Warning: is_readable() [<a href='function.is-readable'>function.is-readable</a>]: open_basedir restriction in effect. File(/wp-content/languages//en_US.mo) is not within the allowed path(s): (/home/username/:/tmp:/var/tmp:/usr/local/lib/php/) in /usr/home/username/domains/my-domain.com/public_html/wp-includes/l10n.php on line 334
Your path is not set correctly for the translations. You have it set to the URL relative path rather than the actual file path. Unless /home/username/ is a bind mount, your root path should be /usr/home/username/domains/mydomain.com/public_html/wp-content/languages//en_us.mo - however, there are two issues there. That actual file path (/usr/home/) is not included in your basedir restrictions - perhaps removing the /usr prefix and just using /home/username/domains/mydomain.com/public_html/wp-content/languages will work.

But, the second thing is the double // in the file it is looking for - I don't recall if it is inserting a variable there or if you're using a trailing slash on the /wp-content/languages/ path set in the admin. If it should be inserting a variable, it is possible that globals are disabled on your site (as they should be) and the plugin/template you're using is depending on them. I'm reasonably sure you just have your path set with the trailing /.
__________________
SnapReplay.com a different way to share photos - iPhone & Android
cd34 is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:17 AM.


Mark Read
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc