Kunena 6.3.0 released

The Kunena team has announce the arrival of Kunena 6.3.0 [K 6.3.0] in stable which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x/5.1.x. This version addresses most of the issues that were discovered in K 6.2 and issues discovered during the last development stages of K 6.3

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

More
8 years 5 months ago - 8 years 5 months ago #1 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: 8 years 5 months ago by nov33.

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

More
8 years 5 months ago #2 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
8 years 5 months ago #3 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
8 years 5 months ago - 8 years 5 months ago #4 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: 8 years 5 months ago by gradys.

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

More
8 years 5 months ago - 8 years 5 months ago #5 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: 8 years 5 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
8 years 5 months ago #6 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.

More
8 years 5 months ago #7 by 810
Attachments:
The following user(s) said Thank You: nov33

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

More
8 years 5 months ago #8 by gradys

810 wrote: Ok try this:

1) Enable the exif php module


Enabling exif module solved the problem.

Thank you for your help.

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

More
8 years 5 months ago #9 by nov33

810 wrote: or try this build


I just installed this on a test site and took the upload.php file from it and uploaded that to my live site in place of the existing upload.php, and it fixed the issue, as your post #4 would.

Thanks again. :)

I will attach the upload.php as a txt for anyone who wants to just swap that out, so long as you think that is ok to do 810

regards


File Attachment:

File Name: upload.txt
File Size:17 KB
Attachments:
The following user(s) said Thank You: 9themestore

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

More
8 years 5 months ago #10 by ruud
Hi, just to add to the discussion: on my providers directadmin panel, there are a lot of php modules that I can enable, but exif is not one of them :(
Checked also with other hosters, also not present...

So my conclusion is that this module is not as commonly available as we assume it is.

sharing = caring

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

Time to create page: 0.693 seconds