We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

really slow site (60secs) | Forum

Kieron H Leader
Kieron H Jan 1 '14
hi my site www.thestatusfeed.com is realy slow it is taking 60 seconds according to pingdom 
Kieron H Leader
Kieron H Jan 1 '14
i also have it running using cloudflare 
MarkieMark67
MarkieMark67 Jan 1 '14
Disable Cloudflare and see what happens. 
Kieron H Leader
Kieron H Jan 2 '14
my hosting plan is x10premium infinity hosting 
Kieron H Leader
Kieron H Jan 2 '14
i recently had to re install oxwall aswell 
Kieron H Leader
Kieron H Jan 2 '14
and disabling country flag or cloudflare makes no difference 
Kieron H Leader
Kieron H Jan 2 '14
i have contacted my hosting and all they ever say is contact the script developers 
Sol Olsen
Sol Olsen Jan 2 '14
I have also speed problems when i use "country flag" thats why I not use it
Kieron H Leader
Kieron H Jan 2 '14
i have PM'ed you also i use the admin toolbox which is one of your plugins 
Sol Olsen
Sol Olsen Jan 2 '14
I also use admin toolbox
Kieron H Leader
Kieron H Jan 2 '14
hi for some reason now i have tryed creating a test user and it is ust reloading the join page 
Kieron H Leader
Kieron H Jan 2 '14
could you try signing up for the site and see if you can as it may just be me 
Sol Olsen
Sol Olsen Jan 6 '14
Mine countryflag plugin is working again.
Alain
Alain Aug 13 '15
I just want want to add this as it could be helpful for some users.

Each time I upgraded to a new version of CountryFlag, I'm suffering the same problems.  The JOIN form and even the user search (../users/search) is extremely slow at most times.  It's because a script wants to lookup the country from a remote site which is obviously overloaded and which returns a slow response.  Very seldom the JOIN form succeeds in registering the user.

I did the following to get rid of these problems :

- open the source  ow_plugins/countryflag/bol/service.php and disable all statements in the function detectGeoIP() by putting them between /* and */.  So now, there's no lookup, just an empty function which is not troubling anymore.


public static function detectGeoIp() {/* Do not use GEO IP detection, please $_SERVER['REMOTE_ADDR'] = !empty( $_SERVER["HTTP_CF_CONNECTING_IP"] ) ? $_SERVER["HTTP_CF_CONNECTING_IP"] : $_SERVER["REMOTE_ADDR"];        $ipAddress = $_SERVER['REMOTE_ADDR'];// This is an IP for testing//$ipAddress = '83.128.239.152';$result = self::freeGeoIpCall( $ipAddress );        if (!$result)return false;$geoData = json_decode( $result );return $geoData->country_code;*/}

Daisy Team
Daisy Aug 13 '15
Alian, thank you for the solution.