| Author |
Message |
lauraleigh New Member


Joined: Apr 18, 2003 Posts: 3
|
Posted:
Fri Apr 18, 2003 7:19 pm |
|
HELP. What am I doing wrong. I am getting:
Warning: Undefined variable: msgid in d:\html\users\mysite\html\kisgb\config.php on line 96
Warning: Undefined variable: ip in d:\html\users\mysite\html\kisgb\config.php on line 96
Warning: Undefined variable: date in d:\html\users\mysite\html\kisgb\config.php on line 96
Warning: Undefined variable: time in d:\html\users\mysite\html\kisgb\config.php on line 96
Warning: Undefined variable: name in d:\html\users\mysite\html\kisgb\config.php on line 101
Warning: Use of undefined constant PHP_SELF - assumed 'PHP_SELF' in d:\html\users\mysite\html\kisgb\index.php on line 40
Warning: Use of undefined constant searchstring - assumed 'searchstring' in d:\html\users\mysite\html\kisgb\index.php on line 41
Warning: Undefined index: searchstring in d:\html\users\mysite\html\kisgb\index.php on line 41
Warning: Undefined index: action in d:\html\users\mysite\html\kisgb\index.php on line 106
Warning: Undefined index: tmp_theme in d:\html\users\mysite\html\kisgb\index.php on line 107
Warning: Undefined index: tmp_lang in d:\html\users\mysite\html\kisgb\index.php on line 108
I renamed mysite in the above example.
Thank you for helping!
Greg  |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Fri Apr 18, 2003 7:47 pm |
|
Is this your own server that you have access to the php.ini file? If so, you need to find the setting error_level. Then set error_level = E_ALL &~ E_NOTICE. Does that clear it up? If you cannot change the php.ini file, then write back. |
|
|
|
 |
lauraleigh New Member


Joined: Apr 18, 2003 Posts: 3
|
Posted:
Fri Apr 18, 2003 8:10 pm |
|
First off thank your for taking time to help with the product. PayPal is a great option!
No I do not have my own server. I am using "http://www.1planhost.com/"
I have PM you with my web address and you can see exactly what is happening
Again thank you for your help! |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Fri Apr 18, 2003 8:24 pm |
|
Try this. In kisgb/index.php insert this line of code above the require("config.php"); code. So, your first to lines of code, after the comment section, will be:
| Quote: |
require("config.php");
error_reporting(E_ALL &~ E_NOTICE);
|
Then try it again. |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Fri Apr 18, 2003 8:31 pm |
|
OOPS! It should be reversed. Sorry!
| Code: |
error_reporting(E_ALL &~ E_NOTICE);
require("config.php");
|
|
|
|
|
 |
lauraleigh New Member


Joined: Apr 18, 2003 Posts: 3
|
Posted:
Fri Apr 18, 2003 8:33 pm |
|
That did it.
THANK YOU!!! |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Fri Apr 18, 2003 8:38 pm |
|
Now, you will come across these errors again in other portions of KISGB because your host provider has turned ALL errors, warnings, and notices on . You can try contacting them and asking them to set the error_level to E_ALL &~ E_NOTICE. If they will, then you will not have to do anything. However, until then, or if they won't, you will need to make sure that | Code: | | error_reporting(E_ALL &~ E_NOTICE); | is always the first line of code in every php script. |
|
|
|
 |
|
|
|
|