[ispCP] Login patch for admin Login

92 views
Skip to first unread message

Benedikt Heintel

unread,
Oct 3, 2007, 4:19:47 AM10/3/07
to ispcp...@googlegroups.com, ispcp-a...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear list members,

due to the malfunction of the ispCP homepage¹ at http://isp-control.net
(et.al.) there is a problem with the login to the ispCP admin panels.
If you try to log in with your admin account, you will receive an error
500 (Internal Server Error) message from FastCGI, because a function is
breaking the time limit of fastCGI.

Here is a small fix for your ispCP installation:

Modify ./ispcp/gui/admin/index.php (about line 76) and replace

// Fake the browser type
ini_set('user_agent', 'Mozilla/5.0');

$dh2 = @fopen($last_update, 'r');

if (!is_resource($dh2)) {

with

// Fake the browser type
ini_set('user_agent', 'Mozilla/5.0');

$timeout = 2;
$old_timeout = ini_set('default_socket_timeout', $timeout);
$dh2 = @fopen($last_update, 'r');
ini_set('default_socket_timeout', $old_timeout);

if (!is_resource($dh2)) {

A patch file for (at least r811) is attached, we don't know if it's
working with former installation.

The same error occurs if you click on ispCP Update in Settings menu (as
admin). You can apply the same patch to this site. We will fix this in
our next trunk.

Best Regards
Benedikt Heintel aka RatS

¹At the moment there is no information what's wrong with the ispCP
system, I sty in contact to Malte.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRwNQodbgF4ATVpsrAQL5jggAs5vr2hCo/B7RCSoaE0qc29cO5Tp9Mr4s
xBWwXFYFjfJjKzZwidU+o2PsImZwzhiOp5AlQ92M4bzX2ybw9vplgpRQWSCZxG1m
Spg+B0aSPp19hnY3k1voCEELuUnoFQmw1t7dLO7EQShhIOPePRSDBixRR4LgR+Ly
uE0ebYRuSJ0IkaJ+Po+o1AY1b6eX+rITqRSk1L8Jbe+PVpFEnuJPeztzcFlhaU29
EVOlmn6XiqqfsaOtRRFXbVfpWAMjJlwT63dNxnzY//AcHqSszHwbPFpjVxxLvzaD
v/BuM/XNaWxviu5zRRi49s+V6r0MBjIgNQ9rNTMusP/fuGgEG9/B2A==
=9+QR
-----END PGP SIGNATURE-----

login.patch
login.patch.sig
Reply all
Reply to author
Forward
0 new messages