I am using elgg 1.7.10. I have also this same issue...
I had tried to solve by put mysql_close() function in many places...
But it will affect the system messages...
If the mysql_close() function put ent of the pagehandler.php, the system message will not cleared. so the every refresh duplicate message will shown...
If the mysql_close() function put in the shutdown section, the system message will not displayed in anyware...
Anybody know how to solve this issue...?
Thanks in advance....
I think this is a standard problem for elgg user. You really need to have a machine powerful enough to host elgg. My site ran fine for about 6 months with 100 visitors. 1k-10k (i don't know what the number is but it's somewhere in the Ks) is where problems start. I have reviewed a lot of people with this problem over the past couple of months from posts on this site and that be that, the solution is to get a better server. If you are on shared hosting that is just troublesome. Even with a few visitors it will generate a lot of queries thus hitting your MYSQL limits. That being said I'm not a linux admin and can only share with you what I read and my experience. If someone has a solution then that be that =)
@Akhilesh: Elgg 1.7 does not create persistent connections (it uses mysql_connect). If you insist on calling mysql_close(), place it in your own function and register that function with register_shutdown_function.
Hi, my name is Michael King.
I'm the guy that originally coded the Myspace Content Grab class. I've seen a lot of negative comments aimed at Dhrup about how he's used my class.
I'm not sure how too take it, personally I find it insulting.
Firstly, I want to thank Dhrup for using my class.
Secondly, I want to thank him again for keeping the copyrights there.
Thirdly, I put it on PHP Classes to get used, whats with the complaints?
At the end of the day, I've given Dhrup my blessing to continue coding.
And if anyone has any complaints, email me at my googlemail account.
(check copyright for address)
I really think this boils down to just a few small issues, people don't read, don't understand, and/or don't care, about how the licensing systems work. If everyone did, the ONLY bitching here, would come from the people who want EVERYTHING for free. Just my opinion.
I think this issue has been discussed in most opensource community. To avoid all the mis-understanding It will be better if use elgg dot org only for free stuff and provide other as the commercial site. Developer who provide a free stuff will get help from the users for test, to find bugs, feed back etc. to improve their commercial version.
The developers have the freedom if they want to get paid for their commercial version, as long as they also keep all previous credits in their source code.
To make it it simple just mentioned that stuff is a free version rather than say it is not for production and have to pay full version for the production site.
A free version with basic features but can be used for production site on the other hand will be a good promotion for the developers itself. Other dev also can use it to build their own rather code it from the scratch. Thats all the beauty of opensource concept.
Just my 2c
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.