Jump to content

php.ini (wamp) configuration

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
efim

efim

    Newbie

  • Members
  • PipPip
  • 11 posts
php error reporting
Hello everyone,
I ve been trying to configure my php(wamp) error reporting to no avail. Its frustrating when it displays unexpected errors (or maybe i am confused). To be more explicit, i have an index form linked to a registration form if i directly open the register.php it shows me this errors

Register

Notice: Undefined index: submit in C:\wamp\www\Mysites\mainfolder\register.php on line 4

Notice: Undefined index: fullname in C:\wamp\www\Mysites\mainfolder\register.php on line 6

Notice: Undefined index: username in C:\wamp\www\Mysites\mainfolder\register.php on line 7

Notice: Undefined index: email in C:\wamp\www\Mysites\mainfolder\register.php on line 8

Notice: Undefined index: password in C:\wamp\www\Mysites\mainfolder\register.php on line 9

Notice: Undefined index: repeatpassword in C:\wamp\www\Mysites\mainfolder\register.php on line 10

Your full name:
Choose a username:
Email:
Choose a password:
Repeat Your password:
Register

What i expect is

" Your full name:
Choose a username:
Email:
Choose a password:
Repeat Your password:
"

and not all the details above

i changed the settings at php.ini file as follows,

display_errors
; Default Value: Off
; Development Value: Off
; Production Value: Off

; display_startup_errors
; Default Value: Off
; Development Value: On
; Production Value: Off

; error_reporting
; Default Value: E_ALL & ~E_NOTICE
; Development Value: E_ALL | E_STRICT
; Production Value: E_ALL & ~E_DEPRECATED



can some one help plz

thx

#2
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
I believe you should show us your code to get help to get your warnings away that way instead of suppress them.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall