Bug on Error Handling ??

23 views
Skip to first unread message

Viktor Iwan

unread,
Apr 25, 2012, 8:05:36 AM4/25/12
to Joomla! General Development
Hello, i just waste my 2 hours because suddenly one of the 'view'
return the following error (on firefox):

"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 tested on chrome and similar error happen
i checked on display_error, turn on debug on joomla... and nothing
happen. i can't pin point what cause problem.
After 2 hours of 'blind' debuging (yes i even tweak jDatabase for
this)... the error still happen.

This is frustating !! after i calm down a bit.. i begin to trace my
code per line...
and i found out, i mistakenly only type the wrong field on
getListQuery() where 'a.title' is written as 'a.titles'... dumb !

so my question is how come such simple error can cause 'The connection
was reset' ? what should i do to avoid this kind of problem.

I'm on Zend Server (Php 5.3.x), does this problem only happen to zend
server as the issue post on :
https://github.com/joomla/joomla-cms/issues/179

Sam Moffatt

unread,
Apr 25, 2012, 11:54:45 AM4/25/12
to joomla-de...@googlegroups.com
Sounds like you are triggering the server process to segfault. To be
honest I've been able to do this a lot recently with PHP5.3 on Mac OS
X Snow Leopard without requiring Zend Server. I do wonder if some of
it is xdebug related or some form of other Zend Engine Extension (Zend
Server has plenty of these) that is playing havoc with the system.

Fundamentally if we're segfaulting the host process that's a bug in
PHP. As PHP developers, we're not supposed to be able to do that. The
fact that it occurs only during an error indicates that something is
trying to pick up and is not working properly. If it does occur, try
running a simple PHP instance without any fancy Zend extensions and
seeing if it gives you a better error message.

Also what DB backend are you using and OS? (mysql, mysqli, with or
without mysqlnd; pg, mssql, etc)

Cheers,

Sam Moffatt
http://pasamio.id.au
> --
> You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
> To post to this group, send an email to joomla-de...@googlegroups.com.
> To unsubscribe from this group, send email to joomla-dev-gene...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/joomla-dev-general?hl=en-GB.
>
Reply all
Reply to author
Forward
0 new messages