PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
lauraleigh
New Member
New Member


Joined: Apr 18, 2003
Posts: 3

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

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: 16987
Location: Kansas

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

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 Visit poster's website AIM Address Yahoo Messenger
lauraleigh
New Member
New Member


Joined: Apr 18, 2003
Posts: 3

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

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!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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

error_reporting(E_ALL &~ E_NOTICE);
require("config.php");
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
lauraleigh
New Member
New Member


Joined: Apr 18, 2003
Posts: 3

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

That did it.

THANK YOU!!!
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 16987
Location: Kansas

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

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.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum