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 Wrong path for attachements uploaded (images or files)

More
16 years 10 months ago - 16 years 10 months ago #21247 by webparrot
I saw a post on this but no solution. When I try to add an image to the forum its not uploading. I noticed double // in the src for the image.

images/fbfiles//images/carrots.jpg[/img]

This is probably why the images are not getting uploaded. Anyone know of a way to fix this?

Thanks
Last edit: 16 years 10 months ago by xillibit. Reason: title edited

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

More
16 years 10 months ago #21249 by sozzled
Replied by sozzled on topic Re:Images won't upload
Actually, I'm not sure I understand what the problem is :unsure:

Could you please provide some details on how your situation isn't working for you. Are you trying to copy files from your PC to this website? To you own website? ARe you trying to use files already stored on your own website? What are you trying to do do when the // in the "src" appears? :)

I'm sorry but "images/fbfiles//images/carrots.jpg[/img]" doesn't make any sense

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

More
16 years 10 months ago #21265 by xillibit
Replied by xillibit on topic Re:Images won't upload
Hello,

I have find where the issue is happen, open the file components/com_kunena/lib/kunena.image.upload.php and at line 101 replace this :
Code:
$code = '[img]' . KUNENA_LIVEUPLOADEDPATH. '/images/' . $newFileName . '[/img]';

by this :
Code:
$code = '[img]' . KUNENA_LIVEUPLOADEDPATH. 'images/' . $newFileName . '[/img]';

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.

More
16 years 10 months ago #21353 by sozzled
Replied by sozzled on topic Re:Images won't upload
OK, sorry ... Geez! Needed the magnifying glass to see that!! :blush:

@xillibit: is this something that affects all users of Kunena 1.5.3? Do we all have to make this change? Perhaps, instead of changing that file, what's needed is to change where KUNENA_LIVEUPLOADEDPATH is defined?

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

More
16 years 10 months ago #21362 by jerry
Replied by jerry on topic Re:Images won't upload
sozzled wrote:

OK, sorry ... Geez! Needed the magnifying glass to see that!! :blush:

@xillibit: is this something that affects all users of Kunena 1.5.3? Do we all have to make this change? Perhaps, instead of changing that file, what's needed is to change where KUNENA_LIVEUPLOADEDPATH is defined?

That's true. KUNENA_LIVEUPLOADEDPATH should be changed. I think it was already reported.
components/com_kunena/class.kunena.php line 177
before:
Code:
define('KUNENA_LIVEUPLOADEDPATH', KUNENA_JLIVEURL . 'images/fbfiles/');
after:
Code:
define('KUNENA_LIVEUPLOADEDPATH', KUNENA_JLIVEURL . 'images/fbfiles');

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

More
16 years 10 months ago #21363 by xillibit
Replied by xillibit on topic Re:Images won't upload
I think no, because if you change the KUNENA_LIVEUPLOADEDPATH, this will impact all the places which uses this constants.

I have find too, that the files uploaded as the same problem with two slashes instead one.

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.

Time to create page: 0.244 seconds