General ⇒ $this->Website :: Archives ⇒ "Enable Update Service" having issues when DF servers downed :: Archived ⇒ Community Forums ⇒ CPG Dragonfly™ CMS
Forum Index$this->Website

Archived ⇒ "Enable Update Service" having issues when DF servers downed


Perhaps this is a known bug or perhaps it is not considered a bug.

While this site was offline, it made it impossible to log in to admin accounts at our site. I traced through the code and eventually found that the problem was the "Enable Update Service" option under Admin > Main Settings. With the update service turned on the code tries to contact dragonflycms.org. With the site down, the update service obviously failed to connect. The script does not gracefully detect this condition and instead it timed out resulting in a blank page error whenever you tried to access admin.php

Just thought you'd like to know since this is probably not a test case that was ever considered.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/1.3.37/4.1.22/5.0.5/9.1.2.1


Why did this get moved? This is a major problem with the CMS not this site. Unless not being able to log in to admin at your own site is not considered a major problem.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/1.3.37/4.1.22/5.0.5/9.1.2.1


Topic of this forum:

This Site

Post your comments about this site or bugs found on this website in here. Please post errors, bugs or other problems found in your installation in the appropriate forum.



The administrator of this website probably moved it here because Your issues relates to this forum topic. Thats why.

Please enter your server specs in your user profile! 😢


I didn't have this problem - I noticed a significant delay, but not a complete time-out...

Admin - Great Lakes Web Designs
Theme Designer - WebSite Guru Designs
Site Admin - Families with Food Allergies

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux 2.6.27-grsec/Apache 2.2.11/MySQL 5.0.67-community-log/PHP 5.2.8/DF 9.2.1


the delay should be around 3 seconds only.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Fedora 25 / Apache 2.4.27 / MariaDB 10.1.26 / PHP 7.1.10 / Mercurial


I had the same issue occur. Is there a way to keep it from happening again?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[CentOS release 4.6 (Final)] | [Apache 1.3.37] | [MySQL 4.1.21-standard-log (client: 4.1.21) | [PHP 4.4.7] | [DF 9.2.1] | [FPro 2.0.2]


DJ Maze wrote
the delay should be around 3 seconds only.

Perhaps but in my case it caused a blank page. Any idea why that would happen?

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Linux/1.3.37/4.1.22/5.0.5/9.1.2.1


DJ Maze wrote
the delay should be around 3 seconds only.


I had 20-30 seconds of delay

Very Happy

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
Debian/Apache2/MySQL 4.1.15-Debian/PHP4 4.4.2-1build1/9.1.1


default value is 15 seconds, drop it to 5?

However even using 15 seconds you should _not_ get a blank page (if you wait).

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


After DJ Maze and me have analyzed the issue we have found a good way to limit risks of blank pages and long waiting. The fix is divided in two parts.

  1. admin/modules/index.php: UDP instead of HTTP protocol since udp doesn't need any replies at all; if it gets a reply ok, otherwise will skip.
    It also use IP address instead of a domain name.
    Both changes will stabilize the script in case of a DNS, network or other possible failures.

  2. includes/functions/linking.php: lowered timeout from 15 to 4 seconds just to avoid long waiting time, site wide.
Enjoy :p

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS


NanoCaiordo thanks for looking into this along with DJ Maze. Smile I have applied both files from CVS.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
[CentOS release 4.6 (Final)] | [Apache 1.3.37] | [MySQL 4.1.21-standard-log (client: 4.1.21) | [PHP 4.4.7] | [DF 9.2.1] | [FPro 2.0.2]


Just be sure that you know what you are doing since many files has been drastically changed lately.

.:: I met php the 03 December 2003 :: Unforgettable day! ::.

Server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS):
CloudLinux / Apache 2.4 LSAPI / MySQLi 5.6 / PHP 5.6 / DCVS

All times are UTC