Kunena 7.0.11 & Kunena 6.4.16 – Security Updates Released and K7.1 in RC1 2

The Kunena team has announce the arrival of three simultaneous security release : K6.4.16, K7.0.11 and K7.1 RC2. Just a reminder K6.4.16 receives only securities fixes untill end of 2026, so it's advised for users to upgrade to K7.0.11. K7.0.11 is the last release of the K7.0 because it's replaced by K7.1 branch with the stable release in the corner. The translations for K7.1 on crowdin.com/project/kunena-forum-7-1 needs to be checked or improved becasue it has been generated by TM (Translation Machine).

Solved Just installed 4.0.7 , users cant upload avatars, returns 500 error

More
10 years 11 months ago - 10 years 11 months ago #170332 by nov33
Turned debug on, tells me this

Call to undefined function exif_imagetype() libraries/kunena/upload/upload.php on line 624

Looks like something to do with max filesize, but the forum has never had this issue before, no other changes other than updating to 4.0.7


This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Enabled | Joomla! SEF rewrite: Enabled | FTP layer: Disabled |

This message contains confidential information
htaccess: Exists | PHP environment: Max execution time: 30 seconds | Max execution memory: 128M | Max file upload: 20M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : js_novitas | author: Joomlashack | version: 1.1.1 | creationdate: September 2013

Kunena default template details : Blue Eagle | author: Kunena Team | version: 4.0.7 | creationdate: 2015-11-16

Kunena version detailed: Kunena 4.0.7 | 2015-11-16 [ Albareto ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: UddeIM 3.7

Third-party SEF components: None

Plugins: None

Modules: Kunena Latest 3.1.1.1 | Kunena Stats 3.1.1 | Kunena Login 3.1.1 | Kunena Search 3.1.1

Last edit: 10 years 11 months ago by nov33.

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

More
10 years 11 months ago #170338 by 810
ok then I think you haven't the php module exif enabled, try to load the module on the server panel, like cpanel.

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

More
10 years 11 months ago #170344 by 9themestore
Hi 810,

It working fine with K 4.0.6. But it does not work with K 4.0.7. What need I enable module to solve this issue?

Thanks

- Please provide your site url if it has been lived.
- Please share tip if it worked fine with you.
- Don't be shy about using the "Thanks" button below if you found my comment helpful :)

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

More
10 years 11 months ago - 10 years 11 months ago #170345 by gradys
Hello,
I've exactly the same problem - I've just updated from 4.0.6 to 4.0.7 and now I cannot upload attachments to posts.

I got "Fatal Error: Call to undefined function exif_imagetype() in libraries/kunena/upload/upload.php on line 624" error even when I try to upload Word documents (in ODS format).



This message contains confidential information

Database collation check: The collation of your table fields are correct

Joomla! SEF: Disabled | Joomla! SEF rewrite: Disabled | FTP layer: Enabled |

This message contains confidential information
htaccess: Missing | PHP environment: Max execution time: 60 seconds | Max execution memory: 128M | Max file upload: 120M

Kunena menu details:

Warning: Spoiler!

Joomla default template details : t3_blank | author: JoomlArt.com | version: 2.2.1 | creationdate: 30 July 2015

Kunena default template details : Blue Eagle | author: Kunena Team | version: 4.0.7 | creationdate: 2015-11-16

Kunena version detailed: Kunena 4.0.7 | 2015-11-16 [ Albareto ]
| Kunena detailed configuration:

Warning: Spoiler!
| Kunena integration settings:
Warning: Spoiler!
| Joomla! detailed language files installed:
Warning: Spoiler!

Third-party components: CommunityBuilder 2.0.12

Third-party SEF components: None

Plugins: Search - Kunena Search 3.1.1 | Content - Kunena Discuss 3.1.1

Modules: None

Last edit: 10 years 11 months ago by gradys.

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

More
10 years 11 months ago - 10 years 11 months ago #170346 by 810
Ok try this:

1) Enable the exif php module

or

2) Change libraries/kunena/upload/upload.php line 624 to
Code:
if (!$file->isAvatar && stripos($type, 'image/') !== false)

Change libraries/kunena/upload/upload.php line 632 to
Code:
if (!$file->isAvatar && stripos($type, 'image/') !== true)
Last edit: 10 years 11 months ago by 810.
The following user(s) said Thank You: 9themestore, nov33

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

More
10 years 11 months ago #170347 by 810
I will revert it for the next version.
The following user(s) said Thank You: nov33

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

Time to create page: 0.170 seconds