Kunena 7.0.8 Released
The Kunena team has announce the arrival of Kunena 7.0.8 [K 7.0.8] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.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
Solved [K4.0.0B2] Error Uploading Attachment
11 years 3 months ago #164458
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic [K4.0.0B2] Error Uploading Attachment
Hello,
I need to look to it to see what's going on, i will tell you when i will have found a fix
I need to look to it to see what's going on, i will tell you when i will have found a fix
I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: ssh
Please Log in or Create an account to join the conversation.
11 years 3 months ago #164582
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic [K4.0.0B2] Error Uploading Attachment
You can try this one :
github.com/Kunena/Kunena-Forum/pull/3057
I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: ssh
Please Log in or Create an account to join the conversation.
11 years 3 months ago - 11 years 3 months ago #164588
by ssh
Replied by ssh on topic [K4.0.0B2] Error Uploading Attachment
Kunena 4.0.0-BETA3-DEV
Getting 500 Internal Server Error when click on submit button
I have this in my file:
libraries/kunena/attachment/attachment.php
Getting 500 Internal Server Error when click on submit button
I have this in my file:
libraries/kunena/attachment/attachment.php
Code:
if ($file->success)
{
$finfo = new finfo(FILEINFO_MIME);
$type = $finfo->file(JPATH_ROOT . '/media/kunena/attachments/' . $this->userid . '/' . $fileInput['name']);
if (stripos($type, 'image/') !== false)
{
$imageInfo = KunenaImage::getImageFileProperties(JPATH_ROOT . '/media/kunena/attachments/' . $this->userid . '/' . $fileInput['name']);
if (number_format($file->size / 1024, 2) > $config->imagesize || $imageInfo->width > $config->imagewidth || $imageInfo->height > $config->imageheight)
{
// Calculate quality for both JPG and PNG.
Last edit: 11 years 3 months ago by ssh.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12288
- Thank you received: 2537
11 years 3 months ago #164589
by rich
Important! Always create a backup before you make any changes to your website!
Replied by rich on topic [K4.0.0B2] Error Uploading Attachment
Try it with this file.
Important! Always create a backup before you make any changes to your website!
The following user(s) said Thank You: ssh
Please Log in or Create an account to join the conversation.
11 years 3 months ago #164591
by ssh
Replied by ssh on topic [K4.0.0B2] Error Uploading Attachment
Ok, here is the results
I have 2 sites
A blank installation
and
An old installation migrated from kunena 3.0.8 to 4
The problem has been fixed for my blank installation.
My old installation (The one that was migrated from 3.0.8 to 4) is the one that still have problems with 500 internal server error.
I have 2 sites
A blank installation
and
An old installation migrated from kunena 3.0.8 to 4
The problem has been fixed for my blank installation.
My old installation (The one that was migrated from 3.0.8 to 4) is the one that still have problems with 500 internal server error.
Please Log in or Create an account to join the conversation.
11 years 3 months ago #164592
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic [K4.0.0B2] Error Uploading Attachment
Can-you enable debug mode from Joomla! and Kunena to see more details on error 500 ?
I don't provide support by PM, because this can be useful for someone else.
The following user(s) said Thank You: ssh
Please Log in or Create an account to join the conversation.
Time to create page: 0.269 seconds