User:Navarr/Meta

From MHWiki
< User:Navarr
Revision as of 09:40, 7 March 2009 by Navarr (talk | contribs) (New page: = 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 *...)
(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

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

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