Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Question [Merged topic] Open_basedir in effect
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
/ var / xxx / xxxx / xxxx /
/ var / xxx / xxxx / phptmp /
/ var / xxx / xxxx / files /
/ var / xxx / xxxx / atd /
The directories /tmp and / var/lib/php5 are not in these allowed paths
I don't like the hosts which using the open_basedir restriction in effect
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
I upgraded my Kunena 1.5 to 1.6 and everything went nicely except when a user changes or uploads his avatar image, this warning occurs
Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/virtual/cowboylifeandsong.com/:/usr/share/php/) in /var/www/virtual/cowboylifeandsong.com/htdocs/components/com_kunena/lib/kunena.file.class.1.5.php on line 33
I found that the server at my webhosting company has set open_basedir parameter to /var/www/virtual/cowboylifeandsong.com/:/usr/share/php/ and they will not change it. My other sites set this to No Value or none.
I also wonder that why Kunena still using kunena.file.class.1.5.php since I see that kunena.file.class.1.6.php is also present in the same folder.
Anyone can tell me a solution to get rid of this warning without changing the php settings on the server side will be highly appreciated.
I tried using a local php.ini but it does not work since the server settings do not allow users to use local php.ini.
Please Log in or Create an account to join the conversation.
The error orginates from Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/virtual/cowboylifeandsong.com/:/usr/share/php/) in /var/www/virtual/cowboylifeandsong.com/htdocs/components/com_kunena/lib/kunena.file.class.1.5.php on line 33
Line 33 should be changed to
The @ hides the error message.
This problem is fixed in K 1.6.1.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
sozzled wrote: This error is actually a minor bug in K 1.6.0 - it's more of a annoyance than anything else.
The error orginates from Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/var/www/virtual/cowboylifeandsong.com/:/usr/share/php/) in /var/www/virtual/cowboylifeandsong.com/htdocs/components/com_kunena/lib/kunena.file.class.1.5.php on line 33
Line 33 should be changed toCode:$tmpdir = @is_writable('/tmp') ? '/tmp' : false;
The @ hides the error message.
Thank you very much. My problem is fixed.
This problem is fixed in K 1.6.1.
Please Log in or Create an account to join the conversation.