PDA

View Full Version : Arcade Mainpage slow loading


Bolle
08-28-2007, 04:08 PM
I have a Problem.
If I enter the Mainpage (arcade.php), I must wait up to one minute, before the Page is loaded. That happens however only on the Mainpage. All other Subpages (Tournaments, Modules, ect.) go immediately.

I deactivated as much options as possible and deleted all points, but the problem exists further.

Version is up to date.
140 Games are installed.

Please can someone help me?

The Fat Boy
08-29-2007, 03:20 AM
im having similar issues, though not so slow

a1whs.com
08-29-2007, 04:08 AM
Yup mee too just installed the addon, and seems like main arcade page is kinda slow.

Bolle
08-29-2007, 02:45 PM
More Informations about the System.

PHP 4.3.11 with Zend
MySQL 4.0.18
Webserver Apache/2.0.49
vBulletin 3.6.0
ibProArcade v2.6.3a+

Bolle
09-01-2007, 10:52 AM
If i set:
$AVATARRESIZE = 0;
the Page loads fast.

If I delete this code simultaneously in all sections, then the Page loads normally.
$DB->query("SELECT avatar,avatar_size AS size FROM ibf_members WHERE id=".$Highscorechamp['ArcadeChampionMid'.$Cpt]);
if ($avatar = $DB->fetch_row())
{
$Highscorechamp['ArcadeChampionAvatarCode'.$Cpt] = $std->get_avatar($avatar , 1 , $avatar['size']);
if ($Highscorechamp['ArcadeChampionAvatarCode'.$Cpt] == "")
{
$Highscorechamp['ArcadeChampionAvatarCode'.$Cpt] = "<img src='./arcade/images/noavatar.gif' alt='' />";
}
}
else
{
$Highscorechamp['ArcadeChampionAvatarCode'.$Cpt] = "<img src='./arcade/images/noavatar.gif' alt='' />";
}


However thereby this code was noticeable to me.
SELECT avatar,avatar_size AS size FROM ibf_members
?

ForosAbiertos
09-16-2007, 06:30 AM
I have a Problem.
If I enter the Mainpage (arcade.php), I must wait up to one minute, before the Page is loaded. That happens however only on the Mainpage. All other Subpages (Tournaments, Modules, ect.) go immediately.

I deactivated as much options as possible and deleted all points, but the problem exists further.

Version is up to date.
140 Games are installed.

Please can someone help me?

I have the same problem

MrZeropage
09-16-2007, 10:42 AM
tried to set $AVATARRESIZE to zero ? (open /arcade.php for this setting)

@Bolle:
ibf_members is ok and gets parsed by the DB-driver later ;)

ForosAbiertos
09-16-2007, 03:16 PM
tried to set $AVATARRESIZE to zero ? (open /arcade.php for this setting)

@Bolle:
ibf_members is ok and gets parsed by the DB-driver later ;)

ok solved
Thanks