- Posts: 33
- Thank you received: 3
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] K 1.6 attachments: JFolder::create: Could not create directory
- philiplardner
-
Topic Author
- Offline
- Junior Member
-
Less
More
15 years 5 months ago #70751
by philiplardner
[Merged topic] K 1.6 attachments: JFolder::create: Could not create directory was created by philiplardner
I am unable to upload/insert images in K1.6.0 using the Add file button - I get the following error:
* JFolder::create: Could not create directory
* Failed to upload file '': Failed to create directory to store your file.
If I knew where Kunena was trying to create the new subdirectory I could change the permissions for the parent directory to allow it. I have tried setting /www/images/ to 777 (including all sub-dirs) but without success.
Any help appreciated,
Philip.
* JFolder::create: Could not create directory
* Failed to upload file '': Failed to create directory to store your file.
If I knew where Kunena was trying to create the new subdirectory I could change the permissions for the parent directory to allow it. I have tried setting /www/images/ to 777 (including all sub-dirs) but without success.
Any help appreciated,
Philip.
Please Log in or Create an account to join the conversation.
15 years 5 months ago - 15 years 5 months ago #70776
by @quila
Replied by @quila on topic Re: Where does Kunena 1.6.0 store uploaded images?
Hi Philip,
Kunena 1.6.x store all attachments in the folder
Never change permissions to 777, with 775 upload will works well
Regards
Kunena 1.6.x store all attachments in the folder
Joomla root / media / kunena / attachments /
Never change permissions to 777, with 775 upload will works well
Regards
Last edit: 15 years 5 months ago by @quila.
Please Log in or Create an account to join the conversation.
- philiplardner
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 3
15 years 5 months ago #70792
by philiplardner
Replied by philiplardner on topic Re: Where does Kunena 1.6.0 store uploaded images?
Thanks @quila - I tried setting this directory permissions to 775 but I'm still getting the same error message at the top of the page, and "Attachment Test-image.jpg not found" in the body oy the message that I am trying to insert the image into.
Philip.
Philip.
Please Log in or Create an account to join the conversation.
15 years 5 months ago #70803
by madLyfe
word up!
Replied by madLyfe on topic Re: Where does Kunena 1.6.0 store uploaded images?
u have prolly not set your upload limit on images to be large enough.. by default the upload image limit is very small, like 125kb or something..
word up!
Please Log in or Create an account to join the conversation.
- philiplardner
-
Topic Author
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 3
15 years 5 months ago - 15 years 5 months ago #70810
by philiplardner
Replied by philiplardner on topic Re: Where does Kunena 1.6.0 store uploaded images?
No, I had already increased the max file upload size to 1000kb and also enabled the ftp layer in Joomla global config. Still no joy. Hmm...
...a few minutes later... Cracked it! 775 permissions on www/media/kunena/attachments was not enough. setting it to 777 solves the problem... but is this now a security risk?
...a few minutes later... Cracked it! 775 permissions on www/media/kunena/attachments was not enough. setting it to 777 solves the problem... but is this now a security risk?
Last edit: 15 years 5 months ago by philiplardner.
Please Log in or Create an account to join the conversation.
15 years 5 months ago #70819
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic Re: Where does Kunena 1.6.0 store uploaded images?
Our advice is that users should never set folder and/or file permissions above the Joomla recommended values (see
Securing Kunena
).
It may also be appropriate to examine the ownership of these files (with a CHOWN to Apache).
It may also be appropriate to examine the ownership of these files (with a CHOWN to Apache).
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
Time to create page: 0.258 seconds