Closed Thread
Results 1 to 2 of 2

Thread: php.ini (wamp) configuration

  1. #1
    efim is offline Newbie
    Join Date
    Jan 2010
    Posts
    11
    Rep Power
    0

    php.ini (wamp) configuration

    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. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Sep 2007
    Location
    Karlstad, Sweden
    Posts
    3,082
    Blog Entries
    7
    Rep Power
    42

    Re: php.ini (wamp) configuration

    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

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with wamp 2.1
    By thatsme in forum PHP Development
    Replies: 2
    Last Post: 05-21-2011, 01:15 PM
  2. How Do You Go About Setting Up WAMP?
    By throese in forum Software Development Tools
    Replies: 6
    Last Post: 08-04-2010, 11:00 AM
  3. WAMP file_get_contents($url) problem
    By hhheng in forum PHP Development
    Replies: 3
    Last Post: 03-17-2010, 04:03 PM
  4. probs with WAMP re-installation
    By efim in forum PHP Development
    Replies: 4
    Last Post: 02-08-2010, 04:22 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts