Web site error

08/15/2012 14:16 bugas123#1
.
08/15/2012 14:39 kurmiz#2
nevykelis elis :D

maybe not connected to DB?

edit:
Quote:
Note that constant name must always be quoted when defined.

e.g.
define('MY_CONST','blah') - correct
define(MY_CONST,'blah') - incorrect

The following error message also indicates this fact:
Notice: Use of undefined constant MY_CONST - assumed 'MY_CONST' in included_script.php on line 5

Note the error message gives you some incorrect information. 'MY_CONST' (with quotes) doesn't actually exist anywhere in your code. The error _is_ that you didn't quote the constant when you defined it in the 'assumed' file.
l2google

p.s. explorer sux!! (exception: korean login/launcher -.- )
08/15/2012 16:14 freeskier4lif3#3
Those are Notices, not Errors, the script works just fine with notices. You do not need to fix them, it is just telling you that the variable was not declared before use, however php will assume the correct variable. All you have to do it turn off displaying of notices in your php.ini file.

Find your php.ini (if in xampp: C:/xampp/php/php.ini)

Search for the line "error_reporting = "

set error reporting to:
Code:
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED