×
Kunena 6.0.6 & Kunena 5.2.13 & blue eagle5 1.6.8 released as security release (Yesterday)

The Kunena team has announce the arrival of Kunena 6.0.6 [K 6.0.6] which is now available for download as a native Joomla extension for J! 4.2.x. This is a security release.

Solved 500 Internal Server Error

More
6 years 10 months ago #1 by Sir Denzle
after users are trying to upload avatars they are getting this error...

500 Internal Server Error

any help or advice please?

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

More
6 years 10 months ago #2 by rich
Replied by rich on topic 500 Internal Server Error
Which Kunena version is installed? Please enable the Kunena debug mode. The error message should be more exactly.

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

More
6 years 10 months ago #3 by Sir Denzle
The error was detected in the Libraries.

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

For support click here: Kunena Support

Thats the error im getting after debug enabled

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

More
6 years 10 months ago #4 by 810

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

More
6 years 10 months ago #5 by lafe
Replied by lafe on topic 500 Internal Server Error
Hi!

I have just installed my very first Kunena-forum. And now I have the same problem. I can not understand what changes I need to do, with that link information?

Could you please help me?

I found upload.php with my ftp, but there is an empty line 624. I have the same error-message:

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

So I just don't understand what I should do with line 624 when it's empty?

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

More
6 years 10 months ago #6 by 810
Replied by 810 on topic 500 Internal Server Error
search for if (exif_imagetype($file->tmp_name))
that should be there nearly

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

More
6 years 10 months ago #7 by lafe
Replied by lafe on topic 500 Internal Server Error
I found it, it was at line 1247...?

I just added "!" front of exif, I asume something went wrong because this didn't solve the error.

Sorry for being such a blond, I can copypaste anything, I just have to know exactly what to do. :blush:

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

More
6 years 10 months ago #8 by 810
Replied by 810 on topic 500 Internal Server Error
you need to change it to:
if (stripos($type, 'image/') !== false)

and the code is 2x, 8 lines after you have the same code
The following user(s) said Thank You: lafe

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

More
6 years 10 months ago #9 by lafe
Replied by lafe on topic 500 Internal Server Error
Oh, it is working now, thank you so much for helping me! :)

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

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Time to create page: 0.080 seconds