[Web] HellyMS CMS - OtterDev

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.
 
Last edited:
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.
 
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
 
Haven't used define liek this because I haven't needed to. Should work, anyone with a problem replace their sqlinfo with this.

@above so did you know what the problem was, or did you just want to point something random out?

PHP:
<?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');
	}

?>
 
Last edited:
Remove the injection function? are you kidding me? :lol:

im not kidding. because these noobs cant figure out how to change one thing that can be the difference of security and no security, i think they should suffer because its not a trivial fix.

edit:
at first i did get a kick but now 4 pages into the thread and its STILL a prob, something must be wrong.
 
Last edited:
Back