- Posts: 3
COMMUNITY FORUM
Internal Server Error when adding title image
- Guido
-
Topic Author
- Offline
- New Member
Less
More
11 years 1 month ago #126695
by Guido
Internal Server Error when adding title image was created by Guido
Hi there,
I have a question regarding the title image of a K2 article. I always get an "Internal Server Error" (I think its errorcode 500) when I want to add a title image to an article by using the image tab above the K2 editor window. If I do the same with the button "image" below the input window, it works.
I have tried this with several templates (including standard templates and gk_magazine), tried it with different articles and images. Also I used images from the server and uploaded ones but it does not work. I always get the same error.
Since the normal insertion of images works, I suspect the error somewhere in K2. Does anyone have an idea what I'm doing wrong?
Here some data:
K2 2.6.8
Joomla 3.2.3
Provider: All-Inclusive
Kind regards
I have a question regarding the title image of a K2 article. I always get an "Internal Server Error" (I think its errorcode 500) when I want to add a title image to an article by using the image tab above the K2 editor window. If I do the same with the button "image" below the input window, it works.
I have tried this with several templates (including standard templates and gk_magazine), tried it with different articles and images. Also I used images from the server and uploaded ones but it does not work. I always get the same error.
Since the normal insertion of images works, I suspect the error somewhere in K2. Does anyone have an idea what I'm doing wrong?
Here some data:
K2 2.6.8
Joomla 3.2.3
Provider: All-Inclusive
Kind regards
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126696
by Lefteris
Replied by Lefteris on topic Re: Internal Server Error when adding title image
Hi. Joomla! does not resize any images so there is no reason to fail. K2 on the other hand resize the image. 9 out of 10 times this is caused by memory limit and server setup issues. Go to K2 parameters and under Advanced Image Settings set the Enforce memory limit (in MBs) for image processing to 128. Also go to K2 information page and check that everything looks fine there.
Please Log in or Create an account to join the conversation.
- Guido
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 3
11 years 1 month ago - 11 years 1 month ago #126697
by Guido
Replied by Guido on topic Re: Internal Server Error when adding title image
Hi Lefteris,
first, thank you for your reply!
I changed the setting to 128 but it didnt help. Also all parameters and entries on the K2 information page look fine.
Nevertheless, when I took a look in the warnings of the extension manager I found this:
"The PHP temporary directory is not set
The PHP temporary directory is the directory that PHP uses to store an uploaded file before Joomla! can access this file. Whilst the directory not being set isn't always a problem, if you are having issues with manifest files not being detected or uploaded files not being detected, setting this in your php.ini file might fix the issue."
Is this maybe in any way related to the issue?
Kind regards
UPDATE
To get more insight into the problem I just tried to add a smaller picture to an existing K2 article by loading it up from my pc instead of using the media manager to get it from the server. This time it worked!
Then I tried it again with another small picture but this time I first loaded it up to the media manager and then tried to add it to the article. This time I got "Error Local file doesn't exist."
Now I tried to add the very same picture that caused the error by uploading it directly from my pc (without using the media manager before) and now again got the internal server error.
Its getting odd now (at least to me).
first, thank you for your reply!
I changed the setting to 128 but it didnt help. Also all parameters and entries on the K2 information page look fine.
Nevertheless, when I took a look in the warnings of the extension manager I found this:
"The PHP temporary directory is not set
The PHP temporary directory is the directory that PHP uses to store an uploaded file before Joomla! can access this file. Whilst the directory not being set isn't always a problem, if you are having issues with manifest files not being detected or uploaded files not being detected, setting this in your php.ini file might fix the issue."
Is this maybe in any way related to the issue?
Kind regards
UPDATE
To get more insight into the problem I just tried to add a smaller picture to an existing K2 article by loading it up from my pc instead of using the media manager to get it from the server. This time it worked!
Then I tried it again with another small picture but this time I first loaded it up to the media manager and then tried to add it to the article. This time I got "Error Local file doesn't exist."
Now I tried to add the very same picture that caused the error by uploading it directly from my pc (without using the media manager before) and now again got the internal server error.
Its getting odd now (at least to me).
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month ago #126698
by Lefteris
Replied by Lefteris on topic Re: Internal Server Error when adding title image
Have you checked K2 information page as i suggested? You can also try to set error reporting to "Maximum" under Joomla! configuration. This should give you the actual error.
Please Log in or Create an account to join the conversation.