vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   ERROR after upgrading (https://vborg.vbsupport.ru/showthread.php?t=153195)

Kaleem 07-24-2007 01:24 AM

ERROR after upgrading
 
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
Code:

$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....8&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:
Code:

        $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:
Code:

        $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 :)

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

Quote:

Originally Posted by MrZeropage (Post 1309191)
there is a more easy way to deactivate this, please read here :)

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 :)


All times are GMT. The time now is 10:53 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01110 seconds
  • Memory Usage 1,757KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete