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

This category is for K 1.7 issues only.

Question Installed but getting 'JFolder::create: Could not create directory'

More
15 years 1 month ago #89936 by SecretGarden
Hi All

I've read through the forum and found lots similar problems, tried the solutions offered but I'm getting "JFolder::create: Could not create directory" just above the forum interface. I know it's a permissions problem - but where???

Kunena seems to have been installed ok. It appears to be working except it occasionally throws up a second line of the above error message when I click on some links such as... "TOPIC: Welcome to Kunena!" although it opens the post.

I'm new to Joomla and Kunena and am unable to read php. All the system info and error msgs are below - I suspected it has something to do with the line I added to .htaccess (see below) but removing the line had no visible effect on the problem.

I set folder / file permissions 777 for Administrator, components, plugins, system etc. to no effect. Reset to default permissions of 755 for directories and 644 for files.

The problem only exists on the webpage for the kunena forum, regardless of which theme I use ncluding 'Beez'

I just don't know where to go from here so any help would be gratefully appreciated.

Many thanks
SecretGarden







System Information

Linux
Database Version: 4.1.22-standard-log
Database Collation: utf8_general_ci
PHP Version: 5.2.4
Web Server: Apache/1.3.39 (Unix) PHP/5.2.4 mod_throttle/3.1.2 mod_psoft_traffic/0.2 mod_ssl/2.8.29

OpenSSL/0.9.7a FrontPage/5.0.2.2635
Web Server to PHP interface: apache
Joomla! Version: Joomla! 1.5.22 Stable [ senu takaa ama woi ] 04-November-2010 18:00 GMT

Joomla Installed version: Version 1.5.22
Kunena Installed version: Kunena 1.6.3
MySQL client version: 4.1.7



.htaccess

.htaccess: php_flag register_globals off




ERROR MSG

Notice: Undefined index: arr in /*****/*****/*****/*****.com/templates/themza_j15_71/functions.php on line 23


line 23: if(is_array($GLOBALS))



line 23 in context...

function loadMenu(){
$user =& JFactory::getUser();
$children = array ();

// Get Menu Items
$items = &JSite::getMenu();
if(is_array($GLOBALS))
$items->_items[500] = (object)$GLOBALS;
$rows = $items->getItems('menutype', $this->getParam('menutype'));
// first pass - collect children
$cacheIndex = array();
$this->items = array();
foreach ($rows as $index => $v) {
if ($v->access <= $user->get('gid')) {
$pt = $v->parent;
$list = @ $children[$pt] ? $children[$pt] : array ();

array_push($list, $v);
$children[$pt] = $list;
}
$cacheIndex[$v->id] = $index;
$this->items[$v->id] = $v;
}






***The error msg below is repeated for each published item on [mainmenu]***


ERROR MSG

# Notice: Undefined property: stdClass::$link_title in

/*****/*****/*****/*****.com/templates/themza_j15_71/functions.php on line 152 Home



line 152: $title = "title=\"$tmp->link_title\"";


line 152 in context...

// Print a link if it exists
$active = $this->genClass ($tmp, $level, $pos);

$id='id="menu' . $tmp->id . '"';
$txt = '<span>' . $tmp->name . '</span>';
$title = "title=\"$tmp->link_title\"";


if ($tmp->url != null)
{
// Handle SSL links
$iSecure = $iParams->def('secure', 0);
if ($tmp->home == 1) {
$tmp->url = JURI::base();
} elseif (strcasecmp(substr($tmp->url, 0, 4), 'http') && (strpos($tmp->link,

'index.php?') !== false)) {
$tmp->url = JRoute::_($tmp->url, true, $iSecure);
} else {
$tmp->url = str_replace('&', '&amp;', $tmp->url);
}

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

More
15 years 1 month ago #89941 by xillibit
Hello,

please use MySQL 5.x.x because you will have issues with MySQL 4.x

Do you have checked that : docs.joomla.org/Installing_Joomla_on_Deb...hips_and_permissions (ownerships part) ?

I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: SecretGarden

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

More
15 years 1 month ago #89954 by SecretGarden
Thank you xillibit,

My hosting company have assured me they will be upgrading to MySQL 5.x.x in the next few months but I can only work with what I have in the meantime.

However I really don't understand how to change permissions / ownerships manually as documented in the link you provided. I have checked ownership through webshell - all the files/folders are owned by me and the permissions are 755 & 644 on folders and files respectively.

Still no joy... error message remains.

I can change permissions in webshell by ticking the correct boxes or I can change them through my ftp client - Filezilla

Thanks

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

More
15 years 1 month ago #89956 by SecretGarden
In Joomla ==> System Info ==> Directory Permissions all my directories are unwritable - is this correct?

administrator/backups/ Unwritable
administrator/components/ Unwritable
administrator/language/ Unwritable
administrator/language/en-GB/ Unwritable
administrator/modules/ Unwritable
administrator/templates/ Unwritable
components/ Unwritable
images/ Unwritable
images/banners/ Unwritable
images/stories/ Unwritable
language/ Unwritable
language/en-GB/ Unwritable
language/pdf_fonts/ Unwritable
media/ Unwritable
modules/ Unwritable
plugins/ Unwritable
plugins/content/ Unwritable
plugins/editors/ Unwritable
plugins/editors-xtd/ Unwritable
plugins/search/ Unwritable
plugins/system/ Unwritable
plugins/user/ Unwritable
plugins/xmlrpc/ Unwritable
templates/ Unwritable
Cache Directory /*****/*****/*****/*****/website.com/cache/ Unwritable
Cache Directory /*****/*****/*****/*****/website.com/administrator/cache/ Unwritable
Log Directory ($log_path) /*****/*****/*****/*****/website.com/logs/ Unwritable
Temp Directory ($tmp_path) /*****/*****/*****/*****/website.com/tmp/ Unwritable

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

More
15 years 1 month ago #89972 by sozzled
No, these settings are not correct. You are advised to set all your folders and files as recommended in Securing Kunena and to make sure that the folders/files are owned by Apache:Apache
The following user(s) said Thank You: SecretGarden

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

More
15 years 1 month ago #90130 by SecretGarden
Thanks sozzled.

I'm a total newbie to this and I've been reading through the links you and xillibit posted and anything else I could find since you posted your reply.

My permissions are as recommended but ownership is FTPUsername:FTPUsername - which I suspect is the problem - Joomla cannot write to the folders. I can get my hosting company to change ownership but how can I then access these files to edit etc.?

I will of course continue to inform myself and perhaps I will find the simple answer but using scripts etc to edit/delete etc. is beyond my expertise.

I must be missing or blind to some very obvious solution :S

Again many thanks
SG

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

Time to create page: 0.297 seconds