Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Rel/dev] Holo CMS: Bug report system Beta [Rel/dev]

Status
Not open for further replies.
Retired
Member
Joined
May 5, 2007
Messages
497
Reaction score
665
Hello!
This is my first release :D
This PHP code, gets the data from the client when something has gone wrong, and you get redirrected to the fatal error site. (clientutils.php?key=error) The script saves two error logs. One with only time, script error type and username(logg.txt). The project is still flat file, but i am going to upgrade it to SQL werry soon ^^

####################################BUGGREPORTER V1.0####################################

Example of clientutils.php after installing the bug reporter(non-english]:
Code:
<?php
/*===================================================+
|| # HoloCMS - Website and Content Management System
|+===================================================+
|| # Copyright
 
Last edited:
Initiate Mage
Joined
May 31, 2007
Messages
76
Reaction score
0
Great idea.

10/10. This will be very useful =)

Thank you!
 
Retired
Member
Joined
May 5, 2007
Messages
497
Reaction score
665
I am searching for more data to get from the client, and upgrade it to SQL ^^
 
Retired
Member
Joined
May 5, 2007
Messages
497
Reaction score
665
Btw, could someone help me with this PHP code? It does not work >.<

Code:
mysql_query("INSERT INTO client_reported_bugs (Time,User,Host,Errortype,Version,Build,OS,ClientDCR,MUS_errorcode,Client_process_list,Client_errors,Neterr_cast,Neterr_res,Client_uptime) VALUES ('".$frametime."','".$name."','".$host."','".$et."','".$vs."','".$bu."','".$os."','".$cv."','".$me."','".$cpl."','".$ce."','".$nc."','".$Client_uptime."')") or die(mysql_error());

SQL database:
Code:
-- phpMyAdmin SQL Dump
-- version 2.11.7
-- http://www.phpmyadmin.net
--
-- Vert: localhost
-- Generert den: 24. Jul, 2008 klokka 13:23 PM
-- Tjenerversjon: 5.0.51
-- PHP-Versjon: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;

--
-- Database: `mainframe`
--

-- --------------------------------------------------------

--
-- Tabellstruktur for tabell `client_reported_bugs`
--

CREATE TABLE IF NOT EXISTS `client_reported_bugs` (
  `Time` date NOT NULL,
  `User` text NOT NULL,
  `Host` text NOT NULL,
  `Errortype` text NOT NULL,
  `Version` text NOT NULL,
  `Build` text NOT NULL,
  `OS` text NOT NULL,
  `ClientDCR` text NOT NULL,
  `MUS_errorcode` text NOT NULL,
  `Client_process_list` text NOT NULL,
  `Client_errors` text NOT NULL,
  `Neterr_cast` text NOT NULL,
  `Neterr_res` text NOT NULL,
  `Client_uptime` text NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

--
-- Dataark for tabell `client_reported_bugs`
--
 
Skilled Illusionist
Joined
Jun 20, 2008
Messages
308
Reaction score
1
Yeha post some screeniew of it

It looks amazing though 10/10
 
retired
Joined
Jun 17, 2008
Messages
561
Reaction score
39
Dude, I have made an add-on based on this, it is sent the error to the database, then in housekeeping there is a list of errors that you can view & delete, etc.

~ Andrew
 
Initiate Mage
Joined
Sep 12, 2007
Messages
21
Reaction score
0
Invalid File. This error has been forwarded to MediaFire's development team.

i can't download
 
Status
Not open for further replies.
Back
Top