Our client has a pretty busy site using DT Register. Everything was working fine this entire month up until yesterday. Now we are getting internal erros on the front end and backend.
On the FRONT, we get time outs after the user chooses indvidual or group, and if they get past the registration form it times out on one of the next confirmation/payment screens.
On the backend when we go in to edit a registration or try to do a CSV export we also get internal server errors.
We checked with our hosting provider and spent a good 4-5 hours trying to troubleshoot why all of a sudden this is happening.
Here is what the hosting company said...
Hello,
For the delay in the page loading, this looks to be caused by the plugin you are using 'dtregister' querying the database inefficiently which is creating the delay in loading the site. I recommend checking with the developer to optimize the sql query so that it doesn't stay open as long.
20:51:08 read(4, "\1\0\0\1-U\0\0\2\3def\rbarbells_main\23jos_dtregister_user\23jos_dtregister_user\6userId\6userId\f?\0\v\0\0\0\3\3B\0\0\0W\0\0\3\3def\rbarbells_main\23jos_dtregister_user\23jos_dtregister_user\7eventId\7eventId\f?\0\v\0\0\0\3\1\0\0\0\0Y\0\0\4\3def\rbarbells_main\23jos_dtregister_user\23jos_dtregister_user\10userType"..., 16384) = 4602
20:51:08 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
20:51:08 write(4, "\177\0\0\0\3select * from jos_dtregister_user where CrossFit_Affiliate like '%CrossFit Fury\\r\\n%' and payment_verified = 1 and eventId = 1", 131) = 131
20:51:08 read(4, "\1\0\0\1-U\0\0\2\3def\rbarbells_main\23jos_dtregister_user\23jos_dtregister_user\6userId\6userId\f?\0\v\0\0\0\3\3B\0\0\0W\0\0\3\3def\rbarbells_main\23jos_dtregister_user\23jos_dtregister_user\7eventId\7eventId\f?\0\v\0\0\0\3\1\0\0\0\0Y\0\0\4\3def\rbarbells_main\23jos_dtregister_user\23jos_dtregister_user\10userType"..., 16384) = 4602
20:51:08 poll([{fd=4, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
20:51:08 write(4, "\201\0\0\0\3select * from jos_dtregister_user where CrossFit_Affiliate like '%CrossFit Fusion\\r\\n%' and payment_verified = 1 and eventId = 1", 133) = 133
20:51:08 read(4, "\1\0\0\1-U\0\0\2\3def\rbarbells_main\23jos_dtregister_user\23jos_dtregister_user\6userId\6userId\f?\0\v\0\0\0\3\3B\0\0\0W\0\0\3\3def\rbarbells_main\23jos_dtregister_user\23jos_dtregister_user\7eventId\7eventId\f?\0\v\0\0\0\3\1\0\0\0\0Y\0\0\4\3def\rbarbells_main\23jos_dtregister_user\23jos_dtregister_user\10userType"..., 16384) = 4602
The problem with the .csv export is very similar. The same plugin is gathering up the data from the database so that it can give it to the user to download in a .csv file but the query is taking too long and the php process gets killed midway through it. I recommend optimizing this as well but if you would like we can try raising the time limit of it for you. If you have any further questions about this please let us know.
Robert Metzger
Linux Administrator
http://www.hostgator.com/
Toll Free :1-866-96-GATOR (42867)
Local :1-713-574-5287
Can you please help we have almost 4000 registration and can't have issues like these.
Thanks in advance for your timely response!