User:Navarr/Meta

From MHWiki
< User:Navarr
Revision as of 21:59, 9 March 2009 by Navarr (talk | contribs) (File System: Addition of Hostname)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

What does MouseHunt look like on the insides?

Facts

MouseHunt is a web application developed using a PHP and MySQL backend.

Some Facts

  • MouseHunt uses the languages:
    • PHP
    • SQL (MySQL variant)
    • JavaScript
    • HTML
    • CSS
    • FBML
  • MouseHunt has a structured file system (nicely done, devs)
  • MouseHunt uses Object Oriented Programming (OOP)
  • MouseHunt uses the Facebook PHP API

File System

Hostname: 98.129.188.217, mousehunt.hitgrab.com, mhwiki.hitgrab.com

  • /var
    • /www
      • /html
        • /public (HTML Root)
          • /giveaways (Giveaway Pages)
            • /birthdaygiveaway.php (Birthday Event Giveaway Page)
            • /valentinesgiveaway.php (Valentine's Day Event Giveaway Page)
            • /newyearsgiveaway.php (New Years Event Giveaway Page)
          • /images (Main Images root)
            • /banners
              • /birthday_banner.gif
            • /dynamic
              • /map
          • /mousehunt (Facebook Root)
            • /chat
              • /index.php
            • /images (Images Root)
              • /dynamic
                • /components
              • /icons
                • /cheese
                • /titles
              • /interface
                • /horn.gif
                • /headings
                • /ticker
              • /journal (Journal Images Root)
              • /store
            • /platform
              • /classes'
                • /utils
                  • /DataBridge.php (Connections to SQL)
              • /includes
                • /ads
                  • /adsense.php
              • /js
                • /default.js
                • /travel.js
            • /zoom
              • /index.php
          • /wiki (MH Wiki Root)
            • /index.php

Common Variables

  • snuid - The Unique ID for each MouseHunter
  • mid - The Unique ID for each Mouse

Errors

Warning: mysql_connect() [function.mysql-connect]: Too many connections in /var/www/html/public/mousehunt/platform/classes/utils/DataBridge.php on line 42

Fatal error: Uncaught exception 'InvalidDataBridgeException' with message 'Unable to add 'mhdb' connection on 192.168.100.222:3306' in /var/www/html/public/mousehunt/platform/classes/utils/DataBridge.php:26 Stack trace: #0 /var/www/html/public/mousehunt/platform/classes/utils/DataBridge.php(114): DataBridge->ensureConnected() #1 /var/www/html/public/giveaways/birthdaygiveaway.php(37): DataBridge->query('???select????/*...') #2 {main} thrown in /var/www/html/public/mousehunt/platform/classes/utils/DataBridge.php on line 26
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "MediaWikiBagOStuff::_doquery". MySQL returned error "1213: Deadlock found when trying to get lock; try restarting transaction (192.168.100.222)".

IDs

Cheese

  • 22 - Runic
  • 21 - Ancient
  • 18 - White Cheddar
  • 17 - Rumble
  • 16 - Combat
  • 12 - Radioactive Blue
  • 11 - Super|brie+
  • 10 - Brie
  • 06 - Swiss
  • 02 - Marble
  • 01 - Cheddar