PDA

View Full Version : ERROR after upgrading


Kaleem
07-24-2007, 01:24 AM
I m getting an error after upgrading to 2.6.2 error is only on the main page here

http://www.friendskorner.com/forum/arcade.html

never mind i saw the thread now hope to see the fix soon :s

MrZeropage
07-24-2007, 05:08 AM
should be fixed in next v2.6.3+

Kaleem
07-25-2007, 01:44 PM
for some people the arcade main page is not opening when is the 2.6.3 coming or is there anyway i can go back to the 2.6.1?

Kaleem
08-03-2007, 12:22 AM
This error is still there and its showing a blank page for alot of members ??

Upgraded to 2.6.3 and the error is still there

memorex
08-03-2007, 12:39 AM
I'm also getting the blank page and have no idea how to get passed it.

MrZeropage
08-03-2007, 08:23 AM
manually update the ARCADE template and overwrite its content with$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="-1" />
<meta http-equiv="Cache-Control" content="no-cache" />
<!-- end no cache headers -->
$headinclude
<title><phrase 1=$vboptions[bbtitle]>$vbphrase[x_powered_by_vbulletin]</phrase></title>
</head>
<body>
$header
$navbar
<if condition="$bbuserinfo[userid]!=0">$arcadeheader
<!-- small space -->
<span class="smallfont"><br>
</span></if>
$maincontent
</div>
$footer
</body>
</html>

memorex
08-03-2007, 08:39 AM
First, Thanks for such an awesome addition to the forums. I'm sure you don't hear that enough.

Also, I did the manual update, and it still does not work for me. I don't know if its something I'm doing wrong (probably) but would love some further help in this matter, I'm going crazy and my knowledge of code is minimal.

Tearstone
08-03-2007, 11:50 AM
That manual update still does not work for me either. We are all still having the blank page problem from this thread as well: https://vborg.vbsupport.ru/showthread.php?t=153752

Mr Z help!

aranthorn
08-03-2007, 12:34 PM
The blank page seems to be a timeout. I'm having the same issue and tried the template overwrite. No love.

Kaleem
08-03-2007, 01:30 PM
i did this and now i m fine

https://vborg.vbsupport.ru/showpost.php?p=1295208&postcount=12

it was because of the error of Funcation getimagesize() i just did this and i m doing fine now :)

aranthorn
08-03-2007, 02:46 PM
Yep, it's definitely the image sizer, but the code is different in the new version.

I just turned it off for the avatars:
find:

$member_avatar = $member_avatar['avatar'];

if(preg_match ( "/\.php/", $member_avatar) || preg_match ( "/avatar/", $member_avatar))
{
if (preg_match ( "/\.php/", $member_avatar))
{
$member_avatar = $forumpath."/".$member_avatar;
}

$sizedata="";
if ($imagesizer==1)
{
$check = getimagesize($member_avatar);
$avatarwidth = $check[0];
$avatarheight = $check[1];
if ($avatarwidth > $maxavatarwidth) { $avatarwidth = $maxavatarwidth; }
if ($avatarheight > $maxavatarheight) { $avatarheight = $maxavatarheight; }
$sizedata = "width='".$avatarwidth."' height='".$avatarheight."' ";
}

return "<img src='{$member_avatar}' border='0' alt='' ".$sizedata."/>";

and replace with:
$member_avatar = $member_avatar['avatar'];

if(preg_match ( "/\.php/", $member_avatar) || preg_match ( "/avatar/", $member_avatar))
{
if (preg_match ( "/\.php/", $member_avatar))
{
$member_avatar = $forumpath."/".$member_avatar;
}
/*
$sizedata="";
if ($imagesizer==1)
{
$check = getimagesize($member_avatar);
$avatarwidth = $check[0];
$avatarheight = $check[1];
if ($avatarwidth > $maxavatarwidth) { $avatarwidth = $maxavatarwidth; }
if ($avatarheight > $maxavatarheight) { $avatarheight = $maxavatarheight; }
$sizedata = "width='".$avatarwidth."' height='".$avatarheight."' ";
}

return "<img src='{$member_avatar}' border='0' alt='' ".$sizedata."/>";
}

if (($avatarid==0) && ($filename!=""))
{
$sizedata="";
if ($imagesizer==1)
{
$check = getimagesize($path);
$avatarwidth = $check[0];
$avatarheight = $check[1];
if ($avatarwidth > $maxavatarwidth) { $avatarwidth = $maxavatarwidth; }
if ($avatarheight > $maxavatarheight) { $avatarheight = $maxavatarheight; }
$sizedata = "width='".$avatarwidth."' height='".$avatarheight."' ";
}
*/
return "<img src='{$path}' border='0' alt=''/>";

This comments out the avatar resizing.

NO, I don't see this as a fix. Only the author can give a fix, IMHO.

Thanks to LightInClouds for pointing me in the right direction and ranj for the original fix which I just tweaked for this work around.

MrZeropage
08-03-2007, 08:11 PM
there is a more easy way to deactivate this, please read here (https://vborg.vbsupport.ru/showthread.php?t=154226) :)

memorex
08-03-2007, 09:35 PM
I'm not sure what my problem is, but none of the solutions mentioned have fixxed it

aranthorn
08-03-2007, 10:03 PM
there is a more easy way to deactivate this, please read here (https://vborg.vbsupport.ru/showthread.php?t=154226) :)

Oh, sure... just because you know what you're doing...

;)

memorex
08-04-2007, 01:26 AM
I went crazy, insane even. Deleted everything :( all games and such.. it works :) now for the fun part of readding everything :( but it works :)

Thanks again MrZeropage.

Tearstone
08-04-2007, 01:53 AM
That worked great :)