Difference between revisions of "User:Navarr/Meta"

From MHWiki
(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 *...)
 
Line 24: Line 24:
 
**** /public (HTML Root)
 
**** /public (HTML Root)
 
***** /giveaways (Giveaway Pages)
 
***** /giveaways (Giveaway Pages)
****** /birthdaygiveaway.php (Birthday Event Giveaway Page)
+
****** '''/birthdaygiveaway.php''' (Birthday Event Giveaway Page)
 
***** /images (Main Images root)
 
***** /images (Main Images root)
 
****** /banners
 
****** /banners
******* /birthday_banner.gif
+
******* '''/birthday_banner.gif'''
 +
****** /dynamic
 +
******* /map
 
***** /mousehunt (Facebook Root)
 
***** /mousehunt (Facebook Root)
 
****** /chat
 
****** /chat
******* /index.php
+
******* '''/index.php'''
 
****** /images (Images Root)
 
****** /images (Images Root)
 
******* /dynamic
 
******* /dynamic
Line 38: Line 40:
 
******** /titles
 
******** /titles
 
******* /interface
 
******* /interface
******** /horn.gif
+
******** '''/horn.gif'''
 +
******** /headings
 
******** /ticker
 
******** /ticker
 
******* /journal (Journal Images Root)
 
******* /journal (Journal Images Root)
 
****** /platform
 
****** /platform
******* /classes
+
******* /classes'
 
******** /utils
 
******** /utils
********* /DataBridge.php (Connections to SQL)
+
********* '''/DataBridge.php''' (Connections to SQL)
 
******* /includes
 
******* /includes
 
******** /ads
 
******** /ads
********* /adsense.php
+
********* '''/adsense.php'''
 
******* /js
 
******* /js
******** /default.js
+
******** '''/default.js'''
 +
******** '''/travel.js'''
 +
****** /zoom
 +
******* '''/index.php'''
 
***** /wiki (MH Wiki Root)
 
***** /wiki (MH Wiki Root)
 +
****** '''/index.php'''
  
 
== Common Variables ==
 
== Common Variables ==

Revision as of 09:46, 7 March 2009

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
            • /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)
            • /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