- Joined
- Jun 2, 2010
- Messages
- 73
- Reaction score
- 6
great this is cool
Okay, i'm done with people asking me random stuff that or people have awnsered before or is pretty obvious.
You are ought to turn on your brain when you read "can't connect to the sql server" -> you open up some of the webfiles and look for "Can't connect to the MySql server D=" and you will find out where the error message came from. Which is where you fix it.
The onyl sql file that is missing is the voting one, make it yourself.. it's ridiculously easy.
For the sql_injectionproof error, check your "include()"'s to see if you've forgotton any, or not activated the others.
P.S. I didn't expect this cms to become this succesfull. Thanks for using it.
Agreed.
Agreed.
deagan , you gave us only the sqlinfo.php but doesn't have /config/rankconf.php how we suppose to setup?
deagan , the rankings requires rankconf.php but I look everywhere but I can't find it.
Fatal error: Cannot redeclare sql_injectionproof() (previously declared in C:\wamp\www\sqlinfo.php:6) in C:\wamp\www\sqlinfo.php on line 13
I have this error :
Code:Fatal error: Cannot redeclare sql_injectionproof() (previously declared in C:\wamp\www\sqlinfo.php:6) in C:\wamp\www\sqlinfo.php on line 13
OMG DEAGAN just remove the dam injection function to shut these people up

Remove the injection function? are you kidding me?![]()
<?php
if (basename($_SERVER['PHP_SELF']) == 'sqlinfo.php')
die('');
if (!defined('SQL_INFO')) {
define('SQL_INFO', true);
function sql_injectionproof($string) {
if (function_exists('mysql_real_escape_string'))
return mysql_real_escape_string($string);
else
return addslashes($string);
}
define('SQL_HOST', '127.0.0.1');
define('SQL_USERNAME', 'root');
define('SQL_PASSWORD', '');
define('SQL_DATABASENAME', 'hellyms');
@mysql_connect(SQL_HOST, SQL_USERNAME, SQL_PASSWORD) or die('Unable to connect to MySQL Server');
@mysql_selectdb(SQL_DATABASENAME) or die('Unable to find database or something');
}
?>
Remove the injection function? are you kidding me?![]()