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

Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.

Question [Merged topic] Open_basedir in effect

More
15 years 9 months ago #55587 by sozzled
It's still a very good idea to get rid of any need for running "legacy mode" on your website. ;)

Please Log in or Create an account to join the conversation.

More
15 years 8 months ago #58868 by sozzled
Please important advice for K 1.6 users about Legacy Mode

Please Log in or Create an account to join the conversation.

More
15 years 6 months ago #67204 by xillibit
You have allowed paths wich are :

/ 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.
The following user(s) said Thank You: free

Please Log in or Create an account to join the conversation.

More
15 years 6 months ago #67295 by free
This is a problem found on my site at www.cowboylifeandsong.com/

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.

More
15 years 6 months ago - 15 years 6 months ago #67299 by sozzled
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 to
Code:
$tmpdir = @is_writable('/tmp') ? '/tmp' : false;

The @ hides the error message.

This problem is fixed in K 1.6.1.
Last edit: 15 years 6 months ago by sozzled.

Please Log in or Create an account to join the conversation.

More
15 years 6 months ago #67369 by free

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 to

Code:
$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.

The following user(s) said Thank You: bully

Please Log in or Create an account to join the conversation.

Time to create page: 0.268 seconds