Keyword

The connection was reset when uploading images

  • Keith Dick
  • Keith Dick's Avatar Topic Author
  • Offline
  • Junior Member
More
12 years 9 months 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 8 months 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 8 months 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 8 months 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.

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

More
12 years 8 months 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 8 months 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.

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

More
12 years 8 months 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 7 months 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
12 years 5 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
12 years 5 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.

  • Zebra Systems, Inc.
  • Zebra Systems, Inc.'s Avatar
  • Offline
  • New Member
More
12 years 5 months ago #101831 by Zebra Systems, Inc.
Replied by Zebra Systems, Inc. on topic Re: The connection was reset when uploading images
I just put MAMP and Joomla 2.5 and the newest K2 on my MAC with Mountain Lion and have the same issue - the connection gets reset on uploading images, even small images.

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

More
12 years 5 months ago #101832 by Shayne Bartlett
Replied by Shayne Bartlett on topic Re: The connection was reset when uploading images
On Mountain Lion I can replicate this using MAMP set to php5.4, reverting to 5.2 and the error is gone, so temp fix may be to simply revert to older version of PHP. I haven;t tested 5.3 yet.

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

More
12 years 5 months ago #101833 by gazdog01
Im now successfully using php 5.4.6. Stumbled across this the other day. Makes setting up a web server on a mac a breeze.... php-osx.liip.ch/

Joomla 2.5 and k2 works fine when using this setup.

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

More
12 years 3 months ago #101834 by JoomlaWorks
Replied by JoomlaWorks on topic Re: The connection was reset when uploading images
@Shayne Bartlett 5.2 is too old. Use 5.3 instead which is considered PHP's "production" version.

@Gary that's good news and it probably means the problem is some MAMP specific setup for PHP.

Can you all guys please switch Joomla! error reporting to "maximum" (located in the Global Configuration settings) and report back with the errors printed on screen?

My guess is that the upload class is probably to blame but perhaps only with PHP 5.4.

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

More
12 years 3 months ago #101835 by Angela Bendall
Replied by Angela Bendall on topic Re: The connection was reset when uploading images
Hi, I too am having the same problem.
I am very new to Joomla and have also just installed K2 today (which I am already loving by the way, even though I have the same error)!
I am using Mac OS X 10.6.8 and have a local installation of Joomla 2.5 9. I'm using MAMP and PHP is 5.4.4.

Even without K2 installed I've been seeing lots of error messages when working in Joomla. After installing K2 I am still seeing the same kinds of errors. The list below was displayed after selecting an Item to edit:

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 77

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 87

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 373

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 494

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 405

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 690

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/inlinepopups/classes/config.php on line 16

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/source/classes/config.php on line 32

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 690

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/cleanup/classes/config.php on line 18

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 77

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 77

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/code/classes/config.php on line 20

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 77

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/format/classes/config.php on line 18

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 612

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/media/classes/config.php on line 17

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically, assuming $this from incompatible context in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/administrator/components/com_jce/models/editor.php on line 77

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/clipboard/classes/config.php on line 17

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/source/classes/config.php on line 17

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/table/classes/config.php on line 16

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/visualchars/classes/config.php on line 16

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/visualblocks/classes/config.php on line 16

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/imgmanager/classes/config.php on line 17

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/spellchecker/classes/config.php on line 15

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/article/classes/config.php on line 15

Strict Standards: Non-static method WFEditor::getInstance() should not be called statically in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/components/com_jce/editor/tiny_mce/plugins/advlist/classes/config.php on line 15

Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with JRegistry::loadSetupFile() in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/libraries/joomla/html/parameter.php on line 24

Now, when I first installed the RocketTheme template, I quickly learned that I had to increase the memory in config.php to 128M. So, that's done.

So, now that I've installed K2, I've imported my existing content to K2. Now I'm trying to insert an image into an item. As soon as I hit save I receive the same error as everyone else in this thread:

The connection was reset

The connection to the server was reset while the page was loading.

The site could be temporarily unavailable or too busy. Try again in a few
moments.
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.

I hope that the error messages above will go some way with trying to solve this problem? I have error reporting set to maximum but I can't see any error specifically relating to the crash I'm receiving when inserting an image.

Apologies for the rather long message!

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

More
12 years 3 months ago #101836 by Angela Bendall
Replied by Angela Bendall on topic Re: The connection was reset when uploading images
...and now that I have maximum error reporting set, the actual page on the site is showing the following error:

Strict Standards: Declaration of JParameter::loadSetupFile() should be compatible with JRegistry::loadSetupFile() in /Applications/MAMP/htdocs/cerulean-rocketlauncher_j25/libraries/joomla/html/parameter.php on line 24

...if that's any help?!

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


Powered by Kunena Forum