Author Topic: hi i have problem in flash  (Read 10911 times)

0 Members and 1 Guest are viewing this topic.

Offline nameless

  • Full Member
  • ***
  • Posts: 147
    • View Profile
hi i have problem in flash
« on: October 08, 2009, 09:11:14 PM »
i have a site for flash games

i upload some games and it work ok

but the next day i try the games
evry thing is ok but there is one game it was working but i try it it gave my a white page

and i do't know why

i hope any one can help

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: hi i have problem in flash
« Reply #1 on: October 09, 2009, 02:22:41 AM »
In global.php find line with error_reporting
add below that line:
error_reporting(E_ALL);
@
ini_set("display_errors"1);


See if any errors shows
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline nameless

  • Full Member
  • ***
  • Posts: 147
    • View Profile
Re: hi i have problem in flash
« Reply #2 on: October 09, 2009, 07:34:06 PM »
thanks V@no

i made what u say
but u want me to See if any errors shows

where i see it

please see this also
http://www.4homepages.de/forum/index.php?topic=17598.msg141815#msg141815

Offline V@nо

  • Addicted member
  • ******
  • Posts: 1.223
    • View Profile
Re: hi i have problem in flash
« Reply #3 on: October 09, 2009, 08:12:13 PM »
open the game you have problem with
Your first three "must do" before you ask a question:
If I asked you to PM me, I meant PM to my primary account, this account doesn't accept PMs.

Offline nameless

  • Full Member
  • ***
  • Posts: 147
    • View Profile
Re: hi i have problem in flash
« Reply #4 on: October 09, 2009, 08:24:31 PM »
i open it but the is nothing just a white page

http://www.arabmobile.mobi/flashgames/img-dropship-commander-219.htm

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: hi i have problem in flash
« Reply #5 on: October 11, 2009, 07:28:03 AM »
Then you'll need look up into server's error logs...
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline nameless

  • Full Member
  • ***
  • Posts: 147
    • View Profile
Re: hi i have problem in flash
« Reply #6 on: October 11, 2009, 12:07:47 PM »
i have this error

Notice: Undefined variable: setperpage_dropdown in /home/arabmobi/public_html/flashgames/includes/page_header.php on line 425

in this page
http://www.arabmobile.mobi/flashgames/cat-%C7%E1%DA%C7%C8-%CD%D1%C8%ED%E5-6.htm

and this line is
  $setperpage_dropdown .= "<input type=\"hidden\" name=\"cat_id\" value=\"".$cat_id."\" />\n";


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: hi i have problem in flash
« Reply #7 on: October 11, 2009, 07:58:31 PM »
i have this error

Notice: Undefined variable: setperpage_dropdown in /home/arabmobi/public_html/flashgames/includes/page_header.php on line 425

in this page
http://www.arabmobile.mobi/flashgames/cat-%C7%E1%DA%C7%C8-%CD%D1%C8%ED%E5-6.htm

and this line is
  $setperpage_dropdown .= "<input type=\"hidden\" name=\"cat_id\" value=\"".$cat_id."\" />\n";



That has nothing to do with the problem you are experiencing, yet, showing one line where the error showed is useless, without 10-20 lines above and below that line.


Back on topic. That flash game you showed is not the only game you have problem with, it seems like every game that is 1.6mb and bigger produces white page. The only reason I could think of, is that your server running out of memory...But you still should get error logs confirm this.
Either way, you'll need contact your host's administrator.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline nameless

  • Full Member
  • ***
  • Posts: 147
    • View Profile
Re: hi i have problem in flash
« Reply #8 on: October 18, 2009, 03:27:38 PM »
thanks V@no
the problem was from the server

Notice: Undefined variable: setperpage_dropdown in /home/arabmobi/public_html/flashgames/includes/page_header.php on line 425

in this page
http://www.arabmobile.mobi/flashgames/cat-%C7%E1%DA%C7%C8-%CD%D1%C8%ED%E5-6.htm

and this line is
  $setperpage_dropdown .= "<input type=\"hidden\" name=\"cat_id\" value=\"".$cat_id."\" />\n";

and this is part of the file page_header.php

  $imgsort_dropdown="\n<select name=\"imagesorder\" class=\"setperpageselect\">\n";
  foreach ($image_order_optionlist as $key => $val) {
    $imgsort_dropdown .= "<option value=\"$key\"";
    if ($config['image_order'] == $key) {
      $imgsort_dropdown .= " selected=\"selected\"";
    }
    $imgsort_dropdown .= ">".$val."</option>\n";
  }
  $imgsort_dropdown .= "</select>\n";
  foreach ($image_sort_optionlist as $key => $val) {
  $imgsort_dropdown .= "<INPUT type=\"radio\" name=\"imagessort\" value=\"$key\"";
  if ($config['image_sort'] == $key) {
      $imgsort_dropdown .= " checked";
  }
  $imgsort_dropdown .= ">".$val."\n";
  }
if ($cat_id != 0) {
  $setperpage_dropdown .= "<input type=\"hidden\" name=\"cat_id\" value=\"".$cat_id."\" />\n";
}
if (isset($show_result) && $show_result == 1) {
  $imgsort_dropdown .= "<input type=\"hidden\" name=\"show_result\" value=\"1\" />\n";
}
$site_template->register_vars("imgsort_dropdown", $imgsort_dropdown);
$imgsort_dropdown_form = $site_template->parse_template("imgsort_dropdown_form");
$site_template->register_vars("imgsort_dropdown_form", $imgsort_dropdown_form);

$site_template->un_register_vars("imgsort_dropdown");
unset($imgsort_dropdown);
unset($imgsort_dropdown_form);
//-----End Images Sort Dropdown------------------------

?>

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: hi i have problem in flash
« Reply #9 on: October 18, 2009, 09:50:33 PM »
Oh wow, this is a bug in my code [Mod] Let visitors to chose how to sort images(date,name,..) (I've fixed the instructions in step 1.3)

in the code you've showed replace
  $setperpage_dropdown .= "<input type=\"hidden\" name=\"cat_id\" value=\"".$cat_id."\" />\n";


with:
  $imgsort_dropdown .= "<input type=\"hidden\" name=\"cat_id\" value=\"".$cat_id."\" />\n";
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)