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 Image URL errors

More
17 years 1 week ago #13486 by Spanka
Image URL errors was created by Spanka
A couple of errors for you that I encountered today...

1) The same header not found as mentioned in this post: www.kunena.com/forum?func=view&catid=81&id=12766 . This error only occurred on themes other than the default_ex theme. I think this may have something to do with the next error I found...

2) Upon default installation (which was straight forward, good work!) - the image paths were broken. The URLs on images were:

/default_ex/images/english%5

and should have been

/default_ex/images/english/

Hacked Fix
In class.kuena.php, around line 255, I did this:
Code:
#if (is_dir(KUNENA_ABSTMPLTMAINIMGPATH . '/images/' . KUNENA_LANGUAGE)) { # define('KUNENA_URLIMAGESPATH', KUNENA_TMPLTMAINIMGURL . '/images/' . KUNENA_LANGUAGE .DS); # } #else { define('KUNENA_URLIMAGESPATH', KUNENA_TMPLTMAINIMGURL . '/images/english/'); # }
Yes, forced it to use the maually specified english path. Im not great with php, but looking at this suggests that your DS function may not be functioning properly.

If the image paths were broken by concatenating DS, then I can only think that this may be causing file path issues all over the place.

Good luck with it.

Spanka.

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

More
17 years 3 days ago #14427 by slser
Replied by slser on topic Re:Image URL errors

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

Time to create page: 0.218 seconds