View Single Post
Author Message
morcin123
Junior Member
Join Date: Jan 2013
Old 01-01-2013 , 08:25   Weird problem with installation
Reply With Quote #1

Hi,

I got weird problem with hlstatsx.

So I have uploaded all necessary files into my folder, exccelent.

But when i try to run my new hlstats in my browser i got this :

Quote:
Warning: require(INCLUDE_PATH/class_db.php) [function.require]: failed to open stream... blah blah blah
So i change in hlstats.php this:

Quote:
require('config.php');
to this:

Quote:
require((dirname(__FILE__)).'/config.php');
And i did this to rest of files too, i mean:

Quote:
ingame.php || show_graph.php || sig.php || status.php || trend_graph.php
So far so good ? not really, now i got this:

Quote:
Warning: require(./includes/class_db.php) ... blah blah blah


so next changes ( in config.php ):

Quote:
define("APP_PATH", dirname(__FILE__));
define("INCLUDE_PATH", APP_PATH."/includes");
define("PAGE_PATH", APP_PATH."/pages/");
define("IMAGE_PATH", "/hlstatsimg");
Now it should work right ? not so fast !

http://scr.hu/0du4/ys3sm


Admin settings - someone cut options and stylesheet choose

I don't know what I should change now
morcin123 is offline