Page 1 of 1

problem with many "notices" over my page

PostPosted: 20. March 2012 16:43
by arpeggioC
Hello guys,

I've just loaded my site onto this small laptop with Xampp version: 1.7.7 on windows 7 Ultimate machine and i get all these Notices.
For example :
Notice: Undefined index:,
Notice:A session had already been started - ignoring session_start() in, etc

I know they are good for me and so i've fixed the majority of them up but i've really gotta finish this tonight so is there a way to turn these "Notices OFF" for the time being?

XAMPP Tech specs as follows(if req'd):
Windows version: 6.1 (build 7600)
Xampp version: 1.7.7
Control center version: 3.0.2 [ Compiled: Jul 21th 2011 - build #1 ]
OS: Windows 7 Ultimate.

Help with this would be much appreciated.

with many regards,

arpeggioC

Re: problem with many "notices" over my page

PostPosted: 20. March 2012 18:36
by WilliL
Hello arpeggioC

http://community.apachefriends.org/f/viewtopic.php?f=16&t=50182
a little forumsearch would be appreciated too ;)

Re: problem with many "notices" over my page

PostPosted: 21. March 2012 11:13
by arpeggioC
Hi WilliL,

Thank u for your reply.
i had seen this when, or something similar before you told me and so i had fixed up most of the problems before i wrote to you.

However i need to do this quickly rather than go thru and validate all my variables ( i have too many files to do right now).

so is there no way to tell PHP to not to raise these notices? For example in php.ini, etc?

thank u and best regards,

arpeggioC

Re: problem with many "notices" over my page

PostPosted: 21. March 2012 12:09
by WilliL
yes, it's possible.
Have a look to php.ini and search for "error_reporting".
There are some excemples too (commented by ';' )

Re: problem with many "notices" over my page

PostPosted: 21. March 2012 19:42
by Altrea
arpeggioC wrote:However i need to do this quickly rather than go thru and validate all my variables ( i have too many files to do right now).

If you don't do it yet, you will never do. That's for sure.