Problem with new server

Discussion in 'PHP' started by erics1230, Jul 26, 2009.

  1. #1
    I am not sure if it is just a php setting or what. Versions look the same from the old to the new server. Everything is working fine on old server.

    I do know how to turn off the reporting, this issue is causing software issues.


    anyone have any idea?



    [Sat Jul 25 15:29:13 2009] [error] [client 66.90.28.33] PHP Notice: Undefined index: 1on1sex in /var/www/html/signup.php on line 880, referer: http://www.xxxxxxxx.com/signup.php
    [Sat Jul 25 15:29:13 2009] [error] [client 66.90.28.33] PHP Notice: Undefined index: crossdressing in /var/www/html/signup.php on line 886, referer: http://www.xxxxxxxx.com/signup.php
    [Sat Jul 25 15:29:13 2009] [error] [client 66.90.28.33] PHP Notice: Undefined index: discreetrelationship in /var/www/html/signup.php on line 889, referer: http://www.xxxxxxxx.com/signup.php
    [Sat Jul 25 15:29:13 2009] [error] [client 66.90.28.33] PHP Notice: Undefined index: eroticchat in /var/www/html/signup.php on line 892, referer: http://www.xxxxxxxx.com/signup.php
    [Sat Jul 25 15:29:13 2009] [error] [client 66.90.28.33] PHP Notice: Undefined index: env in /var/www/html/signup.php on line 895, referer: http://www.xxxxxxxx.com/signup.php
    [Sat Jul 25 15:29:13 2009] [error] [client 66.90.28.33] PHP Notice: Undefined index: 3sex in /var/www/html/signup.php on line 898, referer: http://www.xxxxxxxx.com/signup.php
    [Sat Jul 25 15:29:13 2009] [error] [client 66.90.28.33] PHP Notice: Undefined index: fetishes in /var/www/html/signup.php on line 901, referer: http://www.xxxxxxxx.com/signup.php
    [Sat Jul 25 15:29:13 2009] [error] [client 66.90.28.33] PHP Notice: Undefined index: sadism in /var/www/html/signup.php on line 904, referer: http://www.xxxxxxxx.com/signup.php
    [Sat Jul 25 15:29:13 2009] [error] [client 66.90.28.33] PHP Notice: Undefined index: activities in /var/www/html/signup.php on line 907, referer: http://www.xxxxxxxx.com/signup.php
     
    erics1230, Jul 26, 2009 IP
  2. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'm betting it's something like [activities] in an array without the quotes, perhaps when it tries to create a category drop down.

    If we could actually see the portion of code at those lines, it would help more.
     
    kblessinggr, Jul 26, 2009 IP
  3. dimitar christoff

    dimitar christoff Active Member

    Messages:
    882
    Likes Received:
    62
    Best Answers:
    0
    Trophy Points:
    90
    #3
    change the error reporting to remove e_notice which is just too much, eg:

    error_reporting(E_ALL ^ E_NOTICE);

    the notice about unused indexes is a precaution rather than a warning or error.

    for example:
    if ($user['foo'] == "male") may trigger this if there's no foo key/index defined. just ignore it.
     
    dimitar christoff, Jul 26, 2009 IP