TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

May 05, 2024, 12:40:14 PM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,178
  • Total Topics: 21,220
  • Online today: 188
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online

SMF Arcade

Started by YahMan, September 12, 2005, 07:49:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ray

#10
I just now looked and have tons:

http://www.rranderson.com/dvd/index.php?topic=179.0ÂÃ, 
8: Undefined variable: game
File: D:\RRAnderson\DVD\Sources\Display.php
Line: 696

8: Undefined variable: i
File: D:\RRAnderson\DVD\Sources\Display.php
Line: 693

8: Undefined index: member
File: D:\RRAnderson\DVD\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)
Line: 220

at this time 39 pages of these errors

here is the code that is in the display.php with those lines in it

{
   $ext = array('gif','GIF','png','PNG','jpg','JPG',); // Extensions to look for

   $context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

   foreach($ext as $ex){
      if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
         $context['arcade']['games'][$i]['thumbnail'] = $modSettings['arcade_games_url']."/".$game['game'].".".$ex;
         break;
      }

working on fixing these now

from reading smf -- unknown said to try to just rem that part out- I did and their is no more errors on that part

//$context['arcade']['games'][$i]['thumbnail'] = ""; // No thumbnail for default

//   foreach($ext as $ex){
//      if(file_exists($modSettings['arcade_games_dir']."/".$game['game'].".".$ex)){
//         $context['arcade']['games'][$i]['thumbnail'] = $modSettings
//['arcade_games_url']."/".$game['game'].".".$ex;
//         break;
//      }

//                      }

Ray

#11
Got most errors fixed now

getting this error now

8: Undefined index: member
File: D:\RRAnderson\DVD\Themes\default\TPortalBlocks.template.php (game_list sub template - eval?)
Line: 220

line 220 is

ÂÃ,  text-decoration: none;ÂÃ,  ÂÃ, 

Im lost on this one --have no idea how to fix it