Raised This Month: $51 Target: $400
 12% 

Web PHP? error Hlstatsx:CE


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
karil
SourceMod Donor
Join Date: Jan 2010
Old 02-25-2014 , 17:03   Web PHP? error Hlstatsx:CE
Reply With Quote #1

Hey,

an error pops up on the hlstatsx:ce webpage. Version is the last one. I tried overwriting web files, rebooting, updating packages.

http://93.103.128.120/stats/hlstats.php

Quote:
Warning: require(INCLUDE_PATH/class_db.php) [function.require]: failed to open stream: No such file or directory in /home/user/stats/public_html/hlstats.php on line 123

Fatal error: require() [function.require]: Failed opening required 'INCLUDE_PATH/class_db.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/user/stats/public_html/hlstats.php on line 123
Thanks for your help in advance, karil.
karil is offline
isayldz
Member
Join Date: Nov 2012
Old 02-25-2014 , 20:34   Re: Web PHP? error Hlstatsx:CE
Reply With Quote #2

download new hlxce version and get hlstats.php new one..
isayldz is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 02-25-2014 , 20:36   Re: Web PHP? error Hlstatsx:CE
Reply With Quote #3

Quote:
Originally Posted by karil View Post
I tried overwriting web files
Of course with the latest version. Didn't help.
karil is offline
sixten_8_9@
Senior Member
Join Date: Jun 2009
Location: Sweden
Old 02-26-2014 , 02:56   Re: Web PHP? error Hlstatsx:CE
Reply With Quote #4

Quote:
Originally Posted by karil View Post
Hey,

an error pops up on the hlstatsx:ce webpage. Version is the last one. I tried overwriting web files, rebooting, updating packages.

http://93.103.128.120/stats/hlstats.php



Thanks for your help in advance, karil.
what php version u have?
and mysql?
__________________
My Nick name is Nouton^
i have played cs for around 12years+
have build servers for about 12years
my website and my servers are: http://Nouton.se

i host at home did build my own server station for around 1300$.
sixten_8_9@ is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 02-26-2014 , 07:08   Re: Web PHP? error Hlstatsx:CE
Reply With Quote #5

It worked fine for months with this last hlstatsxce version... I just had to fix a table error about twice a year, but that was it with my problems.

PHP 5.3.10-1ubuntu3.9 with Suhosin-Patch (cli) (built: Dec 12 2013 04:24:43)
mysql Ver 14.14 Distrib 5.5.35, for debian-linux-gnu (i686) using readline 6.2

Thanks!
karil is offline
isayldz
Member
Join Date: Nov 2012
Old 02-26-2014 , 07:58   Re: Web PHP? error Hlstatsx:CE
Reply With Quote #6

install def sql
isayldz is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 02-26-2014 , 08:02   Re: Web PHP? error Hlstatsx:CE
Reply With Quote #7

I'm sorry, can you help me with what you mean by that? Do you mean default SQL? How can I do that for Ubuntu 12.04.4 LTS (GNU/Linux 2.6.38-15-generic-pae i686)?
karil is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-26-2014 , 10:54   Re: Web PHP? error Hlstatsx:CE
Reply With Quote #8

Your SQL is fine, it is your files that are screwed up. in your config.php, does this line exist?
Code:
define("INCLUDE_PATH", "./includes");
In your hlstats.php, is this what is on line 123?
Code:
require(INCLUDE_PATH . '/class_db.php');
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
karil
SourceMod Donor
Join Date: Jan 2010
Old 02-26-2014 , 11:09   Re: Web PHP? error Hlstatsx:CE
Reply With Quote #9

YamiKaitou, thank you!

A few days ago I was installing a TS3 inactive channels delete bot in the NEXT folder to hlstats web folder so I unknowingly accidentally overwrote config.php of HlstatsX:CE.

When I was overwriting web files I have overwritten every file, except config.php, because I didn't want to fill out the username/pw/dbname again.

SOLVED.

Thank you all again.
karil is offline
sixten_8_9@
Senior Member
Join Date: Jun 2009
Location: Sweden
Old 02-26-2014 , 14:20   Re: Web PHP? error Hlstatsx:CE
Reply With Quote #10

Quote:
Originally Posted by YamiKaitou View Post
Your SQL is fine, it is your files that are screwed up. in your config.php, does this line exist?
Code:
define("INCLUDE_PATH", "./includes");
In your hlstats.php, is this what is on line 123?
Code:
require(INCLUDE_PATH . '/class_db.php');
wow here we learn something every day:*
__________________
My Nick name is Nouton^
i have played cs for around 12years+
have build servers for about 12years
my website and my servers are: http://Nouton.se

i host at home did build my own server station for around 1300$.
sixten_8_9@ is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode