Undefined Index error
Posted: Sat Aug 13, 2005 11:00 pm
Hi,
I am relatively new to php and decided to learn by doing and so I made myself a sort of blog.
95% of the site works fine, but one problem that I am having is an undefined index error that is generated on one of my pages. Its quite annoying and messes up the whole layout of the page. The error is as follows:
Notice: Undefined index: KT_id_blindblog in /usr/local/psa/home/vhosts/blindchild.com/httpdocs/blog/byArticle.php on line 117
Now I think I know why the error is appearing, its because no one has actually logged into the page and so there is no value for the KT_id_blindblog session variable. Ive rattled my brains to try and work out how to fix the problem, but I am getting no where. Getting rid of the error one way will simply generate an error somewhere else.
The page can be viewed here: http://www.blindchild.com/blog/byArticle.php?id_art=4.
Any advice, suggestions or links would really help me out. I'm at a dead end here.
Thank you
Ross[/url]
I am relatively new to php and decided to learn by doing and so I made myself a sort of blog.
95% of the site works fine, but one problem that I am having is an undefined index error that is generated on one of my pages. Its quite annoying and messes up the whole layout of the page. The error is as follows:
Notice: Undefined index: KT_id_blindblog in /usr/local/psa/home/vhosts/blindchild.com/httpdocs/blog/byArticle.php on line 117
Now I think I know why the error is appearing, its because no one has actually logged into the page and so there is no value for the KT_id_blindblog session variable. Ive rattled my brains to try and work out how to fix the problem, but I am getting no where. Getting rid of the error one way will simply generate an error somewhere else.
The page can be viewed here: http://www.blindchild.com/blog/byArticle.php?id_art=4.
Any advice, suggestions or links would really help me out. I'm at a dead end here.
Thank you
Ross[/url]