No data received error

Problems with the Mac OS X version of XAMPP, questions, comments, and anything related.

No data received error

Postby dashaluna » 22. January 2014 16:07

Hello,

I've been using XAMPP setup on my MAC for about 3 years now. All was working fine, until about 2 weeks ago.

I've started to get the following error when loading a site on my localhost:

No data received
Unable to load the webpage because the server sent no data.
Error code: ERR_EMPTY_RESPONSE

I'm using Chrome browser. If I reload the page about 4-5 times the information loads. However, when I'm saving something in a WordPress website and the 'No data received' screen appears, all the data I specified is lost and I have to do it again. This really slows me down and very annoying.

Anyone came across this before? I've cleaned the cache and cookies and restarted browser, but that didn't help.

I would hugely appreciate any help and advice.

Many thanks,
Dasha
dashaluna
 
Posts: 1
Joined: 22. January 2014 16:02
Operating System: MAC OS v10.6.8

Re: No data received error

Postby webeno » 01. February 2014 16:27

Hi Dasha,

Did you manage to solve your issue with this one? I'm having the exact same issue. Looks like this is only happening on one of my sites, the one that uses a quite complex file and database structure and is written in PHP (it's actually the Yii framework).

If you have any suggestions on how you got around this error, it would be greatly appreciated if you could write them down here, for everybody's benefit ;)

Thanks a lot in advance!

Cheers!
webeno
 
Posts: 13
Joined: 27. July 2009 09:14
Operating System: OS X 10.9

Re: No data received error

Postby webeno » 02. February 2014 10:23

These (and versions of these) are what my log is full with right now:

[Sun Feb 02 01:05:39 2014] [notice] child pid 4049 exit signal Segmentation fault (11)

and

httpd(3592,0xa13c61a8) malloc: *** error for object 0x4b40004: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
webeno
 
Posts: 13
Joined: 27. July 2009 09:14
Operating System: OS X 10.9

Re: No data received error

Postby Nobbie » 02. February 2014 13:48

Obviously a bug in Apache (and/or PHP, if is running as module).

I dont think that the MacOSX Version is maintained very well, i would recommend to setup a Linux Server and run your development there. Linux is the base development environment for all the webtools like Apache, MySQL, PHP, therefore it usually runs more stable and faster.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: No data received error

Postby webeno » 02. February 2014 13:59

I do have a Linux server to use, but I doubt it can possibly be faster than connecting to localhost. Added to that, I'd have to upload the files I'm changing everytime before I could see the results. These are just a couple of the obvious reasons why people use XAMPP, I believe.

Also, I never had these issues for my other (smaller) sites, it's really just this slightly bigger one that's causing issues. It really seems like it has something to do with memory size and/or timeout settings, though I tried a few suggestions already that didn't yield positive results unfortunately...
webeno
 
Posts: 13
Joined: 27. July 2009 09:14
Operating System: OS X 10.9

Re: No data received error

Postby Nobbie » 05. February 2014 14:41

webeno wrote:I do have a Linux server to use, but I doubt it can possibly be faster than connecting to localhost. Added to that, I'd have to upload the files I'm changing everytime before I could see the results.


I did not tell you to setup an Online Linux Server, you got this totally wrong. Simply a linux machine at home with Apache etc. (same as OSX with Xampp, but Linux instead).

webeno wrote:These are just a couple of the obvious reasons why people use XAMPP, I believe.


The reason, why people use Xampp, is the fact, that it is easier to install than a native Apache Version. But this is not right for Linux, there are many distributions which are coming with a sophisticated software installation tool, which allows to install Apache etc. easily as well. The big disadvantage of Xampp is, that you cannot upgrade single components, you cannot integrate bug fixes etc., what is quite easy on linux enviromnents.

webeno wrote:Also, I never had these issues for my other (smaller) sites, it's really just this slightly bigger one that's causing issues. It really seems like it has something to do with memory size and/or timeout settings, though I tried a few suggestions already that didn't yield positive results unfortunately...


But now you have this issue (and it does not help you in any way, that this the first one) and I am very sure, that this would not happen on a better maintained Linux version.

It is only a suggestion, of course can do what you want.
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: No data received error

Postby webeno » 05. February 2014 14:44

Appreciate the feedback, Nobbie, but this wasn't really the answer / solution I was looking for.

Thanks anyway.
webeno
 
Posts: 13
Joined: 27. July 2009 09:14
Operating System: OS X 10.9

Re: No data received error

Postby Nobbie » 05. February 2014 14:48

webeno wrote:Appreciate the feedback, Nobbie, but this wasn't really the answer / solution I was looking for.


As already said - it is on you. I am pretty sure that you wont get a fix for your current environment, as to many tools are involved. Even if this is not the answer you were looking for - did you get a better one somewhere else?
Nobbie
 
Posts: 13182
Joined: 09. March 2008 13:04

Re: No data received error

Postby webeno » 05. February 2014 16:03

I'm still hoping, can I? :)
webeno
 
Posts: 13
Joined: 27. July 2009 09:14
Operating System: OS X 10.9

Re: No data received error

Postby Altrea » 05. February 2014 16:22

We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: No data received error

Postby webeno » 05. February 2014 17:31

@Altrea: I have seen that stackoverflow thread, however I don't only see this issue in Chrome but on Firefox too. There is says "Connection reset by the server". I also tested in Safari, it happens there too but Safari just displays an empty (blank / white) page instead. Reloading (sometimes a couple of times) finally displays the site.
webeno
 
Posts: 13
Joined: 27. July 2009 09:14
Operating System: OS X 10.9

Re: No data received error

Postby Altrea » 05. February 2014 18:16

Just tried. Then i can just agree with Nobbie that we are not able to solve your problem because your current system has way to many influence factors.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: No data received error

Postby webeno » 05. February 2014 18:35

I know this is kinda offtopic, but can you guys suggest me a good way to maybe "emulate" a Linux server on my Mac, if that's possible or recommended at all?
webeno
 
Posts: 13
Joined: 27. July 2009 09:14
Operating System: OS X 10.9

Re: No data received error

Postby Altrea » 05. February 2014 18:48

I don't know if it is a good solution on Mac, but virtualbox is a very well known crossplatform virtualization software.

Linux can run even on older hardware so i would recommend to buy or get an old computer and build up a dedicated linux based development server.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: No data received error

Postby webeno » 05. February 2014 20:40

Thanks for the advice, I might give it a try!
webeno
 
Posts: 13
Joined: 27. July 2009 09:14
Operating System: OS X 10.9

Next

Return to XAMPP for macOS

Who is online

Users browsing this forum: No registered users and 8 guests