Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support
Author Message
lauraleigh
New Member
New Member



Joined: Apr 18, 2003
Posts: 3

PostPosted: Fri Apr 18, 2003 7:19 pm Reply with quote

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! Embarassed Embarassed

Greg Embarassed
 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Apr 18, 2003 7:47 pm Reply with quote

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.
 
View user's profile Send private message
lauraleigh







PostPosted: Fri Apr 18, 2003 8:10 pm Reply with quote

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







PostPosted: Fri Apr 18, 2003 8:24 pm Reply with quote

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







PostPosted: Fri Apr 18, 2003 8:31 pm Reply with quote

OOPS! Embarassed It should be reversed. Sorry!
Code:


error_reporting(E_ALL &~ E_NOTICE);
require("config.php");
 
lauraleigh







PostPosted: Fri Apr 18, 2003 8:33 pm Reply with quote

That did it.

THANK YOU!!!
 
Raven







PostPosted: Fri Apr 18, 2003 8:38 pm Reply with quote

Cool 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 Rolling Eyes . 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.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> KISGB General Support

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©