Keyword

The connection was reset when uploading images

  • Keith Dick
  • Keith Dick's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 month ago #101821 by Keith Dick
When I upload an image in a K2 item the page times out and gives the error:
"The connection was reset
The connection to the server was reset while the page was loading."

I can upload the same images via the media manager without any errors.

If I try to add the image to the K2 article direct from a pre-uploaded image in the media manager I get the same error.

I did not get this when first installed.

Can anyone suggest how I can rectify this problem?

Thanks.

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

More
12 years 1 month ago #101822 by The Vision Board
Replied by The Vision Board on topic Re: The connection was reset when uploading images
Who also like to know why this is happening. It was working now just bombs out.

Any suggestions would be greatly appreciated!

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

  • Keith Dick
  • Keith Dick's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 1 month ago #101823 by Keith Dick
I think it is due to the size of the image I was trying to upload.

Having reduced the size of the file it will work. This doesn't make a lot of sence though because I can upload the full size image using the Joomla image manager without any problem.

Could it be related to the amount resources the host uses to process the lager image in K2?

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

More
12 years 1 month ago #101824 by Lefteris
Hi. When you upload an image using the media manager you just perform the upload. When you add an image to K2 , beside the upload, the image needs to be scaled in 6 different dimensions. So probably you need to use reduced size images or tweak PHP settings like memory limit, max execution time etc.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 1 month ago #101825 by The Vision Board
Replied by The Vision Board on topic Re: The connection was reset when uploading images
php.ini settings are:

;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;

max_execution_time = 120 ; Maximum execution time of each script, in seconds
max_input_time = 180 ; Maximum amount of time each script may spend parsing request data
memory_limit = 128M ; Maximum amount of memory a script may consume (8MB)

Should I increase or decrease?

I am going to ask JoomlaRT for a solution as the site is running a template which they designed...

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

More
12 years 1 month ago #101826 by Lefteris
The 128M for memory limit is fine. But in case you are uploading very large (huge) images increasing it may help.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
12 years 1 month ago #101827 by The Vision Board
Replied by The Vision Board on topic Re: The connection was reset when uploading images
Hi Lefteris

Thank you for your prompt reply and suggestion, much appreciated! The size of the file I am trying to upload is 69 677 bytes (tiny)

I think this a JoomlaRT issue, unless I'm missing something...

I really do appreciate your valued feedback! It may help others on this forum.

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

More
12 years 1 week ago #101828 by gazdog01
Im now having this problem. On two different Macs running LAMP with mountain lion.
Ive checked the php.ini and all values should be good enough.

Anyone got any suggestions? Cheers

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

More
11 years 10 months ago #101829 by Reidar Sorensen
Replied by Reidar Sorensen on topic Re: The connection was reset when uploading images
Any solutions to this topic?
I'm experiencing the same issue. Joomla v3.0.2 - K2 v2.6.2

Getting Apache error:
httpd(7650) malloc: *** error for object 0x7fff5fbfd990: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
[Thu Nov 29 17:31:37 2012] [notice] child pid 7650 exit signal Abort trap (6)

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

More
11 years 10 months ago #101830 by gazdog01
I never had a repsonse to the problem. It's a hosting problem as far I can see, not allocating enough memory to the process causes it to fail.

I had to install an new lamp stack for the mac which solved the problem.

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


Powered by Kunena Forum